Language support for TableGen .td files, the language LLVM and
MLIR ODS use to define dialects, operations, types and
attributes.
Features:
- Syntax highlighting, brace matching, code folding and breadcrumbs.
- Code completion for fields, keywords, bang operators and for classes and definitions from other files.
- Navigation to definitions, find usages, rename, go-to-class and go-to-symbol, parameter info and gutter markers for inherited classes and overridden field assignments.
- Quick documentation showing an element's definition together with its doc comment.
- Error highlighting and inspections for syntax mistakes, unresolved references, unknown fields and mismatched template arguments.
In CLion, includes are resolved using the tablegen_compile_commands.yml file of the active CMake profile, so files of
the LLVM monorepo are analyzed with the same include paths that TableGen itself is invoked with.
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "MLIR ODS" > Install
-
Using JetBrains Marketplace:
Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.
You can also download the latest release from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.