Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,36 @@
"title": "C/C++ Pro: Generate compile_commands.json from CMakeLists.txt",
"category": "C/C++"
},
{
"command": "c-cpp-pro.cmake.selectConfigurePreset",
"title": "C/C++ Pro: Select CMake Configure Preset",
"category": "C/C++"
},
{
"command": "c-cpp-pro.cmake.selectBuildPreset",
"title": "C/C++ Pro: Select CMake Build Preset",
"category": "C/C++"
},
{
"command": "c-cpp-pro.cmake.selectLaunchTarget",
"title": "C/C++ Pro: Select Active CMake Launch Target",
"category": "C/C++"
},
{
"command": "c-cpp-pro.cmake.debugTarget",
"title": "C/C++ Pro: Debug Active CMake Target",
"category": "C/C++"
},
{
"command": "c-cpp-pro.cmake.launchTarget",
"title": "C/C++ Pro: Run Active CMake Target",
"category": "C/C++"
},
{
"command": "c-cpp-pro.cmake.compileActiveFile",
"title": "C/C++ Pro: Compile Active File (Syntax & Diagnostics)",
"category": "C/C++"
},
{
"command": "c-cpp-pro.openSettings",
"title": "C/C++ Pro: Open Configuration Panel",
Expand Down Expand Up @@ -281,6 +311,13 @@
"when": "editorLangId == cpp || editorLangId == c",
"group": "navigation@2"
}
],
"editor/context": [
{
"command": "c-cpp-pro.cmake.compileActiveFile",
"when": "editorLangId == cpp || editorLangId == c",
"group": "1_modification@10"
}
]
},
"keybindings": [
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/cmake-watcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class CMakeWatcher implements vscode.Disposable {
) {
// Watch for build artifacts and CMake configuration changes
this.watcher = vscode.workspace.createFileSystemWatcher(
'{**/compile_commands.json,**/compile_flags.txt,**/.clangd,**/CMakeLists.txt,**/CMakePresets.json,**/CMakeUserPresets.json}'
'{**/compile_commands.json,**/compile_flags.txt,**/.clangd,**/CMakeLists.txt,**/CMakePresets.json,**/CMakeUserPresets.json,**/.cmake/api/v1/reply/*.json}'
);

this.disposables.push(
Expand Down
Loading
Loading