mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
sessions - clarify instructions around compiling and testing (#299255)
This commit is contained in:
2
.github/copilot-instructions.md
vendored
2
.github/copilot-instructions.md
vendored
@@ -58,7 +58,7 @@ MANDATORY: Always check for compilation errors before running any tests or valid
|
||||
### TypeScript compilation steps
|
||||
- If the `#runTasks/getTaskOutput` tool is available, check the `VS Code - Build` watch task output for compilation errors. This task runs `Core - Build` and `Ext - Build` to incrementally compile VS Code TypeScript sources and built-in extensions. Start the task if it's not already running in the background.
|
||||
- If the tool is not available (e.g. in CLI environments) and you only changed code under `src/`, run `npm run compile-check-ts-native` after making changes to type-check the main VS Code sources (it validates `./src/tsconfig.json`).
|
||||
- If you changed built-in extensions under `extensions/` and the tool is not available, run the corresponding gulp task `gulp compile-extensions` instead so that TypeScript errors in extensions are also reported.
|
||||
- If you changed built-in extensions under `extensions/` and the tool is not available, run the corresponding gulp task `npm run gulp compile-extensions` instead so that TypeScript errors in extensions are also reported.
|
||||
- For TypeScript changes in the `build` folder, you can simply run `npm run typecheck` in the `build` folder.
|
||||
|
||||
### TypeScript validation steps
|
||||
|
||||
Reference in New Issue
Block a user