Skip to content

Releases

CRT for VS Code 0.5.0

Choose a tag to compare

@webos21 webos21 released this 02 Dec 06:50
6531d29

CRT for VS Code 0.5.0

This release contains the VS Code extension webos21.crt-vscode 0.5.0 as one file, crt-vscode-0.5.0.vsix (18,037 bytes, SHA-256
5eeaeab448fd305e1d4279a392726635dd4bafaac14055c6737017e91c971fea). It builds, tests, runs and diagnoses CRT C/C++ projects by calling
crt-cli and connects the compilation database it exports to clangd. It does not build anything itself and
needs crt-cli 0.5.0 (Editor API 1) and a CRT Development SDK 0.5.0 on the same machine. It requires VS Code 1.90 or later.

Source commit: 6531d29. The file was built once with the pinned @vscode/vsce 4.1.1, installed and exercised on three hosts (below), and is the only
artifact this release carries: packaging the same commit again gives the same files with different archive bytes, so verify the digest above rather than rebuilding.
Verify the file and SHA256SUMS with their detached signatures and the
pinned publisher key before installing.

Install with code --install-extension crt-vscode-0.5.0.vsix, then set crt.cliPath to the absolute path of your crt-cli.

Verified scope and limits

  • The file is architecture-independent. It holds only manifests, the license, the readme and compiled JavaScript: no native code, no target platform and no
    os, cpu or runtime-dependency restriction, and the packages built on Linux, macOS and Windows have identical payloads. The hosts below are the environments in which the
    workflow was replayed, not installation requirements.
  • Replayed editor hosts. macOS/arm64 (VS Code 1.148.0), Linux/x86_64 (VS Code 1.148.0) and Windows/x64 (VS Code 1.147.0) were exercised with the published crt-cli
    0.5.0 and Dev SDK 0.5.0 of each host, in a clean profile with this exact file installed. On any other combination (Linux/aarch64, Windows/arm64, Cursor, VSCodium, remote or web
    editors) the workflow was not replayed: the file is expected to install there, but that was not tested, and the crt-cli and SDK of the host are still needed.
  • Workspace Trust. In Restricted Mode no crt-cli runs and the workspace setting crt.cliPath is ignored. Trust is granted and revoked with the editor's own controls.
    Build, Test, Run and Doctor, the compilation database export and the clangd setup were exercised for a C and a C++ project on each host.
  • No download on open. Opening a workspace starts no build and no SDK installation. The first Build asks before it may download and install an SDK; that
    download inside the editor was not exercised (the SDK was installed beforehand with crt-cli sdk install).
  • clangd. The LLVM clangd extension 0.6.0 and clangd 21 or 22 resolve project and SDK headers from the exported database, offer completion and report the
    compiler's error position. Diagnostics follow the database, not a promise that clangd and the build agree in every case.
  • Not included. Debugging (Windows debugging in particular), a Marketplace or Open VSX listing, SDK updates and CLI self-upgrade.

The exercised combinations and their evidence are in the
compatibility ledger and the
extension's history.