vscode-makefile-tools/package.json

338 строки
14 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,
2020-08-31 08:33:05 +03:00
"icon": "res/makefile-logo.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",
2020-08-31 08:33:05 +03:00
"Other"
],
"activationEvents": [
"onCommand:makefile.setBuildConfiguration",
"onCommand:makefile.setBuildTarget",
"onCommand:makefile.buildTarget",
"onCommand:makefile.buildCleanTarget",
"onCommand:makefile.buildAll",
"onCommand:makefile.buildCleanAll",
"onCommand:makefile.setLaunchConfiguration",
"onCommand:makefile.launchDebug",
"onCommand:makefile.launchRun",
2020-07-17 15:29:34 +03:00
"onCommand:makefile.configure",
"onCommand:makefile.cleanConfigure",
2020-07-17 19:33:30 +03:00
"onCommand:makefile.preConfigure",
"onCommand:makefile.resetState",
"workspaceContains:makefile",
"workspaceContains:Makefile"
],
"main": "./out/src/extension.js",
"contributes": {
"commands": [
{
"command": "makefile.buildTarget",
"title": "Makefile: Build the current target"
},
{
"command": "makefile.buildCleanTarget",
"title": "Makefile: Build clean the current target"
},
{
"command": "makefile.buildAll",
"title": "Makefile: Build the target ALL"
},
{
"command": "makefile.buildCleanAll",
"title": "Makefile: Build clean the target ALL"
},
{
"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"
2020-07-17 15:29:34 +03:00
},
{
"command": "makefile.configure",
"title": "Makefile: Configure"
2020-07-17 19:33:30 +03:00
},
{
"command": "makefile.cleanConfigure",
"title": "Makefile: Clean configure"
},
2020-07-17 19:33:30 +03:00
{
"command": "makefile.preConfigure",
"title": "Makefile: Pre-Configure"
},
{
"command": "makefile.resetState",
"title": "Makefile: Reset the Makefile Tools Extension workspace state (For troubleshooting)"
}
],
"configuration": {
"type": "object",
"title": "makefile",
"properties": {
"makefile.configurations": {
"type": "array",
"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",
"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.defaultLaunchConfiguration": {
"type": "object",
"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",
"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",
"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",
"description": "The path to the make tool",
"scope": "resource"
},
"makefile.makefilePath": {
"type": "string",
"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",
2020-07-17 11:58:13 +03:00
"default": null,
"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",
2020-07-17 11:58:13 +03:00
"default": null,
"scope": "resource"
},
"makefile.configurationCache": {
"type": "string",
"description": "The path to a cache file storing the output of the last dry-run make command",
"default": "./configurationCache.log",
"scope": "resource"
},
"makefile.dryrunSwitches": {
"type": "array",
"default": ["--always-make", "--keep-going", "--print-data-base", "--print-directory"],
"description": "Arguments to pass to the dry-run make invocation",
"items": {
"type": "string"
},
"scope": "resource"
2020-07-17 15:29:34 +03:00
},
"makefile.configureOnOpen": {
"type": "boolean",
"default": true,
"description": "Automatically configure Makefile project directories when they are opened",
"scope": "resource"
},
"makefile.configureOnEdit": {
"type": "boolean",
"default": true,
"description": "Automatically configure Makefile project directories when any relevant makefiles and/or settings are changed",
"scope": "resource"
},
"makefile.configureAfterCommand": {
"type": "boolean",
"default": true,
"description": "Automatically configure Makefile project directories after relevant operations, like change build configuration or makefile target",
"scope": "resource"
2020-07-17 19:33:30 +03:00
},
"makefile.preConfigureScript": {
2020-07-17 19:33:30 +03:00
"type": "string",
"description": "The path to the script that needs to be run at least once before configure",
"default": null,
"scope": "resource"
},
"makefile.alwaysPreConfigure": {
2020-07-17 19:33:30 +03:00
"type": "boolean",
"description": "Always run the pre-configure script before configure",
2020-07-17 19:33:30 +03:00
"default": false,
"scope": "resource"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn mycompile",
"mycompile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn mycompile",
2020-03-19 23:30:30 +03:00
"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": "^4.0.1",
"vscode-extension-telemetry": "^0.1.2",
"vscode-jsonrpc": "^3.6.2"
}
}