vscode-cmake-tools/package.json

1634 строки
53 KiB
JSON

{
"name": "cmake-tools",
"displayName": "CMake Tools",
"description": "Extended CMake support in Visual Studio Code",
"version": "1.4.1",
"publisher": "ms-vscode",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode-cmake-tools"
},
"bugs": {
"url": "https://github.com/microsoft/vscode-cmake-tools/issues"
},
"homepage": "https://github.com/microsoft/vscode-cmake-tools",
"keywords": [
"cmake",
"tools",
"build",
"c++",
"native"
],
"engines": {
"vscode": "^1.30.0"
},
"categories": [
"Other"
],
"galleryBanner": {
"color": "#13578c",
"theme": "dark"
},
"icon": "res/logo.png",
"activationEvents": [
"onCommand:cmake.build",
"onCommand:cmake.buildAll",
"onCommand:cmake.buildWithTarget",
"onCommand:cmake.clean",
"onCommand:cmake.cleanAll",
"onCommand:cmake.cleanConfigure",
"onCommand:cmake.cleanConfigureAll",
"onCommand:cmake.cleanRebuild",
"onCommand:cmake.cleanRebuildAll",
"onCommand:cmake.configure",
"onCommand:cmake.configureAll",
"onCommand:cmake.ctest",
"onCommand:cmake.ctestAll",
"onCommand:cmake.debugTarget",
"onCommand:cmake.debugTargetAll",
"onCommand:cmake.editCache",
"onCommand:cmake.editKits",
"onCommand:cmake.viewLog",
"onCommand:cmake.install",
"onCommand:cmake.installAll",
"onCommand:cmake.launchTarget",
"onCommand:cmake.launchTargetAll",
"onCommand:cmake.launchTargetPath",
"onCommand:cmake.launchTargetDirectory",
"onCommand:cmake.buildType",
"onCommand:cmake.buildDirectory",
"onCommand:cmake.executableTargets",
"onCommand:cmake.buildKit",
"onCommand:cmake.tasksBuildCommand",
"onCommand:cmake.quickStart",
"onCommand:cmake.resetState",
"onCommand:cmake.scanForKits",
"onCommand:cmake.selectActiveFolder",
"onCommand:cmake.selectLaunchTarget",
"onCommand:cmake.setVariant",
"onCommand:cmake.setVariantAll",
"onCommand:cmake.stop",
"onCommand:cmake.stopAll",
"onCommand:cmake.outline.configureAll",
"onCommand:cmake.outline.buildAll",
"workspaceContains:**/CMakeLists.txt",
"workspaceContains:.vscode/cmake-kits.json"
],
"main": "./dist/main",
"contributes": {
"commands": [
{
"command": "cmake.viewLog",
"title": "%cmake-tools.command.cmake.viewLog.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.selectActiveFolder",
"title": "%cmake-tools.command.cmake.selectActiveFolder.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.editKits",
"title": "%cmake-tools.command.cmake.editKits.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.scanForKits",
"title": "%cmake-tools.command.cmake.scanForKits.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.selectKit",
"title": "%cmake-tools.command.cmake.selectKit.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.setVariant",
"title": "%cmake-tools.command.cmake.setVariant.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.setVariantAll",
"title": "%cmake-tools.command.cmake.setVariantAll.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.configure",
"title": "%cmake-tools.command.cmake.configure.title%",
"category": "CMake"
},
{
"command": "cmake.configureAll",
"title": "%cmake-tools.command.cmake.configureAll.title%",
"category": "CMake"
},
{
"command": "cmake.outline.configure",
"title": "%cmake-tools.command.cmake.configure.title%",
"icon": {
"dark": "res/dark/configure-icon.svg",
"light": "res/light/configure-icon.svg"
}
},
{
"command": "cmake.outline.configureAll",
"title": "%cmake-tools.command.cmake.configureAll.title%",
"icon": {
"dark": "res/dark/configure-icon.svg",
"light": "res/light/configure-icon.svg"
}
},
{
"command": "cmake.build",
"title": "%cmake-tools.command.cmake.build.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.buildAll",
"title": "%cmake-tools.command.cmake.buildAll.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.buildNamedTarget",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.buildNamedTarget.title%"
},
{
"command": "cmake.outline.build",
"title": "%cmake-tools.command.cmake.build.title%",
"when": "cmake:enableFullFeatureSet",
"icon": {
"dark": "res/dark/build-icon.svg",
"light": "res/light/build-icon.svg"
}
},
{
"command": "cmake.outline.buildAll",
"title": "%cmake-tools.command.cmake.buildAll.title%",
"when": "cmake:enableFullFeatureSet",
"icon": {
"dark": "res/dark/build-icon.svg",
"light": "res/light/build-icon.svg"
}
},
{
"command": "cmake.compileFile",
"title": "%cmake-tools.command.cmake.compileFile.title%",
"category": "CMake",
"when": "cmake:enableFullFeatureSet",
"icon": {
"dark": "res/dark/build-icon.svg",
"light": "res/light/build-icon.svg"
}
},
{
"command": "cmake.outline.compileFile",
"title": "%cmake-tools.command.cmake.outline.compileFile.title%",
"when": "cmake:enableFullFeatureSet",
"icon": {
"dark": "res/dark/build-icon.svg",
"light": "res/light/build-icon.svg"
}
},
{
"command": "cmake.outline.selectWorkspace",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.selectActiveFolder.title%",
"icon": "$(gear)"
},
{
"command": "cmake.install",
"title": "%cmake-tools.command.cmake.install.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.installAll",
"title": "%cmake-tools.command.cmake.installAll.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.buildWithTarget",
"title": "%cmake-tools.command.cmake.buildWithTarget.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.setDefaultTarget",
"title": "%cmake-tools.command.cmake.setDefaultTarget.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.cleanConfigure",
"title": "%cmake-tools.command.cmake.cleanConfigure.title%",
"category": "CMake"
},
{
"command": "cmake.cleanConfigureAll",
"title": "%cmake-tools.command.cmake.cleanConfigureAll.title%",
"category": "CMake"
},
{
"command": "cmake.outline.cleanConfigure",
"title": "%cmake-tools.command.cmake.outline.cleanConfigure.title%"
},
{
"command": "cmake.outline.cleanConfigureAll",
"title": "%cmake-tools.command.cmake.outline.cleanConfigureAll.title%"
},
{
"command": "cmake.clean",
"title": "%cmake-tools.command.cmake.clean.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.cleanAll",
"title": "%cmake-tools.command.cmake.cleanAll.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.outline.clean",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.clean.title%"
},
{
"command": "cmake.outline.cleanAll",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.cleanAll.title%"
},
{
"command": "cmake.cleanRebuild",
"title": "%cmake-tools.command.cmake.cleanRebuild.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.cleanRebuildAll",
"title": "%cmake-tools.command.cmake.cleanRebuildAll.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.outline.cleanRebuild",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.cleanRebuild.title%"
},
{
"command": "cmake.outline.cleanRebuildAll",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.cleanRebuildAll.title%"
},
{
"command": "cmake.ctest",
"title": "%cmake-tools.command.cmake.ctest.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.ctestAll",
"title": "%cmake-tools.command.cmake.ctestAll.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.editCache",
"title": "%cmake-tools.command.cmake.editCache.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.quickStart",
"title": "%cmake-tools.command.cmake.quickStart.title%",
"category": "CMake"
},
{
"command": "cmake.debugTarget",
"title": "%cmake-tools.command.cmake.debugTarget.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.debugTargetAll",
"title": "%cmake-tools.command.cmake.debugTargetAll.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.launchTarget",
"title": "%cmake-tools.command.cmake.launchTarget.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.launchTargetAll",
"title": "%cmake-tools.command.cmake.launchTargetAll.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.selectLaunchTarget",
"title": "%cmake-tools.command.cmake.selectLaunchTarget.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.stop",
"title": "%cmake-tools.command.cmake.stop.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.stopAll",
"title": "%cmake-tools.command.cmake.stopAll.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.outline.stop",
"title": "%cmake-tools.command.cmake.stop.title%",
"when": "cmake:enableFullFeatureSet",
"icon": {
"dark": "res/dark/stop-icon.svg",
"light": "res/light/stop-icon.svg"
}
},
{
"command": "cmake.outline.stopAll",
"title": "%cmake-tools.command.cmake.stopAll.title%",
"when": "cmake:enableFullFeatureSet",
"icon": {
"dark": "res/dark/stop-icon.svg",
"light": "res/light/stop-icon.svg"
}
},
{
"command": "cmake.resetState",
"title": "%cmake-tools.command.cmake.resetState.title%",
"when": "cmake:enableFullFeatureSet",
"category": "CMake"
},
{
"command": "cmake.outline.buildTarget",
"title": "%cmake-tools.command.cmake.build.title%",
"when": "cmake:enableFullFeatureSet",
"icon": {
"dark": "res/dark/build-icon.svg",
"light": "res/light/build-icon.svg"
}
},
{
"command": "cmake.outline.runUtilityTarget",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.outline.runUtilityTarget.title%"
},
{
"command": "cmake.outline.debugTarget",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.outline.debugTarget.title%"
},
{
"command": "cmake.outline.launchTarget",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.outline.launchTarget.title%"
},
{
"command": "cmake.outline.setDefaultTarget",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.outline.setDefaultTarget.title%"
},
{
"command": "cmake.outline.setLaunchTarget",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.outline.setLaunchTarget.title%"
},
{
"command": "cmake.outline.revealInCMakeLists",
"when": "cmake:enableFullFeatureSet",
"title": "%cmake-tools.command.cmake.outline.revealInCMakeLists.title%"
}
],
"menus": {
"commandPalette": [
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.viewLog"
},
{
"command": "cmake.configure"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.scanForKits"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.selectKit"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.editKits"
},
{
"command": "cmake.quickStart"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.selectActiveFolder"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.resetState"
},
{
"command": "cmake.configureAll",
"when": "cmake:multiRoot"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.build"
},
{
"command": "cmake.buildAll",
"when": "cmake:multiRoot && cmake:enableFullFeatureSet"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.install"
},
{
"command": "cmake.installAll",
"when": "cmake:multiRoot && cmake:enableFullFeatureSet"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.buildWithTarget"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.compileFile"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.setVariant"
},
{
"command": "cmake.setVariantAll",
"when": "cmake:multiRoot && cmake:enableFullFeatureSet"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.setDefaultTarget"
},
{
"command": "cmake.cleanConfigure"
},
{
"command": "cmake.cleanConfigureAll",
"when": "cmake:multiRoot"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.clean"
},
{
"command": "cmake.cleanAll",
"when": "cmake:multiRoot && cmake:enableFullFeatureSet"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.cleanRebuild"
},
{
"command": "cmake.cleanRebuildAll",
"when": "cmake:multiRoot && cmake:enableFullFeatureSet"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.ctest"
},
{
"command": "cmake.ctestAll",
"when": "cmake:multiRoot && cmake:enableFullFeatureSet"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.editCache"
},
{
"command": "cmake.debugTarget",
"when": "!cmake:hideDebugCommand && cmake:enableFullFeatureSet"
},
{
"command": "cmake.debugTargetAll",
"when": "cmake:multiRoot && !cmake:hideDebugCommand && cmake:enableFullFeatureSet"
},
{
"command": "cmake.launchTarget",
"when": "!cmake:hideLaunchCommand && cmake:enableFullFeatureSet"
},
{
"command": "cmake.launchTargetAll",
"when": "cmake:multiRoot && !cmake:hideLaunchCommand && cmake:enableFullFeatureSet"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.selectLaunchTarget"
},
{
"when": "cmake:enableFullFeatureSet",
"command": "cmake.stop"
},
{
"command": "cmake.stopAll",
"when": "cmake:multiRoot && cmake:enableFullFeatureSet"
},
{
"command": "cmake.outline.configure",
"when": "never"
},
{
"command": "cmake.outline.configureAll",
"when": "never"
},
{
"command": "cmake.outline.build",
"when": "never"
},
{
"command": "cmake.outline.buildAll",
"when": "never"
},
{
"command": "cmake.outline.compileFile",
"when": "never"
},
{
"command": "cmake.outline.selectWorkspace",
"when": "never"
},
{
"command": "cmake.outline.cleanConfigure",
"when": "never"
},
{
"command": "cmake.outline.cleanConfigureAll",
"when": "never"
},
{
"command": "cmake.outline.clean",
"when": "never"
},
{
"command": "cmake.outline.cleanAll",
"when": "never"
},
{
"command": "cmake.outline.cleanRebuild",
"when": "never"
},
{
"command": "cmake.outline.cleanRebuildAll",
"when": "never"
},
{
"command": "cmake.outline.stop",
"when": "never"
},
{
"command": "cmake.outline.stopAll",
"when": "never"
},
{
"command": "cmake.outline.buildTarget",
"when": "never"
},
{
"command": "cmake.outline.runUtilityTarget",
"when": "never"
},
{
"command": "cmake.outline.debugTarget",
"when": "never"
},
{
"command": "cmake.outline.launchTarget",
"when": "never"
},
{
"command": "cmake.outline.setDefaultTarget",
"when": "never"
},
{
"command": "cmake.outline.setLaunchTarget",
"when": "never"
},
{
"command": "cmake.outline.revealInCMakeLists",
"when": "never"
}
],
"view/title": [
{
"command": "cmake.outline.configureAll",
"when": "view == cmake.outline && !cmake:isBuilding",
"group": "navigation@1"
},
{
"command": "cmake.outline.buildAll",
"when": "view == cmake.outline && !cmake:isBuilding && cmake:enableFullFeatureSet",
"group": "navigation@2"
},
{
"command": "cmake.outline.stopAll",
"when": "view == cmake.outline && cmake:isBuilding && cmake:enableFullFeatureSet",
"group": "navigation@3"
},
{
"command": "cmake.outline.cleanAll",
"when": "view == cmake.outline && cmake:enableFullFeatureSet",
"group": "1_cmakeOutline"
},
{
"command": "cmake.outline.cleanConfigureAll",
"when": "view == cmake.outline",
"group": "1_cmakeOutline"
},
{
"command": "cmake.outline.cleanRebuildAll",
"when": "view == cmake.outline && cmake:enableFullFeatureSet",
"group": "1_cmakeOutline"
}
],
"view/item/context": [
{
"command": "cmake.outline.buildTarget",
"when": "view == cmake.outline && cmake:enableFullFeatureSet && viewItem =~ /canBuild=true|canRun=true/",
"group": "inline"
},
{
"command": "cmake.outline.buildTarget",
"when": "view == cmake.outline && cmake:enableFullFeatureSet && viewItem =~ /canBuild=true/",
"group": "1_targetActions@1"
},
{
"command": "cmake.outline.runUtilityTarget",
"when": "view == cmake.outline && cmake:enableFullFeatureSet && viewItem =~ /canRun=true/",
"group": "1_targetActions@2"
},
{
"command": "cmake.outline.debugTarget",
"when": "view == cmake.outline && cmake:enableFullFeatureSet && viewItem =~ /type=EXECUTABLE/",
"group": "1_targetActions@3"
},
{
"command": "cmake.outline.launchTarget",
"when": "view == cmake.outline && cmake:enableFullFeatureSet && viewItem =~ /type=EXECUTABLE/",
"group": "1_targetActions@4"
},
{
"command": "cmake.outline.revealInCMakeLists",
"when": "view == cmake.outline && cmake:enableFullFeatureSet && viewItem =~ /nodeType=target/",
"group": "1_targetActions@5"
},
{
"command": "cmake.outline.setDefaultTarget",
"when": "view == cmake.outline && cmake:enableFullFeatureSet && viewItem =~ /canRun=true|canBuild=true/ && viewItem =~ /isDefault=false/",
"group": "2_targetState@1"
},
{
"command": "cmake.outline.setLaunchTarget",
"when": "view == cmake.outline && cmake:enableFullFeatureSet && viewItem =~ /type=EXECUTABLE/ && viewItem =~ /isLaunch=false/",
"group": "2_targetState@2"
},
{
"command": "cmake.outline.configureAll",
"when": "view == cmake.outline && viewItem =~ /nodeType=file/ && viewItem =~ /cmakelists=true/",
"group": "1_fileActions@1"
},
{
"command": "cmake.outline.buildAll",
"when": "cmake:enableFullFeatureSet && view == cmake.outline && viewItem =~ /nodeType=file/ && viewItem =~ /cmakelists=true/",
"group": "1_fileActions@2"
},
{
"command": "cmake.outline.cleanAll",
"when": "cmake:enableFullFeatureSet && view == cmake.outline && viewItem =~ /nodeType=file/ && viewItem =~ /cmakelists=true/",
"group": "1_fileActions@3"
},
{
"command": "cmake.outline.cleanConfigureAll",
"when": "view == cmake.outline && viewItem =~ /nodeType=file/ && viewItem =~ /cmakelists=true/",
"group": "1_fileActions@4"
},
{
"command": "cmake.outline.cleanRebuildAll",
"when": "cmake:enableFullFeatureSet && view == cmake.outline && viewItem =~ /nodeType=file/ && viewItem =~ /cmakelists=true/",
"group": "1_fileActions@5"
},
{
"command": "cmake.outline.compileFile",
"when": "cmake:enableFullFeatureSet && view == cmake.outline && viewItem =~ /nodeType=file/ && viewItem =~ /compilable=true/",
"group": "1_fileActions@6"
},
{
"command": "cmake.outline.compileFile",
"when": "cmake:enableFullFeatureSet && view == cmake.outline && viewItem =~ /nodeType=file/ && viewItem =~ /compilable=true/",
"group": "inline"
},
{
"command": "cmake.outline.configureAll",
"when": "view == cmake.outline && viewItem =~ /nodeType=file/ && viewItem =~ /cmakelists=true/",
"group": "inline"
},
{
"command": "cmake.outline.selectWorkspace",
"when": "cmake:enableFullFeatureSet && view == cmake.outline && viewItem =~ /nodeType=workspace/ && viewItem =~ /selected=false/",
"group": "inline"
}
],
"editor/title/context": [
{
"command": "cmake.compileFile",
"when": "resourceLangId == cpp && cmake:enableFullFeatureSet"
},
{
"command": "cmake.compileFile",
"when": "resourceLangId == c && cmake:enableFullFeatureSet"
}
],
"editor/title": [
{
"command": "cmake.compileFile",
"when": "resourceLangId == cpp && cmake:enableFullFeatureSet",
"group": "navigation"
},
{
"command": "cmake.compileFile",
"when": "resourceLangId == c && cmake:enableFullFeatureSet",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "cmake.compileFile",
"when": "resourceLangId == cpp && cmake:enableFullFeatureSet"
},
{
"command": "cmake.compileFile",
"when": "resourceLangId == c && cmake:enableFullFeatureSet"
},
{
"command": "cmake.outline.configureAll",
"when": "resourceFilename == CMakeLists.txt"
},
{
"command": "cmake.outline.buildAll",
"when": "resourceFilename == CMakeLists.txt && cmake:enableFullFeatureSet"
},
{
"command": "cmake.outline.cleanAll",
"when": "resourceFilename == CMakeLists.txt && cmake:enableFullFeatureSet"
},
{
"command": "cmake.outline.cleanConfigureAll",
"when": "resourceFilename == CMakeLists.txt"
},
{
"command": "cmake.outline.cleanRebuildAll",
"when": "resourceFilename == CMakeLists.txt && cmake:enableFullFeatureSet"
}
]
},
"configuration": {
"type": "object",
"title": "CMake Tools configuration",
"properties": {
"cmake.autoSelectActiveFolder": {
"type": "boolean",
"default": true,
"description": "%cmake-tools.configuration.cmake.autoSelectActiveFolder.description%",
"scope": "window"
},
"cmake.cmakePath": {
"type": "string",
"default": "cmake",
"description": "%cmake-tools.configuration.cmake.cmakePath.description%",
"scope": "resource"
},
"cmake.buildDirectory": {
"type": "string",
"default": "${workspaceFolder}/build",
"description": "%cmake-tools.configuration.cmake.buildDirectory.description%",
"scope": "resource"
},
"cmake.installPrefix": {
"type": "string",
"default": null,
"description": "%cmake-tools.configuration.cmake.installPrefix.description%",
"scope": "resource"
},
"cmake.sourceDirectory": {
"type": "string",
"default": "${workspaceFolder}",
"description": "%cmake-tools.configuration.cmake.sourceDirectory.description%",
"scope": "resource"
},
"cmake.saveBeforeBuild": {
"type": "boolean",
"default": true,
"description": "%cmake-tools.configuration.cmake.saveBeforeBuild.description%",
"scope": "resource"
},
"cmake.buildBeforeRun": {
"type": "boolean",
"default": true,
"description": "%cmake-tools.configuration.cmake.buildBeforeRun.description%",
"scope": "resource"
},
"cmake.clearOutputBeforeBuild": {
"type": "boolean",
"default": true,
"description": "%cmake-tools.configuration.cmake.clearOutputBeforeBuild.description%",
"scope": "window"
},
"cmake.configureSettings": {
"type": "object",
"default": {},
"description": "%cmake-tools.configuration.cmake.configureSettings.description%",
"scope": "resource"
},
"cmake.cacheInit": {
"oneOf": [
{
"type": "string",
"description": "%cmake-tools.configuration.cmake.cacheInit.string.description%"
},
{
"type": "array",
"description": "%cmake-tools.configuration.cmake.cacheInit.array.description%",
"items": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.cacheInit.array.string.description%"
}
}
],
"scope": "resource"
},
"cmake.preferredGenerators": {
"type": "array",
"default": [],
"description": "%cmake-tools.configuration.cmake.preferredGenerators.description%",
"scope": "resource"
},
"cmake.generator": {
"type": "string",
"default": null,
"description": "%cmake-tools.configuration.cmake.generator.description%",
"scope": "resource"
},
"cmake.toolset": {
"type": "string",
"default": null,
"description": "%cmake-tools.configuration.cmake.toolset.description%",
"scope": "resource"
},
"cmake.platform": {
"type": "string",
"default": null,
"description": "%cmake-tools.configuration.cmake.platform.description%",
"scope": "resource"
},
"cmake.configureArgs": {
"type": "array",
"description": "%cmake-tools.configuration.cmake.configureArgs.description%",
"items": {
"type": "string",
"title": "CMake Arguments"
},
"default": [],
"scope": "resource"
},
"cmake.buildArgs": {
"type": "array",
"description": "%cmake-tools.configuration.cmake.buildArgs.description%",
"items": {
"type": "string"
},
"default": [],
"scope": "resource"
},
"cmake.buildToolArgs": {
"type": "array",
"description": "%cmake-tools.configuration.cmake.buildToolArgs.description%",
"items": {
"type": "string"
},
"default": [],
"scope": "resource"
},
"cmake.parallelJobs": {
"type": "number",
"default": 0,
"description": "%cmake-tools.configuration.cmake.parallelJobs.description%",
"scope": "resource"
},
"cmake.ctestPath": {
"type": "string",
"default": null,
"description": "%cmake-tools.configuration.cmake.ctestPath.description%",
"scope": "resource"
},
"cmake.ctest.parallelJobs": {
"type": "number",
"default": 0,
"description": "%cmake-tools.configuration.cmake.ctest.parallelJobs.description%",
"scope": "resource"
},
"cmake.parseBuildDiagnostics": {
"type": "boolean",
"default": true,
"description": "%cmake-tools.configuration.cmake.parseBuildDiagnostics.description%",
"scope": "resource"
},
"cmake.enabledOutputParsers": {
"type": "array",
"description": "%cmake-tools.configuration.cmake.enabledOutputParsers.description%",
"items": {
"type": "string",
"enum": [
"cmake",
"gcc",
"gnuld",
"msvc",
"ghs"
]
},
"default": [
"cmake",
"gcc",
"gnuld",
"msvc",
"ghs"
],
"scope": "resource"
},
"cmake.debugConfig": {
"type": "object",
"description": "%cmake-tools.configuration.cmake.debugConfig.description%",
"properties": {
"symbolSearchPath": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.symbolSearchPath.description%"
},
"additionalSOLibSearchPath": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.additionalSOLibSearchPath.description%"
},
"externalConsole": {
"type": "boolean",
"description": "%cmake-tools.configuration.cmake.debugConfig.externalConsole.description%"
},
"logging": {
"type": "object",
"description": "%cmake-tools.configuration.cmake.debugConfig.logging.description%",
"properties": {
"exceptions": {
"type": "boolean",
"default": true
},
"moduleLoad": {
"type": "boolean",
"default": true
},
"programOutput": {
"type": "boolean",
"default": true
},
"engineLogging": {
"type": "boolean",
"default": false
},
"trace": {
"type": "boolean",
"default": false
},
"traceResponse": {
"type": "boolean",
"default": false
}
}
},
"visualizerFile": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.visualizerFile.description%"
},
"args": {
"type": "array",
"description": "%cmake-tools.configuration.cmake.debugConfig.args.description%",
"items": {
"type": "string"
},
"default": []
},
"cwd": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.cwd.description%"
},
"environment": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.environment.name.description%"
},
"value": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.environment.value.description%"
}
}
}
},
"MIMode": {
"type": "string",
"enum": [
"gdb",
"lldb"
]
},
"miDebuggerPath": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.miDebuggerPath.description%"
},
"stopAtEntry": {
"type": "boolean",
"description": "%cmake-tools.configuration.cmake.debugConfig.stopAtEntry.description%",
"default": false
},
"setupCommands": {
"type": "array",
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.description%",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.text.description%"
},
"description": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.description.description%"
},
"ignoreFailures": {
"type": "boolean",
"default": false
}
}
}
},
"customLaunchSetupCommands": {
"type": "array",
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.description%",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.text.description%"
},
"description": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.description.description%"
},
"ignoreFailures": {
"type": "boolean",
"default": false
}
}
}
},
"launchCompleteCommand": {
"type": "string"
},
"dumpPath": {
"type": "string"
},
"coreDumpPath": {
"type": "string"
}
},
"scope": "resource"
},
"cmake.defaultVariants": {
"type": "object",
"$schema": "cmake-tools-schema://schemas/variants-schema.json",
"default": {
"buildType": {
"default": "debug",
"description": "%cmake-tools.configuration.cmake.defaultVariants.buildType.description%",
"choices": {
"debug": {
"short": "Debug",
"long": "%cmake-tools.configuration.cmake.defaultVariants.buildType.debug.long%",
"buildType": "Debug"
},
"release": {
"short": "Release",
"long": "%cmake-tools.configuration.cmake.defaultVariants.buildType.release.long%",
"buildType": "Release"
},
"minsize": {
"short": "MinSizeRel",
"long": "%cmake-tools.configuration.cmake.defaultVariants.buildType.minsize.long%",
"buildType": "MinSizeRel"
},
"reldeb": {
"short": "RelWithDebInfo",
"long": "%cmake-tools.configuration.cmake.defaultVariants.buildType.reldeb.long%",
"buildType": "RelWithDebInfo"
}
}
}
},
"scope": "resource"
},
"cmake.ctestArgs": {
"type": "array",
"items": {
"type": "string"
},
"description": "%cmake-tools.configuration.cmake.ctestArgs.description%",
"default": [],
"scope": "resource"
},
"cmake.environment": {
"type": "object",
"default": {},
"description": "%cmake-tools.configuration.cmake.environment.description%",
"additionalProperties": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.environment.additionalProperties.description%"
},
"scope": "resource"
},
"cmake.configureEnvironment": {
"type": "object",
"default": {},
"description": "%cmake-tools.configuration.cmake.configureEnvironment.description%",
"additionalProperties": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.environment.additionalProperties.description%"
},
"scope": "resource"
},
"cmake.buildEnvironment": {
"type": "object",
"default": {},
"description": "%cmake-tools.configuration.cmake.buildEnvironment.description%",
"additionalProperties": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.environment.additionalProperties.description%"
},
"scope": "resource"
},
"cmake.testEnvironment": {
"type": "object",
"default": {},
"description": "%cmake-tools.configuration.cmake.testEnvironment.description%",
"additionalProperties": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.environment.additionalProperties.description%"
},
"scope": "resource"
},
"cmake.mingwSearchDirs": {
"type": "array",
"items": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.searchDirs.items.description%"
},
"default": [
"C:\\MinGW"
],
"description": "%cmake-tools.configuration.cmake.mingwSearchDirs.description%",
"scope": "window"
},
"cmake.emscriptenSearchDirs": {
"type": "array",
"items": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.searchDirs.items.description%"
},
"default": [],
"description": "%cmake-tools.configuration.cmake.emscriptenSearchDirs.description%",
"scope": "window"
},
"cmake.copyCompileCommands": {
"type": "string",
"default": null,
"description": "%cmake-tools.configuration.cmake.copyCompileCommands.description%",
"scope": "resource"
},
"cmake.configureOnOpen": {
"type": "boolean",
"default": null,
"description": "%cmake-tools.configuration.cmake.configureOnOpen.description%",
"scope": "resource"
},
"cmake.configureOnEdit": {
"type": "boolean",
"default": true,
"description": "%cmake-tools.configuration.cmake.configureOnEdit.description%",
"scope": "resource"
},
"cmake.skipConfigureIfCachePresent": {
"type": "boolean",
"default": null,
"description": "%cmake-tools.configuration.cmake.skipConfigureIfCachePresent.description%",
"scope": "resource"
},
"cmake.cmakeCommunicationMode": {
"type": "string",
"default": "automatic",
"enum": [
"legacy",
"serverApi",
"fileApi",
"automatic"
],
"description": "%cmake-tools.configuration.cmake.cmakeCommunicationMode%",
"scope": "resource"
},
"cmake.ignoreKitEnv": {
"type": "boolean",
"default": false,
"description": "%cmake-tools.configuration.cmake.ignoreKitEnv.description%",
"scope": "resource"
},
"cmake.buildTask": {
"type": "boolean",
"default": false,
"description": "%cmake-tools.configuration.cmake.buildTask.description%",
"scope": "resource"
},
"cmake.outputLogEncoding": {
"type": "string",
"default": "auto",
"description": "%cmake-tools.configuration.cmake.outputLogEncoding.description%",
"scope": "window"
},
"cmake.enableTraceLogging": {
"type": "boolean",
"default": false,
"description": "%cmake-tools.configuration.cmake.enableTraceLogging.description%",
"scope": "window"
},
"cmake.loggingLevel": {
"type": "string",
"default": "info",
"enum": [
"trace",
"debug",
"info",
"note",
"warning",
"error",
"fatal"
],
"scope": "window"
},
"cmake.statusbar.visibility": {
"type": "string",
"default": "default",
"description": "%cmake-tools.configuration.cmake.statusbar.visibility.description%",
"enum": [
"default",
"compact",
"icon",
"hidden"
],
"scope": "window"
},
"cmake.statusbar.advanced": {
"type": "object",
"default": {},
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.description%",
"properties": {
"kit": {
"type": "object",
"properties": {
"visibility": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.visibility.description%",
"enum": [
"default",
"compact",
"icon",
"hidden"
]
},
"length": {
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.length.description%",
"type": "integer",
"default": 20
}
}
},
"status": {
"type": "object",
"properties": {
"visibility": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.visibility.description%",
"enum": [
"default",
"compact",
"icon",
"hidden"
]
}
}
},
"workspace": {
"type": "object",
"properties": {
"visibility": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.visibility.description%",
"enum": [
"default",
"compact",
"icon",
"hidden"
]
}
}
},
"buildTarget": {
"type": "object",
"properties": {
"visibility": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.visibility.description%",
"enum": [
"default",
"compact",
"icon",
"hidden"
]
}
}
},
"build": {
"type": "object",
"properties": {
"visibility": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.visibility.description%",
"enum": [
"default",
"compact",
"icon",
"hidden"
]
}
}
},
"launchTarget": {
"type": "object",
"properties": {
"visibility": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.visibility.description%",
"enum": [
"default",
"compact",
"icon",
"hidden"
]
}
}
},
"debug": {
"type": "object",
"properties": {
"visibility": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.visibility.description%",
"enum": [
"default",
"compact",
"icon",
"hidden"
]
}
}
},
"launch": {
"type": "object",
"properties": {
"visibility": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.visibility.description%",
"enum": [
"default",
"compact",
"icon",
"hidden"
]
}
}
},
"ctest": {
"type": "object",
"properties": {
"visibility": {
"type": "string",
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.visibility.description%",
"enum": [
"default",
"compact",
"icon",
"hidden"
]
},
"color": {
"type":"boolean",
"default": false,
"description": "%cmake-tools.configuration.cmake.statusbar.advanced.ctest.color.description%"
}
}
}
}
},
"cmake.revealLog": {
"type": "string",
"default": "always",
"enum": [
"focus",
"always",
"never"
]
}
}
},
"keybindings": [
{
"key": "f7",
"when": "cmake:enableFullFeatureSet",
"command": "cmake.build"
},
{
"key": "shift+f7",
"when": "cmake:enableFullFeatureSet",
"command": "cmake.buildWithTarget"
},
{
"key": "ctrl+f5",
"command": "cmake.debugTarget",
"when": "!inDebugMode && inCMakeProject && !cmake:hideDebugCommand && cmake:enableFullFeatureSet"
},
{
"key": "shift+f5",
"command": "cmake.launchTarget",
"when": "!inDebugMode && !cmake:hideDebugCommand && cmake:enableFullFeatureSet"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "cmake__viewContainer",
"title": "CMake",
"icon": "res/cmake-view-icon.svg",
"when": "cmake:enableFullFeatureSet"
}
]
},
"views": {
"cmake__viewContainer": [
{
"id": "cmake.outline",
"name": "%cmake-tools.configuration.views.cmake.outline.description%",
"when": "cmake:enableFullFeatureSet"
}
]
},
"yamlValidation": [
{
"fileMatch": "cmake-variants.yaml",
"url": "cmake-tools-schema:///schemas/variants-schema.json"
}
],
"jsonValidation": [
{
"fileMatch": "cmake-variants.json",
"url": "cmake-tools-schema:///schemas/variants-schema.json"
},
{
"fileMatch": "cmake-variants.yaml",
"url": "cmake-tools-schema:///schemas/variants-schema.json"
},
{
"fileMatch": "cmake-kits.json",
"url": "cmake-tools-schema:///schemas/kits-schema.json"
}
]
},
"_moduleAliases": {
"@cmt": "out/src/",
"@test": "out/test/"
},
"scripts": {
"vscode:prepublish": "yarn run compile-production",
"compile": "yarn install && webpack --mode development --watch --info-verbosity verbose",
"compile-production": "yarn install && yarn run translations-generate && webpack --mode production --vscode-nls",
"translations-export": "gulp translations-export",
"translations-generate": "gulp translations-generate",
"translations-import": "gulp translations-import",
"pretest": "tsc -p test.tsconfig.json",
"postinstall": "node ./node_modules/vscode/bin/install",
"lint": "node ./node_modules/tslint/bin/tslint -p . --fix",
"lint:nofix": "node ./node_modules/tslint/bin/tslint -p .",
"docs": "node ./node_modules/typedoc/bin/typedoc --mode modules --excludeExternals --out build/docs/dev --readme none src/ types/"
},
"devDependencies": {
"@octokit/rest": "^16.28.9",
"@types/ajv": "^0.0.3",
"@types/chai": "^4.0.4",
"@types/chai-as-promised": "^7.1.0",
"@types/chai-string": "^1.4.1",
"@types/es6-promisify": "~5.0.0",
"@types/js-yaml": "^3.5.28",
"@types/json5": "~0.0.29",
"@types/mocha": "~2.2.41",
"@types/node": "~8.9.3",
"@types/rimraf": "^0.0.28",
"@types/sinon": "~4.3.3",
"@types/tmp": "^0.0.33",
"@types/which": "~1.3.1",
"@types/xml2js": "^0.0.28",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chai-string": "^1.5.0",
"clang-format": "^1.2.2",
"event-stream": "^4.0.1",
"fs-extra": "^8.1.0",
"gulp": "^4.0.2",
"gulp-filter": "^6.0.0",
"gulp-sourcemaps": "^2.6.5",
"gulp-typescript": "^5.0.1",
"jsonc-parser": "^2.1.1",
"minimist": "^1.2.3",
"mocha": "^4.1.0",
"module-alias": "^2.2.1",
"sinon": "~5.0.7",
"ts-loader": "^6.0.4",
"ts-node": "^6.0.0",
"tslint": "^5.9.1",
"typedoc": "^0.15.3",
"typescript": "^3.7.2",
"vscode": "^1.1.36",
"vscode-nls-dev": "^3.2.6",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.7"
},
"dependencies": {
"ajv": "^4.7.5",
"chokidar": "^3.3.0",
"es6-promisify": "~5.0.0",
"handlebars": "^4.5.3",
"iconv-lite": "^0.4.21",
"js-yaml": "^3.6.1",
"json5": "^0.5.1",
"open": "^6.4.0",
"rimraf": "^2.5.4",
"tmp": "^0.0.33",
"vscode-cpptools": "^4.0.1",
"vscode-extension-telemetry": "^0.1.2",
"vscode-nls": "^4.1.1",
"which": "~1.3.0",
"xml2js": "^0.4.17"
},
"resolutions": {
"marked": "^0.7.0",
"diff": "^3.5.0",
"handlebars": "^4.5.3",
"https-proxy-agent": "^2.2.4",
"serialize-javascript": "^2.1.1"
}
}