Файли
openidea/plugins/official/string-tools/plugin.toml
T
l0ng-ai fd1f465aeb feat(plugins): extension points, capability consent, async runtime and plugin API 1.0
Rework the plugin system per docs/plugin_plan.md (P0–P8):

- Extension-point registry (ide-extension) so new contribution types register
  without touching the kernel; languages, run detectors, providers, views and
  UI contributions go through it.
- Per-plugin capability consent with a risk-graded ledger; process
  capabilities are pinned to resolved binary paths and hashes.
- Async, actor-per-plugin Wasm runtime with lazy activation, cancellation,
  events, long-running tasks and idle reclamation.
- Plugin host moved into ide-host, shared by local and remote projects.
- Distribution: install/package tooling (openidea-plugin bin) and a static
  market index.
- WIT frozen as openidea:[email protected]; Rust SDK with mock host.
- Ten official validation plugins under plugins/official.
2026-11-04 02:41:46 +08:00

172 рядки
4.2 KiB
TOML
Неформатований Анотація Історія

Цей файл містить неоднозначні символи Юнікоду
Цей файл містить символи Юнікоду, які можна сплутати з іншими символами. Якщо ви вважаєте, що це зроблено навмисно, можете сміливо ігнорувати це попередження. Щоб показати їх, скористайтеся кнопкою Escape.
id = "openidea.string-tools"
name = "String Tools"
version = "0.1.0"
description = "Case conversion (camelCase, snake_case, kebab-case…), encoding (Base64, URL, HTML, JSON), line sorting and more, on every selection at once."
authors = ["OpenIDEA contributors"]
license = "Apache-2.0"
change-notes = "0.1.0 — first release: 26 commands in four groups."
engines.openidea = "^1.0"
wasm = "dist/plugin.wasm"
# The commands are declared below, so Find Action and the keymap list them
# before the code is ever loaded; it loads on the first one run.
activation = ["on-command:*"]
[capabilities]
required = ["editor.read", "editor.write"]
[[contributes.commands]]
id = "camel-case"
title = "String Tools: To camelCase"
category = "String Tools › Case"
when = "editorFocus"
[[contributes.commands]]
id = "pascal-case"
title = "String Tools: To PascalCase"
category = "String Tools › Case"
when = "editorFocus"
[[contributes.commands]]
id = "snake-case"
title = "String Tools: To snake_case"
category = "String Tools › Case"
when = "editorFocus"
[[contributes.commands]]
id = "screaming-snake-case"
title = "String Tools: To SCREAMING_SNAKE_CASE"
category = "String Tools › Case"
when = "editorFocus"
[[contributes.commands]]
id = "kebab-case"
title = "String Tools: To kebab-case"
category = "String Tools › Case"
when = "editorFocus"
[[contributes.commands]]
id = "dot-case"
title = "String Tools: To dot.case"
category = "String Tools › Case"
when = "editorFocus"
[[contributes.commands]]
id = "title-case"
title = "String Tools: To Title Case"
category = "String Tools › Case"
when = "editorFocus"
[[contributes.commands]]
id = "upper-case"
title = "String Tools: To UPPER CASE"
category = "String Tools › Case"
when = "editorFocus"
[[contributes.commands]]
id = "lower-case"
title = "String Tools: To lower case"
category = "String Tools › Case"
when = "editorFocus"
[[contributes.commands]]
id = "toggle-case"
title = "String Tools: Toggle Case"
category = "String Tools › Case"
when = "editorFocus"
[[contributes.commands]]
id = "base64-encode"
title = "String Tools: Encode Base64"
category = "String Tools › Encode"
when = "editorFocus"
[[contributes.commands]]
id = "base64-decode"
title = "String Tools: Decode Base64"
category = "String Tools › Encode"
when = "editorFocus"
[[contributes.commands]]
id = "url-encode"
title = "String Tools: URL-Encode"
category = "String Tools › Encode"
when = "editorFocus"
[[contributes.commands]]
id = "url-decode"
title = "String Tools: URL-Decode"
category = "String Tools › Encode"
when = "editorFocus"
[[contributes.commands]]
id = "html-escape"
title = "String Tools: Escape HTML"
category = "String Tools › Encode"
when = "editorFocus"
[[contributes.commands]]
id = "html-unescape"
title = "String Tools: Unescape HTML"
category = "String Tools › Encode"
when = "editorFocus"
[[contributes.commands]]
id = "json-escape"
title = "String Tools: Escape as JSON String"
category = "String Tools › Encode"
when = "editorFocus"
[[contributes.commands]]
id = "sort-lines"
title = "String Tools: Sort Lines"
category = "String Tools › Lines"
when = "editorFocus"
[[contributes.commands]]
id = "sort-lines-desc"
title = "String Tools: Sort Lines Descending"
category = "String Tools › Lines"
when = "editorFocus"
[[contributes.commands]]
id = "reverse-lines"
title = "String Tools: Reverse Lines"
category = "String Tools › Lines"
when = "editorFocus"
[[contributes.commands]]
id = "unique-lines"
title = "String Tools: Remove Duplicate Lines"
category = "String Tools › Lines"
when = "editorFocus"
[[contributes.commands]]
id = "trim-lines"
title = "String Tools: Trim Lines"
category = "String Tools › Lines"
when = "editorFocus"
[[contributes.commands]]
id = "reverse"
title = "String Tools: Reverse Text"
category = "String Tools › Other"
when = "editorFocus"
[[contributes.commands]]
id = "swap-quotes"
title = "String Tools: Swap Quotes (' ↔ \")"
category = "String Tools › Other"
when = "editorFocus"
[[contributes.commands]]
id = "increment"
title = "String Tools: Increment Numbers"
category = "String Tools › Other"
when = "editorFocus"
[[contributes.commands]]
id = "decrement"
title = "String Tools: Decrement Numbers"
category = "String Tools › Other"
when = "editorFocus"