Files
openide/plugins/toml
Alexey Kudravtsev dfc5db43aa optimization: filter inspection by language more correct in tests
Provide correct EP for inspection tools even with inconsistent tool.getShortName() and shortName="" in plugin.xml.
That allows obtaining correct tool.getLanguage(), and avoid running irrelevant inspections.
E.g. CheckDtdRef inspection doesn't run in java-only tests anymore.

GitOrigin-RevId: 188e9d55686ca084611c5c89cb899874dd078010
2024-02-25 04:22:20 +01: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.