1060 строки
33 KiB
JSON
1060 строки
33 KiB
JSON
{
|
|
"name": "cmake-tools",
|
|
"displayName": "CMake Tools",
|
|
"description": "Extended CMake support in Visual Studio Code",
|
|
"version": "1.1.3",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/vector-of-bool/vscode-cmake-tools"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/vector-of-bool/vscode-cmake-tools/issues"
|
|
},
|
|
"homepage": "https://github.com/vector-of-bool/vscode-cmake-tools",
|
|
"keywords": [
|
|
"cmake",
|
|
"tools",
|
|
"build",
|
|
"c++",
|
|
"native"
|
|
],
|
|
"publisher": "vector-of-bool",
|
|
"engines": {
|
|
"vscode": "^1.29.1"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"galleryBanner": {
|
|
"color": "#13578c",
|
|
"theme": "dark"
|
|
},
|
|
"icon": "res/icon_128.png",
|
|
"activationEvents": [
|
|
"onCommand:cmake.build",
|
|
"onCommand:cmake.buildWithTarget",
|
|
"onCommand:cmake.clean",
|
|
"onCommand:cmake.cleanConfigure",
|
|
"onCommand:cmake.cleanRebuild",
|
|
"onCommand:cmake.configure",
|
|
"onCommand:cmake.ctest",
|
|
"onCommand:cmake.debugTarget",
|
|
"onCommand:cmake.editCache",
|
|
"onCommand:cmake.editKits",
|
|
"onCommand:cmake.viewLog",
|
|
"onCommand:cmake.install",
|
|
"onCommand:cmake.launchTarget",
|
|
"onCommand:cmake.launchTargetPath",
|
|
"onCommand:cmake.launchTargetDirectory",
|
|
"onCommand:cmake.buildType",
|
|
"onCommand:cmake.buildDirectory",
|
|
"onCommand:cmake.tasksBuildCommand",
|
|
"onCommand:cmake.quickStart",
|
|
"onCommand:cmake.resetState",
|
|
"onCommand:cmake.scanForKits",
|
|
"onCommand:cmake.selectLaunchTarget",
|
|
"onCommand:cmake.setVariant",
|
|
"onCommand:cmake.stop",
|
|
"onCommand:cmake.outline.configure",
|
|
"onCommand:cmake.outline.build",
|
|
"workspaceContains:**/CMakeLists.txt",
|
|
"workspaceContains:.vscode/cmake-kits.json"
|
|
],
|
|
"main": "./dist/main",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "cmake.viewLog",
|
|
"title": "%cmake-tools.command.cmake.viewLog.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.editKits",
|
|
"title": "%cmake-tools.command.cmake.editKits.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.scanForKits",
|
|
"title": "%cmake-tools.command.cmake.scanForKits.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.selectKit",
|
|
"title": "%cmake-tools.command.cmake.selectKit.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.setVariant",
|
|
"title": "%cmake-tools.command.cmake.setVariant.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.configure",
|
|
"title": "%cmake-tools.command.cmake.configure.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.outline.configure",
|
|
"title": "%cmake-tools.command.cmake.configure.title%",
|
|
"icon": {
|
|
"dark": "res/configure-icon.svg",
|
|
"light": "res/configure-icon.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "cmake.build",
|
|
"title": "%cmake-tools.command.cmake.build.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.buildNamedTarget",
|
|
"title": "%cmake-tools.command.cmake.buildNamedTarget.title%"
|
|
},
|
|
{
|
|
"command": "cmake.outline.build",
|
|
"title": "%cmake-tools.command.cmake.build.title%",
|
|
"icon": {
|
|
"dark": "res/build-icon.svg",
|
|
"light": "res/build-icon.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "cmake.compileFile",
|
|
"title": "%cmake-tools.command.cmake.compileFile.title%",
|
|
"category": "CMake",
|
|
"icon": {
|
|
"dark": "res/build-icon.svg",
|
|
"light": "res/build-icon.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "cmake.outline.compileFile",
|
|
"title": "%cmake-tools.command.cmake.outline.compileFile.title%",
|
|
"icon": {
|
|
"dark": "res/build-icon.svg",
|
|
"light": "res/build-icon.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "cmake.install",
|
|
"title": "%cmake-tools.command.cmake.install.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.buildWithTarget",
|
|
"title": "%cmake-tools.command.cmake.buildWithTarget.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.setDefaultTarget",
|
|
"title": "%cmake-tools.command.cmake.setDefaultTarget.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.cleanConfigure",
|
|
"title": "%cmake-tools.command.cmake.cleanConfigure.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.outline.cleanConfigure",
|
|
"title": "%cmake-tools.command.cmake.outline.cleanConfigure.title%"
|
|
},
|
|
{
|
|
"command": "cmake.clean",
|
|
"title": "%cmake-tools.command.cmake.clean.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.outline.clean",
|
|
"title": "%cmake-tools.command.cmake.clean.title%"
|
|
},
|
|
{
|
|
"command": "cmake.cleanRebuild",
|
|
"title": "%cmake-tools.command.cmake.cleanRebuild.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.outline.cleanRebuild",
|
|
"title": "%cmake-tools.command.cmake.cleanRebuild.title%"
|
|
},
|
|
{
|
|
"command": "cmake.ctest",
|
|
"title": "%cmake-tools.command.cmake.ctest.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.editCache",
|
|
"title": "%cmake-tools.command.cmake.editCache.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.quickStart",
|
|
"title": "%cmake-tools.command.cmake.quickStart.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.debugTarget",
|
|
"title": "%cmake-tools.command.cmake.debugTarget.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.launchTarget",
|
|
"title": "%cmake-tools.command.cmake.launchTarget.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.selectLaunchTarget",
|
|
"title": "%cmake-tools.command.cmake.selectLaunchTarget.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.stop",
|
|
"title": "%cmake-tools.command.cmake.stop.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.outline.stop",
|
|
"title": "%cmake-tools.command.cmake.outline.stop.title%",
|
|
"icon": {
|
|
"dark": "res/stop-icon.svg",
|
|
"light": "res/stop-icon.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "cmake.resetState",
|
|
"title": "%cmake-tools.command.cmake.resetState.title%",
|
|
"category": "CMake"
|
|
},
|
|
{
|
|
"command": "cmake.outline.buildTarget",
|
|
"title": "%cmake-tools.command.cmake.build.title%",
|
|
"icon": {
|
|
"dark": "res/build-icon.svg",
|
|
"light": "res/build-icon.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "cmake.outline.runUtilityTarget",
|
|
"title": "%cmake-tools.command.cmake.outline.runUtilityTarget.title%"
|
|
},
|
|
{
|
|
"command": "cmake.outline.debugTarget",
|
|
"title": "%cmake-tools.command.cmake.outline.debugTarget.title%"
|
|
},
|
|
{
|
|
"command": "cmake.outline.launchTarget",
|
|
"title": "%cmake-tools.command.cmake.outline.launchTarget.title%"
|
|
},
|
|
{
|
|
"command": "cmake.outline.setDefaultTarget",
|
|
"title": "%cmake-tools.command.cmake.outline.setDefaultTarget.title%"
|
|
},
|
|
{
|
|
"command": "cmake.outline.setLaunchTarget",
|
|
"title": "%cmake-tools.command.cmake.outline.setLaunchTarget.title%"
|
|
},
|
|
{
|
|
"command": "cmake.outline.revealInCMakeLists",
|
|
"title": "%cmake-tools.command.cmake.outline.revealInCMakeLists.title%"
|
|
}
|
|
],
|
|
"menus": {
|
|
"commandPalette": [
|
|
{
|
|
"command": "cmake.configure"
|
|
},
|
|
{
|
|
"command": "cmake.build"
|
|
},
|
|
{
|
|
"command": "cmake.install"
|
|
},
|
|
{
|
|
"command": "cmake.buildWithTarget"
|
|
},
|
|
{
|
|
"command": "cmake.compileFile"
|
|
},
|
|
{
|
|
"command": "cmake.setVariant"
|
|
},
|
|
{
|
|
"command": "cmake.setDefaultTarget"
|
|
},
|
|
{
|
|
"command": "cmake.setDefaultTarget"
|
|
},
|
|
{
|
|
"command": "cmake.cleanConfigure"
|
|
},
|
|
{
|
|
"command": "cmake.clean"
|
|
},
|
|
{
|
|
"command": "cmake.cleanRebuild"
|
|
},
|
|
{
|
|
"command": "cmake.ctest"
|
|
},
|
|
{
|
|
"command": "cmake.editCache"
|
|
},
|
|
{
|
|
"command": "cmake.debugTarget"
|
|
},
|
|
{
|
|
"command": "cmake.launchTarget"
|
|
},
|
|
{
|
|
"command": "cmake.selectLaunchTarget"
|
|
},
|
|
{
|
|
"command": "cmake.stop"
|
|
}
|
|
],
|
|
"view/title": [
|
|
{
|
|
"command": "cmake.outline.configure",
|
|
"when": "view == cmake.outline && !cmake:isBuilding",
|
|
"group": "navigation@1"
|
|
},
|
|
{
|
|
"command": "cmake.outline.build",
|
|
"when": "view == cmake.outline && !cmake:isBuilding",
|
|
"group": "navigation@2"
|
|
},
|
|
{
|
|
"command": "cmake.outline.stop",
|
|
"when": "view == cmake.outline && cmake:isBuilding",
|
|
"group": "navigation@3"
|
|
},
|
|
{
|
|
"command": "cmake.outline.clean",
|
|
"when": "view == cmake.outline",
|
|
"group": "1_cmakeOutline"
|
|
},
|
|
{
|
|
"command": "cmake.outline.cleanConfigure",
|
|
"when": "view == cmake.outline",
|
|
"group": "1_cmakeOutline"
|
|
},
|
|
{
|
|
"command": "cmake.outline.cleanRebuild",
|
|
"when": "view == cmake.outline",
|
|
"group": "1_cmakeOutline"
|
|
}
|
|
],
|
|
"view/item/context": [
|
|
{
|
|
"command": "cmake.outline.buildTarget",
|
|
"when": "view == cmake.outline && viewItem =~ /canBuild=true/",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "cmake.outline.buildTarget",
|
|
"when": "view == cmake.outline && viewItem =~ /canBuild=true/",
|
|
"group": "1_targetActions@1"
|
|
},
|
|
{
|
|
"command": "cmake.outline.runUtilityTarget",
|
|
"when": "view == cmake.outline && viewItem =~ /canRun=true/",
|
|
"group": "1_targetActions@2"
|
|
},
|
|
{
|
|
"command": "cmake.outline.debugTarget",
|
|
"when": "view == cmake.outline && viewItem =~ /type=EXECUTABLE/",
|
|
"group": "1_targetActions@3"
|
|
},
|
|
{
|
|
"command": "cmake.outline.launchTarget",
|
|
"when": "view == cmake.outline && viewItem =~ /type=EXECUTABLE/",
|
|
"group": "1_targetActions@4"
|
|
},
|
|
{
|
|
"command": "cmake.outline.revealInCMakeLists",
|
|
"when": "view == cmake.outline && viewItem =~ /nodeType=target/",
|
|
"group": "1_targetActions@5"
|
|
},
|
|
{
|
|
"command": "cmake.outline.setDefaultTarget",
|
|
"when": "view == cmake.outline && viewItem =~ /canRun=true|canBuild=true/ && viewItem =~ /isDefault=false/",
|
|
"group": "2_targetState@1"
|
|
},
|
|
{
|
|
"command": "cmake.outline.setLaunchTarget",
|
|
"when": "view == cmake.outline && viewItem =~ /type=EXECUTABLE/ && viewItem =~ /isLaunch=false/",
|
|
"group": "2_targetState@2"
|
|
},
|
|
{
|
|
"command": "cmake.outline.compileFile",
|
|
"when": "view == cmake.outline && viewItem =~ /nodeType=file/",
|
|
"group": "inline"
|
|
}
|
|
],
|
|
"editor/title/context": [
|
|
{
|
|
"command": "cmake.compileFile",
|
|
"when": "resourceLangId == cpp"
|
|
},
|
|
{
|
|
"command": "cmake.compileFile",
|
|
"when": "resourceLangId == c"
|
|
}
|
|
],
|
|
"editor/title": [
|
|
{
|
|
"command": "cmake.compileFile",
|
|
"when": "resourceLangId == cpp",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "cmake.compileFile",
|
|
"when": "resourceLangId == c",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"explorer/context": [
|
|
{
|
|
"command": "cmake.compileFile",
|
|
"when": "resourceLangId == cpp"
|
|
},
|
|
{
|
|
"command": "cmake.compileFile",
|
|
"when": "resourceLangId == c"
|
|
}
|
|
]
|
|
},
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "CMake Tools configuration",
|
|
"properties": {
|
|
"cmake.cmakePath": {
|
|
"type": "string",
|
|
"default": "cmake",
|
|
"description": "%cmake-tools.configuration.cmake.cmakePath.description%",
|
|
"scope": "resource"
|
|
},
|
|
"cmake.buildDirectory": {
|
|
"type": "string",
|
|
"default": "${workspaceRoot}/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": "${workspaceRoot}",
|
|
"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": "resource"
|
|
},
|
|
"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": [
|
|
"Ninja",
|
|
"Unix Makefiles"
|
|
],
|
|
"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.useCMakeServer": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "%cmake-tools.configuration.cmake.useCMakeServer.description%",
|
|
"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.revealLog": {
|
|
"type": "string",
|
|
"default": "always",
|
|
"enum": [
|
|
"focus",
|
|
"always",
|
|
"never"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"keybindings": [
|
|
{
|
|
"key": "f7",
|
|
"command": "cmake.build"
|
|
},
|
|
{
|
|
"key": "shift+f7",
|
|
"command": "cmake.buildWithTarget"
|
|
},
|
|
{
|
|
"key": "ctrl+f5",
|
|
"command": "cmake.debugTarget",
|
|
"when": "!inDebugMode"
|
|
},
|
|
{
|
|
"key": "shift+f5",
|
|
"command": "cmake.launchTarget"
|
|
}
|
|
],
|
|
"viewsContainers": {
|
|
"activitybar": [
|
|
{
|
|
"id": "cmake__viewContainer",
|
|
"title": "CMake",
|
|
"icon": "res/cmake-view-icon.svg",
|
|
"when": "cmakeToolsActive"
|
|
}
|
|
]
|
|
},
|
|
"views": {
|
|
"cmake__viewContainer": [
|
|
{
|
|
"id": "cmake.folders",
|
|
"name": "%cmake-tools.configuration.views.cmake.folders.description%",
|
|
"when": "cmakeToolsMultiRootActive"
|
|
},
|
|
{
|
|
"id": "cmake.outline",
|
|
"name": "%cmake-tools.configuration.views.cmake.outline.description%",
|
|
"when": "cmakeToolsActive"
|
|
}
|
|
]
|
|
},
|
|
"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/follow-redirects": "^1.8.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.0",
|
|
"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.14.2",
|
|
"typescript": "~3.2.2",
|
|
"vscode": "^1.1.35",
|
|
"vscode-nls-dev": "^3.2.6",
|
|
"webpack": "^4.39.2",
|
|
"webpack-cli": "^3.3.7"
|
|
},
|
|
"dependencies": {
|
|
"ajv": "^4.7.5",
|
|
"es6-promisify": "~5.0.0",
|
|
"follow-redirects": "^1.5.10",
|
|
"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": "^3.0.1",
|
|
"vscode-nls": "^4.1.1",
|
|
"vscode-extension-telemetry": "^0.1.2",
|
|
"which": "~1.3.0",
|
|
"xml2js": "^0.4.17"
|
|
},
|
|
"resolutions": {
|
|
"marked": "^0.7.0",
|
|
"diff": "^3.5.0"
|
|
}
|
|
}
|