Files
openide/plugins/toml
Piotr Tomiak dd42335edb WEB-53719 WEB-54398 Use multi-line LiteralTextEscaper for XML text injections
GitOrigin-RevId: 17a5b776c71d1fbf7c79e41a5d6f910c641ea172
2023-06-28 21:16:34 +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.