A TypeScript extension for building, testing and running CRT C/C++ projects
from VS Code. The CRT SDK supplies runtime and compiler policy. The extension
delegates builds, SDK selection and project state to crt-cli.
CRT · CRT-CLI.
Status: development scaffold (0.0.1). Use the Extension Development Host to try the source checkout. Editor integration and distribution gates are tracked in TODO. See STATUS for recorded verification. Completed changes are recorded in HISTORY.
The scaffold contributes:
- Workspace activation for
crt.jsonand acrttask provider. CRT: Build,CRT: Test,CRT: RunandCRT: Doctorcommands. Doctor uses the CLI's project scope and is available from the CRT status bar item.- The
crt.cliPathsetting for selecting a CLI executable.
These contributions are implemented in source. The real CLI task workflow in the Extension Development Host is still an acceptance gate. Extension MVP.
The manual CRT: Export compile_commands.json command reports missing
support with the current CLI. Compilation database generation from the real
build plan and structured project-state queries are proposed CLI features.
The extension will use those results for clangd and SDK/target display.
CLI contract requirements.
The first native editor check targets Linux/x86_64. macOS/arm64, Windows/x64, debugging and verified VSIX distribution have later gates. Cursor and VSCodium require their own editor verification. Planned work.
npm install
npm run typecheck
npm run compileIn VS Code, press F5 using Run Extension to start the Extension
Development Host. Open a trusted folder containing crt.json and set
crt.cliPath to the absolute path of your chosen CLI. Configure the project
with its selected Dev SDK and LLVM tools using the CLI guide.
CLI Previews ·
CLI project setup.
| Repository | Role |
|---|---|
| crt | Runtime and SDK production |
| crt-cli | SDK, build and port engine and public command contracts |
| crt-studio | Long-term standalone CRT-native IDE |
License: Apache-2.0 (LICENSE).