mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
This is needed to enable automatic layout and to allow merging two JSON plugins to a single one. Also, this is needed to allow adding dependency on JSON from the unified YAML plugin. 'intellij.json' is registered as an embedded content module, so it uses the main plugin classloader, and now has a dependency on 'intellij.json.split' module. This ensures that classes from both modules are available to content modules from other plugins which declare dependency on JSON plugin as before. After this change, build scripts don't put intellij.toml.json to a separate JAR anymore, and an explicit adjustment is needed in the Wiremock plugin's layout to avoid creating an unnecessary separate JAR. GitOrigin-RevId: be77513b7f0c1e397b4f6dda7524aa6978fa2a90
TOML language support for IntelliJ IDEA based IDEs
The plugin provides nothing but syntax highlighting at the moment.
Installation
To install plugin open Settings > Plugins > Browse repositories, and search for TOML.
Contributing
See Contributing in the IntelliJ-Rust plugin.
Extending
It's possible to extend TOML support from other plugins:
- The PSI structure is expected remain backwards compatible.
TomlKeyandTomlValueareContributedReferenceHosts, so it's possible to inject references into them from third-party plugins, and provide completion and goto definition.
See https://github.com/intellij-rust/intellij-rust/pull/1982/ for an example.