3 Star 0 Fork 2

leegoobin/vscode-cmake-tools

forked from chl160/vscode-cmake-tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 40.20 KB
一键复制 编辑 原始数据 按行查看 历史
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309
{
"name": "cmake-tools",
"displayName": "CMake Tools",
"description": "Extended CMake support in Visual Studio Code",
"version": "1.3.0",
"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.29.1"
},
"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%",
"category": "CMake"
},
{
"command": "cmake.selectActiveFolder",
"title": "%cmake-tools.command.cmake.selectActiveFolder.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.setVariantAll",
"title": "%cmake-tools.command.cmake.setVariantAll.title%",
"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%",
"category": "CMake"
},
{
"command": "cmake.buildAll",
"title": "%cmake-tools.command.cmake.buildAll.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/dark/build-icon.svg",
"light": "res/light/build-icon.svg"
}
},
{
"command": "cmake.outline.buildAll",
"title": "%cmake-tools.command.cmake.buildAll.title%",
"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",
"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%",
"icon": {
"dark": "res/dark/build-icon.svg",
"light": "res/light/build-icon.svg"
}
},
{
"command": "cmake.install",
"title": "%cmake-tools.command.cmake.install.title%",
"category": "CMake"
},
{
"command": "cmake.installAll",
"title": "%cmake-tools.command.cmake.installAll.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.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%",
"category": "CMake"
},
{
"command": "cmake.cleanAll",
"title": "%cmake-tools.command.cmake.cleanAll.title%",
"category": "CMake"
},
{
"command": "cmake.outline.clean",
"title": "%cmake-tools.command.cmake.clean.title%"
},
{
"command": "cmake.outline.cleanAll",
"title": "%cmake-tools.command.cmake.cleanAll.title%"
},
{
"command": "cmake.cleanRebuild",
"title": "%cmake-tools.command.cmake.cleanRebuild.title%",
"category": "CMake"
},
{
"command": "cmake.cleanRebuildAll",
"title": "%cmake-tools.command.cmake.cleanRebuildAll.title%",
"category": "CMake"
},
{
"command": "cmake.outline.cleanRebuild",
"title": "%cmake-tools.command.cmake.cleanRebuild.title%"
},
{
"command": "cmake.outline.cleanRebuildAll",
"title": "%cmake-tools.command.cmake.cleanRebuildAll.title%"
},
{
"command": "cmake.ctest",
"title": "%cmake-tools.command.cmake.ctest.title%",
"category": "CMake"
},
{
"command": "cmake.ctestAll",
"title": "%cmake-tools.command.cmake.ctestAll.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.debugTargetAll",
"title": "%cmake-tools.command.cmake.debugTargetAll.title%",
"category": "CMake"
},
{
"command": "cmake.launchTarget",
"title": "%cmake-tools.command.cmake.launchTarget.title%",
"category": "CMake"
},
{
"command": "cmake.launchTargetAll",
"title": "%cmake-tools.command.cmake.launchTargetAll.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.stopAll",
"title": "%cmake-tools.command.cmake.stopAll.title%",
"category": "CMake"
},
{
"command": "cmake.outline.stop",
"title": "%cmake-tools.command.cmake.stop.title%",
"icon": {
"dark": "res/dark/stop-icon.svg",
"light": "res/light/stop-icon.svg"
}
},
{
"command": "cmake.outline.stopAll",
"title": "%cmake-tools.command.cmake.stopAll.title%",
"icon": {
"dark": "res/dark/stop-icon.svg",
"light": "res/light/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/dark/build-icon.svg",
"light": "res/light/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.configureAll",
"when": "cmake:multiRoot"
},
{
"command": "cmake.build"
},
{
"command": "cmake.buildAll",
"when": "cmake:multiRoot"
},
{
"command": "cmake.install"
},
{
"command": "cmake.installAll",
"when": "cmake:multiRoot"
},
{
"command": "cmake.buildWithTarget"
},
{
"command": "cmake.compileFile"
},
{
"command": "cmake.setVariant"
},
{
"command": "cmake.setVariantAll",
"when": "cmake:multiRoot"
},
{
"command": "cmake.setDefaultTarget"
},
{
"command": "cmake.cleanConfigure"
},
{
"command": "cmake.cleanConfigureAll",
"when": "cmake:multiRoot"
},
{
"command": "cmake.clean"
},
{
"command": "cmake.cleanAll",
"when": "cmake:multiRoot"
},
{
"command": "cmake.cleanRebuild"
},
{
"command": "cmake.cleanRebuildAll",
"when": "cmake:multiRoot"
},
{
"command": "cmake.ctest"
},
{
"command": "cmake.ctestAll",
"when": "cmake:multiRoot"
},
{
"command": "cmake.editCache"
},
{
"command": "cmake.debugTarget",
"when": "!cmake:hideDebugCommand"
},
{
"command": "cmake.debugTargetAll",
"when": "cmake:multiRoot && !cmake:hideDebugCommand"
},
{
"command": "cmake.launchTarget",
"when": "!cmake:hideLaunchCommand"
},
{
"command": "cmake.launchTargetAll",
"when": "cmake:multiRoot && !cmake:hideLaunchCommand"
},
{
"command": "cmake.selectLaunchTarget"
},
{
"command": "cmake.stop"
},
{
"command": "cmake.stopAll",
"when": "cmake:multiRoot"
},
{
"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.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",
"group": "navigation@2"
},
{
"command": "cmake.outline.stopAll",
"when": "view == cmake.outline && cmake:isBuilding",
"group": "navigation@3"
},
{
"command": "cmake.outline.cleanAll",
"when": "view == cmake.outline",
"group": "1_cmakeOutline"
},
{
"command": "cmake.outline.cleanConfigureAll",
"when": "view == cmake.outline",
"group": "1_cmakeOutline"
},
{
"command": "cmake.outline.cleanRebuildAll",
"when": "view == cmake.outline",
"group": "1_cmakeOutline"
}
],
"view/item/context": [
{
"command": "cmake.outline.buildTarget",
"when": "view == cmake.outline && viewItem =~ /canBuild=true|canRun=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.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": [
"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": false,
"description": "%cmake-tools.configuration.cmake.useCMakeServer.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.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 && inCMakeProject && !cmake:hideDebugCommand"
},
{
"key": "shift+f5",
"command": "cmake.launchTarget",
"when": "!cmake:hideDebugCommand"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "cmake__viewContainer",
"title": "CMake",
"icon": "res/cmake-view-icon.svg",
"when": "cmakeToolsActive"
}
]
},
"views": {
"cmake__viewContainer": [
{
"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/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.15.3",
"typescript": "^3.7.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",
"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": "^3.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"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/uesoft/vscode-cmake-tools.git
[email protected]:uesoft/vscode-cmake-tools.git
uesoft
vscode-cmake-tools
vscode-cmake-tools
master

搜索帮助