Skip to content

About

VSCode Extension for CRT

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CRT for VS Code (crt-vscode)

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.

Works Today

The scaffold contributes:

  • Workspace activation for crt.json and a crt task provider.
  • CRT: Build, CRT: Test, CRT: Run and CRT: Doctor commands. Doctor uses the CLI's project scope and is available from the CRT status bar item.
  • The crt.cliPath setting 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.

Planned Editor Integration

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.

Development

npm install
npm run typecheck
npm run compile

In 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.

Related Repositories

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).

About

VSCode Extension for CRT

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages