1{ 2 "name": "vscode-mlir", 3 "displayName": "MLIR", 4 "description": "MLIR Language Extension", 5 "version": "0.0.6", 6 "publisher": "llvm-vs-code-extensions", 7 "homepage": "https://mlir.llvm.org/", 8 "icon": "icon.png", 9 "engines": { 10 "vscode": "^1.52.0" 11 }, 12 "categories": [ 13 "Programming Languages" 14 ], 15 "keywords": [ 16 "LLVM", 17 "MLIR", 18 "PDLL" 19 ], 20 "activationEvents": [ 21 "onLanguage:mlir", 22 "onLanguage:pdll" 23 ], 24 "main": "./out/extension", 25 "scripts": { 26 "vscode:prepublish": "tsc -p ./", 27 "compile": "tsc -watch -p ./", 28 "format": "clang-format -i --glob=\"{src,test}/*.ts\"", 29 "package": "vsce package", 30 "publish": "vsce publish", 31 "git-clang-format": "git-clang-format" 32 }, 33 "dependencies": { 34 "chokidar": "3.5.2", 35 "vscode-languageclient": "^5.2.1", 36 "vscode-languageserver-types": "3.16.0" 37 }, 38 "devDependencies": { 39 "@types/mocha": "^5.2.0", 40 "@types/node": "^8.0.0", 41 "@types/vscode": "1.52.*", 42 "clang-format": "1.4.0", 43 "tslint": "^5.16.0", 44 "typescript": "^3.5.1", 45 "vsce": "^1.75.0", 46 "vscode-test": "^1.3.0" 47 }, 48 "repository": { 49 "type": "git", 50 "url": "https://github.com/llvm/vscode-mlir.git" 51 }, 52 "contributes": { 53 "languages": [ 54 { 55 "id": "mlir", 56 "aliases": [ 57 "MLIR", 58 "mlir" 59 ], 60 "extensions": [ 61 ".mlir" 62 ], 63 "configuration": "./language-configuration.json" 64 }, 65 { 66 "id": "mlir-injection" 67 }, 68 { 69 "id": "pdll", 70 "aliases": [ 71 "PDLL", 72 "pdll" 73 ], 74 "extensions": [ 75 ".pdll" 76 ], 77 "configuration": "./pdll-language-configuration.json" 78 } 79 ], 80 "grammars": [ 81 { 82 "language": "mlir", 83 "scopeName": "source.mlir", 84 "path": "./grammar.json" 85 }, 86 { 87 "language": "mlir-injection", 88 "scopeName": "markdown.mlir.codeblock", 89 "path": "markdown-grammar.json", 90 "injectTo": [ 91 "text.html.markdown" 92 ], 93 "embeddedLanguages": { 94 "meta.embedded.block.mlir": "mlir" 95 } 96 }, 97 { 98 "scopeName": "source.cpp.mlir", 99 "path": "./cpp-grammar.json", 100 "injectTo": [ 101 "source.cpp" 102 ], 103 "embeddedLanguages": { 104 "source.mlir": "mlir" 105 } 106 }, 107 { 108 "language": "pdll", 109 "scopeName": "source.pdll", 110 "path": "./pdll-grammar.json" 111 } 112 ], 113 "configuration": { 114 "type": "object", 115 "title": "MLIR", 116 "properties": { 117 "mlir.server_path": { 118 "scope": "resource", 119 "type": "string", 120 "description": "The file path of the mlir-lsp-server executable." 121 }, 122 "mlir.pdll_server_path": { 123 "scope": "resource", 124 "type": "string", 125 "description": "The file path of the mlir-pdll-lsp-server executable." 126 }, 127 "mlir.pdll_compilation_databases": { 128 "scope": "resource", 129 "type": "array", 130 "description": "A list of `pdll_compile_commands.yml` database files containing information about .pdll files processed by the server." 131 }, 132 "mlir.onSettingsChanged": { 133 "type": "string", 134 "default": "prompt", 135 "description": "Action taken when a setting change requires a server restart to take effect.", 136 "enum": [ 137 "prompt", 138 "restart", 139 "ignore" 140 ], 141 "enumDescriptions": [ 142 "Prompt the user for restarting the server", 143 "Automatically restart the server", 144 "Do nothing" 145 ] 146 } 147 } 148 }, 149 "commands": [ 150 { 151 "command": "mlir.restart", 152 "title": "mlir: Restart language server" 153 } 154 ] 155 } 156} 157