дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
Plugin API 1.4: grants for unencrypted HTTP, local sockets, IDE commands and owned database sources; window status items, output channels, content tabs, editor selections, decorations, search, Problems and VCS reads; runs, keyed terminals with exit events, plugin run targets, dynamic run configurations and test parsers; language features, injections, snippets and menu locations; plugin MCP tools on the built-in server; four official API examples. Released 1.3 plugins keep working.
32 рядки
815 B
TOML
32 рядки
815 B
TOML
id = "test.language-features"
|
|
name = "Language features fixture"
|
|
version = "0.1.0"
|
|
engines.openidea = "^1.4"
|
|
wasm = "dist/plugin.wasm"
|
|
|
|
[[contributes.providers]]
|
|
kinds = ["formatting", "signature-help", "document-highlights", "document-links", "code-lenses", "selection-ranges", "folding", "colors", "document-symbols", "implementation", "type-definition", "gutter-actions", "injections"]
|
|
languages = ["plaintext", "text", "sql"]
|
|
|
|
[[contributes.providers]]
|
|
kinds = ["completion", "hover", "diagnostics"]
|
|
languages = ["sql"]
|
|
|
|
[[contributes.commands]]
|
|
id = "run"
|
|
title = "Run fixture"
|
|
icon = "run"
|
|
|
|
[[contributes.commands]]
|
|
id = "state"
|
|
title = "Fixture state"
|
|
|
|
[[contributes.snippets]]
|
|
language = "sql"
|
|
path = "snippets.json"
|
|
|
|
[[contributes.menus]]
|
|
menu = "editor.title"
|
|
command = "run"
|
|
when = "editorLangId == sql"
|