2 Commits
Author SHA1 Message Date
Tomáš ČerníkandClaude Opus 5.5 27d924ed06 Debug custom targets, and a Docker image to build and develop in
Build / build (pull_request) Successful in 9m40s
- 🐞 on a custom target without an executable set debugs the program its
  command runs, as the build system has it (Ninja's edge, a Makefile's
  recipe): its arguments, directory and cmake -E env variables; what the
  target depends on is built first, not the target itself
- Debug for custom targets in the status bar, the Targets view and the
  code lenses above add_custom_target
- Dockerfile (Node, CMake, Ninja, g++, GDB), scripts/docker.sh to run a
  command in it, a dev container, and example/ to try the extension on

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:38:08 +01:00
Tomáš ČerníkandClaude Opus 5.5 fe6fd8be69 VS Code CMake Helper: first implementation
Build / build (pull_request) Successful in 10m29s
CMake the way CLion does it (profiles and presets, targets, run and debug
configurations, CTest), moved out of personal-assistant's cmake-extension
and renamed from CMake Targets.

- Gitea Actions: typecheck, package the .vsix, release it on a v* tag
- Updates: the latest Gitea release is looked at every 10 minutes and
  offered for install; a private repository's token in the secret storage
- cmakeHelper.toolbar: the toolbar in the status bar, the editors' title,
  or VS Code's title bar (workbench.html patched, offered again after
  VS Code or extension updates)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:05:39 +01:00
3 changed files with 4 additions and 28 deletions

No files matched your search

+1 -3
View File
@@ -66,9 +66,7 @@ git.cernikovi.cz on start and every 10 minutes, and offers a newer one: Install
downloads its `.vsix` and installs it. The repository is private, so it needs a downloads its `.vsix` and installs it. The repository is private, so it needs a
Gitea access token with read access: **CMake: Set Gitea Token for CMake Helper Gitea access token with read access: **CMake: Set Gitea Token for CMake Helper
Updates** (kept in VS Code's secret storage). **CMake: Check for CMake Helper Updates** (kept in VS Code's secret storage). **CMake: Check for CMake Helper
Updates** looks now; it's also in the Targets view's `…` menu and in the Updates** looks now; `cmakeHelper.updates.check` turns it off.
extension's context menu in the Extensions view. `cmakeHelper.updates.check`
turns it off.
A release is made by the CI on a `v*` tag matching the version in `package.json`. A release is made by the CI on a `v*` tag matching the version in `package.json`.
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "vs-code-cmake-helper", "name": "vs-code-cmake-helper",
"version": "0.1.1", "version": "0.1.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "vs-code-cmake-helper", "name": "vs-code-cmake-helper",
"version": "0.1.1", "version": "0.1.0",
"license": "UNLICENSED", "license": "UNLICENSED",
"devDependencies": { "devDependencies": {
"@types/node": "^20.0.0", "@types/node": "^20.0.0",
+1 -23
View File
@@ -2,7 +2,7 @@
"name": "vs-code-cmake-helper", "name": "vs-code-cmake-helper",
"displayName": "VS Code CMake Helper", "displayName": "VS Code CMake Helper",
"description": "CMake the way CLion does it: profiles and presets, targets with their sources, one active target to build, run and debug, run configurations per target, CTest in the Test Explorer.", "description": "CMake the way CLion does it: profiles and presets, targets with their sources, one active target to build, run and debug, run configurations per target, CTest in the Test Explorer.",
"version": "0.1.1", "version": "0.1.0",
"publisher": "cernik", "publisher": "cernik",
"license": "UNLICENSED", "license": "UNLICENSED",
"engines": { "engines": {
@@ -362,16 +362,6 @@
"command": "cmakeHelper.editGdbConfigurations", "command": "cmakeHelper.editGdbConfigurations",
"when": "view == cmakeHelper.targets", "when": "view == cmakeHelper.targets",
"group": "2_cmake@3" "group": "2_cmake@3"
},
{
"command": "cmakeHelper.checkForUpdates",
"when": "view == cmakeHelper.targets",
"group": "3_updates@1"
},
{
"command": "cmakeHelper.setUpdateToken",
"when": "view == cmakeHelper.targets",
"group": "3_updates@2"
} }
], ],
"view/item/context": [ "view/item/context": [
@@ -461,18 +451,6 @@
"group": "2_edit@0" "group": "2_edit@0"
} }
], ],
"extension/context": [
{
"command": "cmakeHelper.checkForUpdates",
"when": "extension == cernik.vs-code-cmake-helper",
"group": "cmakeHelper@1"
},
{
"command": "cmakeHelper.setUpdateToken",
"when": "extension == cernik.vs-code-cmake-helper",
"group": "cmakeHelper@2"
}
],
"editor/title/run": [ "editor/title/run": [
{ {
"command": "cmakeHelper.run", "command": "cmakeHelper.run",