fix ,and add vsix
This commit is contained in:
parent
dd78036edb
commit
dfa6433952
|
@ -1,2 +1 @@
|
||||||
node_modules
|
node_modules
|
||||||
*.vsix
|
|
|
@ -23,4 +23,8 @@ vsce package
|
||||||
npm install -g yo generator-code
|
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.
67
package.json
67
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": [
|
||||||
"configuration": "./language-configuration.json"
|
"inc",
|
||||||
},
|
"inc"
|
||||||
{
|
],
|
||||||
"id": "inc",
|
"extensions": [
|
||||||
"aliases": ["inc", "tblgen", "TableGen", "tblgen", "tablegen"],
|
".inc"
|
||||||
"extensions": [".inc"],
|
],
|
||||||
"configuration": "./language-configuration.json"
|
"configuration": "./language-configuration.json"
|
||||||
}],
|
},
|
||||||
"grammars": [{
|
{
|
||||||
"language": "tablegen",
|
"id": "tablegen",
|
||||||
"scopeName": "source.tablegen",
|
"aliases": [
|
||||||
"path": "./syntaxes/tablegen.tmLanguage"
|
"TableGen",
|
||||||
},
|
"tblgen",
|
||||||
{
|
"tablegen"
|
||||||
"language": "inc",
|
],
|
||||||
"scopeName": "source.tablegen",
|
"extensions": [
|
||||||
"path": "./syntaxes/inc.tmLanguage"
|
".td"
|
||||||
}]
|
],
|
||||||
|
"configuration": "./language-configuration.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grammars": [
|
||||||
|
{
|
||||||
|
"language": "inc",
|
||||||
|
"scopeName": "source.inc",
|
||||||
|
"path": "./syntaxes/inc.tmLanguage.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"language": "tablegen",
|
||||||
|
"scopeName": "source.tablegen",
|
||||||
|
"path": "./syntaxes/tablegen.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