mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-01 12:28:05 +00:00
1.2 KiB
1.2 KiB
applyTo
| applyTo |
|---|
| **/*.ts |
VS Code Copilot Development Instructions for TypeScript
You MUST check compilation output before running ANY script or declaring work complete!
- ALWAYS check the "VS Code - Build" task output for compilation errors
- NEVER run tests if there are compilation errors
- NEVER use
npm run compileto compile TypeScript files, always check task output - FIX all compilation errors before moving forward
TypeScript compilation steps
Typescript compilation errors can be found by running the "VS Code - Build" task, which compiles the VS Code TypeScript sources and the built-in extensions:
- This background task may already be running from previous development sessions
- If not already running, start the task to get real-time compilation feedback
- The task provides incremental compilation, so it will automatically recompile when files change
TypeScript validation steps
- Use
scripts/test.sh(orscripts\test.baton Windows) for unit tests (add--grep <pattern>to filter tests) - Use
scripts/test-integration.sh(orscripts\test-integration.baton Windows) for integration tests - Use
npm run valid-layers-checkto check for layering issues