|
9 | 9 | "path": "../PowerShellEditorServices" |
10 | 10 | } |
11 | 11 | ], |
12 | | - |
13 | 12 | "extensions": { |
14 | 13 | "recommendations": [ |
15 | 14 | "davidanson.vscode-markdownlint", |
|
18 | 17 | "esbenp.prettier-vscode", |
19 | 18 | "ms-dotnettools.csharp", |
20 | 19 | "ms-vscode.powershell", |
21 | | - "hbenl.vscode-mocha-test-adapter", |
22 | | - "connor4312.esbuild-problem-matchers" |
| 20 | + "connor4312.esbuild-problem-matchers", |
| 21 | + "ms-vscode.extension-test-runner" |
23 | 22 | ] |
24 | 23 | }, |
25 | 24 | "settings": { |
26 | 25 | "window.title": "PowerShell VS Code Extension Development", |
27 | 26 | "debug.onTaskErrors": "prompt", |
28 | | - "editor.tabSize": 4, |
29 | | - "editor.insertSpaces": true, |
30 | | - "files.trimTrailingWhitespace": true, |
31 | | - "files.insertFinalNewline": true, |
| 27 | + "editor.codeActionsOnSave": { |
| 28 | + "source.fixAll": "explicit", |
| 29 | + }, |
| 30 | + "[typescript][javascript][json]": { |
| 31 | + "editor.defaultFormatter": "esbenp.prettier-vscode", |
| 32 | + "editor.formatOnPaste": true, |
| 33 | + "editor.formatOnSave": true, |
| 34 | + "editor.formatOnSaveMode": "modificationsIfAvailable", |
| 35 | + }, |
32 | 36 | "files.associations": { |
33 | 37 | "**/snippets/*.json": "jsonc", // Use JSONC instead of JSON because that's how VS Code interprets snippet files, and it enables better source documentation. |
34 | 38 | }, |
|
46 | 50 | "powershell.codeFormatting.whitespaceBetweenParameters": true, |
47 | 51 | "powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline", |
48 | 52 | "typescript.tsdk": "Client/node_modules/typescript/lib", // Lock the TypeScript SDK path to the version we use |
49 | | - "typescript.format.semicolons": "insert", // Code actions like "organize imports" ignore ESLint, so we need this here |
50 | | - "eslint.format.enable": true, // Enable ESLint as defaut formatter so quick fixes can be applied directly |
51 | | - "[typescript]": { |
52 | | - "editor.defaultFormatter": "esbenp.prettier-vscode", |
53 | | - "editor.formatOnPaste": true, |
54 | | - "editor.formatOnSave": true, |
55 | | - "editor.formatOnSaveMode": "modificationsIfAvailable" |
56 | | - }, |
57 | | - "mochaExplorer.configFile": ".mocharc.json", |
58 | | - "mochaExplorer.launcherScript": "test/runTests", |
59 | | - "mochaExplorer.autoload": false, // The test instance pops up every time discovery or run is done, this could be annoying on startup. |
60 | | - "mochaExplorer.debuggerPort": 59229, // Matches the launch config, we dont want to use the default port as we are launching a duplicate instance of vscode and it might conflict. |
61 | | - "mochaExplorer.ipcRole": "server", |
62 | | - "mochaExplorer.ipcTimeout": 30000, // 30 seconds |
| 53 | + "typescript.tsserver.experimental.enableProjectDiagnostics": true, |
63 | 54 | "testExplorer.useNativeTesting": true, |
64 | | - "mochaExplorer.env": { |
65 | | - "VSCODE_VERSION": "insiders", |
66 | | - "ELECTRON_RUN_AS_NODE": null |
67 | | - } |
68 | 55 | }, |
69 | 56 | "tasks": { |
70 | 57 | "version": "2.0.0", |
|
95 | 82 | "osx": { |
96 | 83 | "options": { |
97 | 84 | "shell": { |
98 | | - "executable": "/usr/local/bin/pwsh", |
| 85 | + "executable": "pwsh", |
99 | 86 | "args": [ |
100 | 87 | "-NoProfile", |
101 | 88 | "-Command" |
|
324 | 311 | "sourceMaps": true, |
325 | 312 | // This speeds up source map detection and makes smartStep work correctly |
326 | 313 | "outFiles": [ |
327 | | - "${workspaceFolder:Client}/**/*.js", |
328 | | - "!**/node_modules/**", |
329 | | - "!**/.vscode-test/**" |
| 314 | + "${workspaceFolder:Client}/dist/*.js" |
330 | 315 | ], |
331 | 316 | "skipFiles": [ |
332 | 317 | "<node_internals>/**", |
333 | 318 | "**/node_modules/**", |
334 | 319 | "**/.vscode-test/**", |
335 | | - "**/app/out/vs/**" //Skips Extension Host internals |
| 320 | + "**/app/out/vs/**" //Skips Extension Host internals |
336 | 321 | ], |
337 | 322 | "presentation": { |
338 | 323 | "hidden": true |
|
356 | 341 | "sourceMaps": true, |
357 | 342 | // This speeds up source map detection and makes smartStep work correctly |
358 | 343 | "outFiles": [ |
359 | | - "${workspaceFolder:Client}/**/*.js", |
360 | | - "!**/node_modules/**", |
361 | | - "!**/.vscode-test/**" |
| 344 | + "${workspaceFolder:Client}/dist/*.js" |
362 | 345 | ], |
363 | 346 | "skipFiles": [ |
364 | 347 | "<node_internals>/**", |
|
388 | 371 | "sourceMaps": true, |
389 | 372 | // This speeds up source map detection and makes smartStep work correctly |
390 | 373 | "outFiles": [ |
391 | | - "${workspaceFolder:Client}/**/*.js", |
392 | | - "!**/node_modules/**", |
393 | | - "!**/.vscode-test/**", |
| 374 | + "${workspaceFolder:Client}/dist/*.js" |
394 | 375 | ], |
395 | 376 | "skipFiles": [ |
396 | 377 | "<node_internals>/**", |
397 | 378 | "**/node_modules/**", |
398 | 379 | "**/.vscode-test/**", |
399 | | - "**/app/out/vs/**" //Skips Extension Host internals |
| 380 | + "**/app/out/vs/**" //Skips Extension Host internals |
400 | 381 | ], |
401 | 382 | "presentation": { |
402 | 383 | "hidden": true |
|
460 | 441 | "sourceMaps": true, |
461 | 442 | // This speeds up source map detection and makes smartStep work correctly |
462 | 443 | "outFiles": [ |
463 | | - "${workspaceFolder:Client}/**/*.js", |
464 | | - "!**/node_modules/**", |
465 | | - "!**/.vscode-test/**" |
| 444 | + "${workspaceFolder:Client}/dist/*.js" |
466 | 445 | ], |
467 | 446 | "skipFiles": [ |
468 | 447 | "<node_internals>/**", |
|
0 commit comments