This utilizes the mlir-lsp server to provide language services for MLIR files opened in vscode. The extension currently supports syntax highlighting, as well as tracking definitions/uses/source locations for SSA values and blocks.
Depends On D100439
Paths
| Differential D100607
[mlir] Add a vscode language extension for MLIR ClosedPublic Authored by rriddle on Apr 15 2021, 4:35 PM.
Details Summary This utilizes the mlir-lsp server to provide language services for MLIR files opened in vscode. The extension currently supports syntax highlighting, as well as tracking definitions/uses/source locations for SSA values and blocks. Depends On D100439
Diff Detail
Event TimelineComment Actions If it works, that'll be good enough for me :) I'm looking forward for better "getting started" instruction on the website though: something step by step with screenshots of VSCode, or alternatively a screencast on YouTube! :) This revision is now accepted and ready to land.Apr 15 2021, 4:52 PM Closed by commit rGb810e3a552e2: [mlir] Add a vscode language extension for MLIR (authored by rriddle). · Explain WhyApr 21 2021, 2:47 PM This revision was automatically updated to reflect the committed changes. rriddle marked an inline comment as done.
Revision Contents
Diff 339392 mlir/utils/vscode/.gitignore
mlir/utils/vscode/.vscode/launch.json
mlir/utils/vscode/.vscode/tasks.json
mlir/utils/vscode/.vscodeignore
mlir/utils/vscode/language-configuration.json
mlir/utils/vscode/package-lock.json
mlir/utils/vscode/package.json
mlir/utils/vscode/src/extension.ts
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I'm missing this file. Will it be generated from the grammer file already in tree?