| 
36 | 36 |   "activationEvents": [  | 
37 | 37 |     "onLanguage:swift",  | 
38 | 38 |     "workspaceContains:**/*swift",  | 
39 |  | -    "onCommand:sde.commands.buildPackage"  | 
 | 39 | +    "onCommand:sde.commands.build",  | 
 | 40 | +    "onCommand:sde.commands.run",  | 
 | 41 | +    "onCommand:sde.commands.clean",  | 
 | 42 | +    "onCommand:sde.commands.selectRun"  | 
40 | 43 |   ],  | 
41 |  | -  "main": "./out/src/clientMain",  | 
 | 44 | +  "main": "./out/clientMain",  | 
42 | 45 |   "contributes": {  | 
43 | 46 |     "commands": [  | 
44 | 47 |       {  | 
45 |  | -        "command": "sde.commands.buildPackage",  | 
 | 48 | +        "command": "sde.commands.build",  | 
46 | 49 |         "title": "Build Package",  | 
47 | 50 |         "category": "SDE"  | 
 | 51 | +      },  | 
 | 52 | +      {  | 
 | 53 | +        "command": "sde.commands.restartLanguageServer",  | 
 | 54 | +        "title": "Restart Language Server",  | 
 | 55 | +        "category": "SDE"  | 
 | 56 | +      },  | 
 | 57 | +      {  | 
 | 58 | +        "command": "sde.commands.run",  | 
 | 59 | +        "title": "Run Default Target",  | 
 | 60 | +        "category": "SDE",  | 
 | 61 | +        "enablement": "sde:running == false"  | 
 | 62 | +      },  | 
 | 63 | +      {  | 
 | 64 | +        "command": "sde.commands.selectRun",  | 
 | 65 | +        "title": "Run Target…",  | 
 | 66 | +        "category": "SDE",  | 
 | 67 | +        "enablement": "sde:running == false"  | 
 | 68 | +      },  | 
 | 69 | +      {  | 
 | 70 | +        "command": "sde.commands.restartRun",  | 
 | 71 | +        "title": "Restart Target",  | 
 | 72 | +        "category": "SDE",  | 
 | 73 | +        "enablement": "sde:running == true"  | 
 | 74 | +      },  | 
 | 75 | +      {  | 
 | 76 | +        "command": "sde.commands.stop",  | 
 | 77 | +        "title": "Stop Running Target",  | 
 | 78 | +        "category": "SDE",  | 
 | 79 | +        "enablement": "sde:running == true"  | 
 | 80 | +      },  | 
 | 81 | +      {  | 
 | 82 | +        "command": "sde.commands.clean",  | 
 | 83 | +        "title": "Clean Package",  | 
 | 84 | +        "category": "SDE"  | 
48 | 85 |       }  | 
49 | 86 |     ],  | 
50 | 87 |     "keybindings": [  | 
51 | 88 |       {  | 
52 |  | -        "command": "sde.commands.buildPackage",  | 
53 |  | -        "key": "alt+b",  | 
54 |  | -        "mac": "alt+b"  | 
 | 89 | +        "command": "sde.commands.build",  | 
 | 90 | +        "key": "alt+b"  | 
 | 91 | +      },  | 
 | 92 | +      {  | 
 | 93 | +        "command": "sde.commands.run",  | 
 | 94 | +        "key": "alt+r"  | 
 | 95 | +      },  | 
 | 96 | +      {  | 
 | 97 | +        "command": "sde.commands.selectRun",  | 
 | 98 | +        "key": "alt+shift+r"  | 
 | 99 | +      },  | 
 | 100 | +      {  | 
 | 101 | +        "command": "sde.commands.stop",  | 
 | 102 | +        "key": "alt+s"  | 
55 | 103 |       }  | 
56 | 104 |     ],  | 
57 | 105 |     "configuration": {  | 
58 | 106 |       "type": "object",  | 
59 |  | -      "title": "Swift Development Environment Configuration",  | 
 | 107 | +      "title": "Swift Development Environment",  | 
60 | 108 |       "properties": {  | 
61 | 109 |         "sourcekit-lsp.serverPath": {  | 
62 | 110 |           "type": "string",  | 
 | 
140 | 188 |         "sde.enable": {  | 
141 | 189 |           "type": "boolean",  | 
142 | 190 |           "default": true,  | 
143 |  | -          "description": "Wether SDE shall be executed."  | 
 | 191 | +          "description": "Enable SDE functionality"  | 
144 | 192 |         },  | 
145 | 193 |         "sde.languageServerMode": {  | 
146 | 194 |           "type": "string",  | 
 | 
200 | 248 |       {  | 
201 | 249 |         "language": "swift"  | 
202 | 250 |       }  | 
203 |  | -    ],  | 
204 |  | -    "taskDefinitions": [  | 
205 |  | -      {  | 
206 |  | -        "type": "swift",  | 
207 |  | -        "properties": {}  | 
208 |  | -      }  | 
209 | 251 |     ]  | 
210 | 252 |   },  | 
 | 253 | +  "prettier": {  | 
 | 254 | +    "trailingComma": "es5",  | 
 | 255 | +    "tabWidth": 2,  | 
 | 256 | +    "printWidth": 100  | 
 | 257 | +  },  | 
211 | 258 |   "scripts": {  | 
212 | 259 |     "vscode:prepublish": "npm run build",  | 
213 | 260 |     "build": "npm run compile",  | 
214 |  | -    "compile": "tsc -p ./",  | 
215 |  | -    "format": "prettier CHANGELOG.md README.md src/*.ts src/server/**/*.ts tsconfig.json --write",  | 
216 |  | -    "test": "jest"  | 
 | 261 | +    "compile": "npx tsc",  | 
 | 262 | +    "format": "npx prettier CHANGELOG.md README.md src/*.ts src/server/**/*.ts tsconfig.json --write",  | 
 | 263 | +    "test": "npx jest"  | 
217 | 264 |   },  | 
218 | 265 |   "devDependencies": {  | 
219 | 266 |     "@types/bunyan": "^1.8.4",  | 
220 | 267 |     "@types/glob": "^5.0.35",  | 
221 | 268 |     "@types/jest": "^24.0.18",  | 
222 | 269 |     "@types/js-yaml": "^3.11.1",  | 
223 |  | -    "@types/node": "^12.7.4",  | 
 | 270 | +    "@types/node": "^12.19.7",  | 
224 | 271 |     "@types/vscode": "1.30.0",  | 
225 | 272 |     "@types/xml-js": "^1.0.0",  | 
226 | 273 |     "jest": "^24.9.0",  | 
227 | 274 |     "prettier": "^1.18.2",  | 
228 | 275 |     "ts-jest": "^24.0.2",  | 
229 |  | -    "typescript": "^3.6.2"  | 
 | 276 | +    "tsc": "^1.20150623.0",  | 
 | 277 | +    "typescript": "^4.1.2"  | 
230 | 278 |   },  | 
231 | 279 |   "dependencies": {  | 
232 | 280 |     "bunyan": "^1.8.5",  | 
 | 
0 commit comments