4 "description": "MLIR Language Extension",
6 "publisher": "llvm-vs-code-extensions",
7 "homepage": "https://mlir.llvm.org/",
13 "Programming Languages"
24 "onFileSystem:mlir.bytecode-mlir",
25 "onCustomEditor:mlir.bytecode",
30 "main": "./out/extension",
32 "vscode:prepublish": "tsc -p ./",
33 "compile": "tsc -watch -p ./",
34 "format": "clang-format -i --glob=\"{src,test}/*.ts\"",
35 "package": "vsce package",
36 "publish": "vsce publish",
37 "git-clang-format": "git-clang-format"
40 "base64-js": "^1.5.1",
42 "vscode-languageclient": "^8.0.2-next.5"
45 "@types/mocha": "^7.0.2",
46 "@types/node": "^14.17.0",
47 "@types/vscode": "~1.67.0",
48 "@vscode/vsce": "^2.19.0",
49 "clang-format": "^1.8.0",
50 "typescript": "^4.6.4",
51 "vscode-test": "^1.3.0"
55 "url": "https://github.com/llvm/vscode-mlir.git"
60 "viewType": "mlir.bytecode",
61 "displayName": "MLIR Bytecode",
62 "priority": "default",
65 "filenamePattern": "*.mlirbc"
81 "configuration": "./language-configuration.json"
84 "id": "mlir-injection"
95 "configuration": "./pdll-language-configuration.json"
106 "configuration": "./tablegen-language-configuration.json"
112 "scopeName": "source.mlir",
113 "path": "./grammar.json"
116 "language": "mlir-injection",
117 "scopeName": "markdown.mlir.codeblock",
118 "path": "markdown-grammar.json",
122 "embeddedLanguages": {
123 "meta.embedded.block.mlir": "mlir",
124 "meta.embedded.block.pdll": "pdll",
125 "meta.embedded.block.tablegen": "tablegen"
129 "scopeName": "source.cpp.mlir",
130 "path": "./cpp-grammar.json",
134 "embeddedLanguages": {
135 "source.mlir": "mlir"
140 "scopeName": "source.pdll",
141 "path": "./pdll-grammar.json"
144 "language": "tablegen",
145 "scopeName": "source.tablegen",
146 "path": "./tablegen-grammar.json"
153 "mlir.server_path": {
156 "description": "The file path of the mlir-lsp-server executable."
158 "mlir.pdll_server_path": {
161 "description": "The file path of the mlir-pdll-lsp-server executable."
163 "mlir.pdll_compilation_databases": {
166 "description": "A list of `pdll_compile_commands.yml` database files containing information about .pdll files processed by the server."
168 "mlir.tablegen_server_path": {
171 "description": "The file path of the tblgen-lsp-server executable."
173 "mlir.tablegen_compilation_databases": {
176 "description": "A list of `tablegen_compile_commands.yml` database files containing information about .td files processed by the server."
178 "mlir.onSettingsChanged": {
181 "description": "Action taken when a setting change requires a server restart to take effect.",
187 "enumDescriptions": [
188 "Prompt the user for restarting the server",
189 "Automatically restart the server",
197 "command": "mlir.restart",
198 "title": "mlir: Restart language server"
201 "command": "mlir.viewPDLLOutput",
202 "title": "mlir-pdll: View PDLL output"
208 "command": "mlir.viewPDLLOutput",
209 "group": "z_commands",
210 "when": "editorLangId == pdll"