Files
openide/plugins/toml
Vladimir Krivosheev 4a176d4c02 IJ-CR-146078 extract intellij.platform.bootstrap
GitOrigin-RevId: b79efc92829111228e83058e54381d8e02116b6f
2024-10-05 22:01:55 +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.