vscode-makefile-tools/package.json

290 строки
11 KiB
JSON
Исходник Обычный вид История

{
"name": "makefile-tools",
"displayName": "Makefile Tools",
"description": "Provide makefile support in VS Code: C/C++ IntelliSense, build, debug/run.",
"version": "0.1.0",
"publisher": "ms-vscode",
"preview": true,
"icon": "MakefileTools.png",
"readme": "README.md",
"author": {
"name": "Microsoft Corporation"
},
"license": "SEE LICENSE IN LICENSE.txt",
"engines": {
"vscode": "^1.30.0"
},
"bugs": {
"url": "https://github.com/Microsoft/vscode-makefile-tools/issues",
"email": "c_cpp_support@microsoft.com"
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-makefile-tools.git"
},
"homepage": "https://github.com/Microsoft/vscode-makefile-tools",
"qna": "https://github.com/Microsoft/vscode-makefile-tools/issues",
"keywords": [
"C",
"C++",
"IntelliSense",
"Microsoft",
"Makefile"
],
"categories": [
"Programming Languages",
"Debuggers",
"Formatters",
"Linters",
"Other",
"Snippets"
],
"activationEvents": [
"onCommand:makefile.setBuildConfiguration",
"onCommand:makefile.setBuildTarget",
"onCommand:makefile.buildTarget",
"onCommand:makefile.setLaunchConfiguration",
"onCommand:makefile.launchDebug",
"onCommand:makefile.launchRun",
"workspaceContains:makefile",
"workspaceContains:Makefile"
],
"main": "./out/src/extension.js",
"contributes": {
"commands": [
{
"command": "makefile.buildTarget",
"title": "Makefile: Build the makefile target of the current build configuration"
},
{
"command": "makefile.launchDebug",
"title": "Makefile: Debug the selected binary target"
},
{
"command": "makefile.launchRun",
"title": "Makefile: Run the selected binary target in the terminal"
},
{
"command": "makefile.setBuildConfiguration",
"title": "Makefile: Set the current build configuration"
},
{
"command": "makefile.setBuildTarget",
"title": "Makefile: Set the target to be built by make"
},
{
"command": "makefile.setLaunchConfiguration",
"title": "Makefile: Set the make launch configuration"
}
],
"configuration": {
"type": "object",
"title": "makefile",
"properties": {
"makefile.configurations": {
"type": [
"array",
null
],
"default": [],
"description": "The user defined makefile configurations",
"items": {
"type": "object",
"default": null,
"properties": {
"name": {
"type": "string",
"description": "The name of the makefile configuration"
},
"makefilePath": {
"type": "string",
2020-07-14 14:05:58 +03:00
"default": "makefile",
"description": "File path to the makefile"
},
"makePath": {
"type": "string",
"description": "File path to the make command"
},
"makeArgs": {
"type": "array",
"description": "Arguments to pass to the make command",
"items": {
"type": "string"
},
"default": []
},
"buildLog": {
"type": "string",
"description": "File path to the build log used instead of dry-run output"
}
}
},
"scope": "resource"
},
"makefile.debugConfig": {
"type": [
"object",
null
],
"default": null,
"description": "Various global debugger settings",
"properties": {
"MIMode": {
"type": "string",
"description": "The non VS debugger type: gdb or lldb",
"enum": [
"gdb",
"lldb"
]
},
"miDebuggerPath": {
"type": "string",
"description": "Path to the non VS debugger (gdb or lldb)"
},
"stopAtEntry": {
"type": "boolean",
"description": "Stop at the entry point of the target",
"default": false
},
"symbolSearchPath": {
"type": "string",
"description": "The path to the symbols"
}
},
"scope": "resource"
},
"makefile.launchConfigurations": {
"type": [
"array",
null
],
"default": [],
"description": "The user defined launch (debug/run) configurations",
"items": {
"type": "object",
"default": null,
"properties": {
"binaryPath": {
"type": "string",
"description": "The full path to the binary to run or debug"
},
"binaryArgs": {
"type": "array",
"description": "Arguments to pass to program command line",
"items": {
"type": "string"
},
"default": []
},
"cwd": {
"type": "string",
"description": "Set the working directory for the program"
},
"MIMode": {
"type": "string",
"description": "The non VS debugger type: gdb or lldb",
"enum": [
"gdb",
"lldb"
]
},
"miDebuggerPath": {
"type": "string",
"description": "Path to the non VS debugger (gdb or lldb)"
},
"stopAtEntry": {
"type": "boolean",
"description": "Stop at the entry point of the target",
"default": false
},
"symbolSearchPath": {
"type": "string",
"description": "The path to the symbols"
}
}
},
"scope": "resource"
},
"makefile.loggingLevel": {
"type": [
"string",
"null"
],
"enum": [
"Normal",
"Verbose",
"Debug"
],
"default": "Normal",
"description": "The logging level for the makefile tools extension",
"scope": "resource"
2020-03-19 23:30:30 +03:00
},
"makefile.makePath": {
"type": "string",
"default": "make",
"description": "The path to the make tool",
"scope": "resource"
},
"makefile.makefilePath": {
"type": "string",
"default": "makefile",
"description": "The path to the makefile of the project",
"scope": "resource"
2020-03-19 23:30:30 +03:00
},
"makefile.buildLog": {
"type": "string",
"description": "The path to the build log that is read to bypass a dry-run",
"default": "./build.log",
"scope": "resource"
2020-03-19 23:30:30 +03:00
},
"makefile.extensionLog": {
"type": "string",
"description": "The path to an output file storing all content from the Makefile output channel",
"default": "./extension.log",
"scope": "resource"
},
"makefile.dryrunCache": {
"type": "string",
"description": "The path to a cache file storing the output of the last dry-run make command",
"default": "./dryrunCache.log",
"scope": "resource"
},
"makefile.dryRunSwitches": {
"type": "array",
"default": ["--always-make", "--keep-going", "--print-data-base"],
"description": "Arguments to pass to the dry-run make invocation",
"items": {
"type": "string"
},
"scope": "resource"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run mycompile",
"mycompile": "tsc -p ./",
"watch": "tsc -watch -p ./",
2020-03-19 23:30:30 +03:00
"pretest": "npm run mycompile",
"test": "node ./out/src/test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
2020-03-19 23:30:30 +03:00
"@types/node": "^10.17.17",
"tslint": "^5.20.1",
"tslint-microsoft-contrib": "^6.2.0",
"tslint-no-unused-expression-chai": "^0.1.4",
2020-03-19 23:30:30 +03:00
"typescript": "^3.8.3",
"vrsource-tslint-rules": "^6.0.0",
"vscode": "^1.1.36",
"vscode-test": "^0.4.1"
},
"dependencies": {
2020-03-19 23:30:30 +03:00
"@types/glob": "^7.1.1",
"glob": "^7.1.6",
"module-alias": "^2.2.2",
"vscode-cpptools": "^2.1.2",
"vscode-jsonrpc": "^3.6.2"
}
}