Files
openide/plugins/toml
Nikita Katkov ba0a9dc16e [json] IJPL-63554 Use the new schema resolve API in dependent plugins
GitOrigin-RevId: a43d3c69c27b36f4e75b451ccdf972771014f5ca
2024-06-18 20:26:11 +00:00
..

TOML language support for IntelliJ IDEA based IDEs

download version

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.
  • TomlKey and TomlValue are ContributedReferenceHosts, 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.