fix ,and add vsix
This commit is contained in:
parent
dd78036edb
commit
dfa6433952
|
@ -1,2 +1 @@
|
||||||
node_modules
|
node_modules
|
||||||
*.vsix
|
|
|
@ -24,3 +24,7 @@ npm install -g yo generator-code
|
||||||
yo code
|
yo code
|
||||||
# select New Language Support
|
# select New Language Support
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Reference
|
||||||
|
|
||||||
|
https://github.com/jakoberzar/vscode-llvm-tablegen
|
Binary file not shown.
53
package.json
53
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "llvm-tablegen",
|
"name": "mlir-tablegen",
|
||||||
"displayName": "LLVM TableGen",
|
"displayName": "MLIR TableGen",
|
||||||
"description": "Syntax highlighting for TableGen.",
|
"description": "Syntax highlighting for TableGen.",
|
||||||
"version": "0.0.2",
|
"version": "0.0.2",
|
||||||
"publisher": "colin-liang",
|
"publisher": "colin-liang",
|
||||||
|
@ -11,35 +11,50 @@
|
||||||
"Programming Languages"
|
"Programming Languages"
|
||||||
],
|
],
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"llvm-tablegen",
|
"mlir-tablegen",
|
||||||
"llvm-tblgen",
|
"mlir-tblgen",
|
||||||
"tblgen",
|
"tblgen",
|
||||||
"llvm",
|
"llvm",
|
||||||
"tablegen"
|
"tablegen"
|
||||||
],
|
],
|
||||||
"contributes": {
|
"contributes": {
|
||||||
"languages": [{
|
"languages": [
|
||||||
"id": "tablegen",
|
{
|
||||||
"aliases": ["TableGen", "tblgen", "tablegen"],
|
"id": "inc",
|
||||||
"extensions": [".td"],
|
"aliases": [
|
||||||
|
"inc",
|
||||||
|
"inc"
|
||||||
|
],
|
||||||
|
"extensions": [
|
||||||
|
".inc"
|
||||||
|
],
|
||||||
"configuration": "./language-configuration.json"
|
"configuration": "./language-configuration.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "inc",
|
"id": "tablegen",
|
||||||
"aliases": ["inc", "tblgen", "TableGen", "tblgen", "tablegen"],
|
"aliases": [
|
||||||
"extensions": [".inc"],
|
"TableGen",
|
||||||
|
"tblgen",
|
||||||
|
"tablegen"
|
||||||
|
],
|
||||||
|
"extensions": [
|
||||||
|
".td"
|
||||||
|
],
|
||||||
"configuration": "./language-configuration.json"
|
"configuration": "./language-configuration.json"
|
||||||
}],
|
}
|
||||||
"grammars": [{
|
],
|
||||||
|
"grammars": [
|
||||||
|
{
|
||||||
|
"language": "inc",
|
||||||
|
"scopeName": "source.inc",
|
||||||
|
"path": "./syntaxes/inc.tmLanguage.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
"language": "tablegen",
|
"language": "tablegen",
|
||||||
"scopeName": "source.tablegen",
|
"scopeName": "source.tablegen",
|
||||||
"path": "./syntaxes/tablegen.tmLanguage"
|
"path": "./syntaxes/tablegen.tmLanguage"
|
||||||
},
|
}
|
||||||
{
|
]
|
||||||
"language": "inc",
|
|
||||||
"scopeName": "source.tablegen",
|
|
||||||
"path": "./syntaxes/inc.tmLanguage"
|
|
||||||
}]
|
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "http://deve.work:3000/colin/vscode-llvm-tablegen"
|
"url": "http://deve.work:3000/colin/vscode-llvm-tablegen"
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
],
|
],
|
||||||
"version": "",
|
"version": "",
|
||||||
"name": "inc",
|
"name": "inc",
|
||||||
"scopeName": "source.cpp",
|
"scopeName": "source.inc",
|
||||||
"fileTypes": [
|
"fileTypes": [
|
||||||
"inc",
|
"inc"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{
|
{
|
Loading…
Reference in New Issue