1{ 2 "name": "llvm", 3 "displayName": "llvm", 4 "description": "VS Code Externsion for LLVM development", 5 "publisher": "llvm-vs-code-extensions", 6 "version": "0.0.1", 7 "repository": "somewhere", 8 "engines": { 9 "vscode": "^1.42.0" 10 }, 11 "categories": [ 12 "Programming Languages" 13 ], 14 "activationEvents": [ 15 "onCommand:workbench.action.tasks.runTask" 16 ], 17 "main": "./out/extension", 18 "contributes": { 19 "languages": [ 20 { 21 "id": "tablegen", 22 "aliases": [ 23 "TableGen", 24 "tablegen" 25 ], 26 "extensions": [ 27 ".td" 28 ], 29 "configuration": "./language-configuration-tablegen.json" 30 }, 31 { 32 "id": "llvm", 33 "aliases": [ 34 "LLVM IR", 35 "LLVM", 36 "llvm" 37 ], 38 "extensions": [ 39 ".ll" 40 ], 41 "configuration": "./language-configuration.json" 42 } 43 ], 44 "grammars": [ 45 { 46 "language": "tablegen", 47 "scopeName": "source.tablegen", 48 "path": "./syntaxes/TableGen.tmLanguage" 49 }, 50 { 51 "language": "llvm", 52 "scopeName": "source.llvm", 53 "path": "./syntaxes/ll.tmLanguage.json" 54 } 55 ], 56 "taskDefinitions": [ 57 { 58 "type": "llvm-lit", 59 "required": [ 60 "task" 61 ], 62 "properties": { 63 "task": { 64 "type": "string", 65 "description": "The Rake task to customize" 66 } 67 } 68 } 69 ], 70 "problemMatchers": [ 71 { 72 "name": "llvm-lit", 73 "fileLocation": [ 74 "absolute" 75 ], 76 "label": "LLVM LIT", 77 "source": "llvm lit", 78 "severity": "error", 79 "pattern": [ 80 { 81 "regexp": "^(.+):(\\d+)\\((\\d+)\\):\\s+(.+)$", 82 "kind": "location", 83 "file": 1, 84 "line": 2, 85 "code": 3, 86 "message": 4 87 } 88 ] 89 }, 90 { 91 "name": "llvm-filecheck", 92 "fileLocation": [ 93 "absolute" 94 ], 95 "label": "LLVM FileCheck", 96 "source": "llvm filecheck", 97 "pattern": [ 98 { 99 "regexp": "^(.+):(\\d+):\\d+:\\s+(error|warning|note|remark):\\s+(.+)$", 100 "kind": "location", 101 "file": 1, 102 "line": 2, 103 "severity": 3, 104 "message": 4 105 } 106 ] 107 } 108 ] 109 }, 110 "devDependencies": { 111 "@types/node": "^8.10.59", 112 "@types/vscode": "^1.39.0", 113 "js-yaml": "^3.13.1", 114 "tslint": "^5.16.0", 115 "typescript": "^3.8.3" 116 }, 117 "extensionDependencies": ["ms-vscode.cmake-tools"], 118 "scripts": { 119 "vscode:prepublish": "npx js-yaml syntaxes/ll.tmLanguage.yaml > syntaxes/ll.tmLanguage.json && tsc -b", 120 "watch": "tsc -b -w" 121 } 122}