2021-04-22 05:33:18 +08:00
|
|
|
{
|
2021-07-31 07:52:47 +08:00
|
|
|
"name": "vscode-mlir",
|
2021-04-22 05:33:18 +08:00
|
|
|
"displayName": "MLIR",
|
|
|
|
"description": "MLIR Language Extension",
|
2021-08-04 03:52:43 +08:00
|
|
|
"version": "0.0.2",
|
2021-04-22 05:33:18 +08:00
|
|
|
"publisher": "llvm-vs-code-extensions",
|
2021-07-31 07:52:47 +08:00
|
|
|
"homepage": "https://mlir.llvm.org/",
|
|
|
|
"icon": "icon.png",
|
2021-04-22 05:33:18 +08:00
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.52.0"
|
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Programming Languages"
|
|
|
|
],
|
2021-07-31 07:52:47 +08:00
|
|
|
"keywords": [
|
|
|
|
"LLVM",
|
|
|
|
"MLIR"
|
|
|
|
],
|
2021-04-22 05:33:18 +08:00
|
|
|
"activationEvents": [
|
|
|
|
"onLanguage:mlir"
|
|
|
|
],
|
|
|
|
"main": "./out/extension",
|
2021-07-31 07:52:47 +08:00
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "tsc -p ./",
|
|
|
|
"compile": "tsc -watch -p ./",
|
|
|
|
"format": "clang-format -i --glob=\"{src,test}/*.ts\"",
|
|
|
|
"package": "vsce package",
|
|
|
|
"publish": "vsce publish",
|
|
|
|
"git-clang-format": "git-clang-format"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"chokidar": "3.5.2",
|
|
|
|
"vscode-languageclient": "^5.2.1",
|
|
|
|
"vscode-languageserver-types": "3.16.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/mocha": "^5.2.0",
|
|
|
|
"@types/node": "^8.0.0",
|
|
|
|
"@types/vscode": "1.52.*",
|
|
|
|
"clang-format": "1.4.0",
|
|
|
|
"tslint": "^5.16.0",
|
|
|
|
"typescript": "^3.5.1",
|
|
|
|
"vsce": "^1.75.0",
|
|
|
|
"vscode-test": "^1.3.0"
|
|
|
|
},
|
|
|
|
"repository": {
|
2021-08-04 03:52:43 +08:00
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/llvm/vscode-mlir.git"
|
2021-07-31 07:52:47 +08:00
|
|
|
},
|
2021-04-22 05:33:18 +08:00
|
|
|
"contributes": {
|
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "mlir",
|
|
|
|
"aliases": [
|
|
|
|
"MLIR",
|
|
|
|
"mlir"
|
|
|
|
],
|
|
|
|
"extensions": [
|
|
|
|
".mlir"
|
|
|
|
],
|
|
|
|
"configuration": "./language-configuration.json"
|
2021-08-04 03:52:43 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "mlir-injection"
|
2021-04-22 05:33:18 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "mlir",
|
|
|
|
"scopeName": "source.mlir",
|
|
|
|
"path": "./grammar.json"
|
2021-08-04 03:52:43 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "mlir-injection",
|
|
|
|
"scopeName": "markdown.mlir.codeblock",
|
|
|
|
"path": "markdown-grammar.json",
|
|
|
|
"injectTo": [
|
|
|
|
"text.html.markdown"
|
|
|
|
],
|
|
|
|
"embeddedLanguages": {
|
|
|
|
"meta.embedded.block.mlir": "mlir"
|
|
|
|
}
|
2021-04-22 05:33:18 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"configuration": {
|
|
|
|
"type": "object",
|
|
|
|
"title": "MLIR",
|
|
|
|
"properties": {
|
|
|
|
"mlir.server_path": {
|
|
|
|
"scope": "resource",
|
|
|
|
"type": "string",
|
|
|
|
"description": "The file path of the mlir-lsp-server executable."
|
2021-06-29 06:46:05 +08:00
|
|
|
},
|
|
|
|
"mlir.onSettingsChanged": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "prompt",
|
|
|
|
"description": "Action taken when a setting change requires a server restart to take effect.",
|
|
|
|
"enum": [
|
|
|
|
"prompt",
|
|
|
|
"restart",
|
|
|
|
"ignore"
|
|
|
|
],
|
|
|
|
"enumDescriptions": [
|
|
|
|
"Prompt the user for restarting the server",
|
|
|
|
"Automatically restart the server",
|
|
|
|
"Do nothing"
|
|
|
|
]
|
2021-04-22 05:33:18 +08:00
|
|
|
}
|
|
|
|
}
|
2021-06-29 06:46:05 +08:00
|
|
|
},
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "mlir.restart",
|
|
|
|
"title": "mlir: Restart language server"
|
|
|
|
}
|
|
|
|
]
|
2021-06-11 02:33:47 +08:00
|
|
|
}
|
2021-04-22 05:33:18 +08:00
|
|
|
}
|