2019-06-20 22:40:13 +03:00
|
|
|
{
|
2019-08-28 12:43:12 +03:00
|
|
|
"name": "makefile-tools",
|
|
|
|
"displayName": "Makefile Tools",
|
|
|
|
"description": "Provide makefile support in VS Code: C/C++ IntelliSense, build, debug/run.",
|
2019-08-24 04:59:19 +03:00
|
|
|
"version": "0.1.0",
|
|
|
|
"publisher": "ms-vscode",
|
2019-08-28 12:43:12 +03:00
|
|
|
"preview": true,
|
2020-08-31 08:33:05 +03:00
|
|
|
"icon": "res/makefile-logo.png",
|
2019-08-28 12:43:12 +03:00
|
|
|
"readme": "README.md",
|
|
|
|
"author": {
|
|
|
|
"name": "Microsoft Corporation"
|
|
|
|
},
|
|
|
|
"license": "SEE LICENSE IN LICENSE.txt",
|
2019-08-24 04:59:19 +03:00
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.30.0"
|
|
|
|
},
|
2019-08-28 12:43:12 +03:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/Microsoft/vscode-makefile-tools/issues",
|
|
|
|
"email": "c_cpp_support@microsoft.com"
|
2020-02-27 02:37:49 +03:00
|
|
|
},
|
|
|
|
"repository": {
|
2019-08-28 12:43:12 +03:00
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/Microsoft/vscode-makefile-tools.git"
|
2020-02-27 02:37:49 +03:00
|
|
|
},
|
|
|
|
"homepage": "https://github.com/Microsoft/vscode-makefile-tools",
|
|
|
|
"qna": "https://github.com/Microsoft/vscode-makefile-tools/issues",
|
|
|
|
"keywords": [
|
2019-08-28 12:43:12 +03:00
|
|
|
"C",
|
|
|
|
"C++",
|
|
|
|
"IntelliSense",
|
|
|
|
"Microsoft",
|
|
|
|
"Makefile"
|
2020-02-27 02:37:49 +03:00
|
|
|
],
|
|
|
|
"categories": [
|
2019-08-28 12:43:12 +03:00
|
|
|
"Programming Languages",
|
|
|
|
"Debuggers",
|
2020-08-31 08:33:05 +03:00
|
|
|
"Other"
|
2020-02-27 02:37:49 +03:00
|
|
|
],
|
|
|
|
"activationEvents": [
|
2020-07-02 18:51:11 +03:00
|
|
|
"onCommand:makefile.setBuildConfiguration",
|
|
|
|
"onCommand:makefile.setBuildTarget",
|
|
|
|
"onCommand:makefile.buildTarget",
|
2020-07-23 17:18:01 +03:00
|
|
|
"onCommand:makefile.buildCleanTarget",
|
|
|
|
"onCommand:makefile.buildAll",
|
|
|
|
"onCommand:makefile.buildCleanAll",
|
2020-07-02 18:51:11 +03:00
|
|
|
"onCommand:makefile.setLaunchConfiguration",
|
|
|
|
"onCommand:makefile.launchDebug",
|
|
|
|
"onCommand:makefile.launchRun",
|
2020-07-17 15:29:34 +03:00
|
|
|
"onCommand:makefile.configure",
|
2020-08-17 19:29:14 +03:00
|
|
|
"onCommand:makefile.cleanConfigure",
|
2020-07-17 19:33:30 +03:00
|
|
|
"onCommand:makefile.preConfigure",
|
2020-08-17 19:29:14 +03:00
|
|
|
"onCommand:makefile.resetState",
|
2020-07-02 19:00:00 +03:00
|
|
|
"workspaceContains:makefile",
|
|
|
|
"workspaceContains:Makefile"
|
2019-08-24 04:59:19 +03:00
|
|
|
],
|
|
|
|
"main": "./out/src/extension.js",
|
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
|
|
|
{
|
2020-07-02 18:51:11 +03:00
|
|
|
"command": "makefile.buildTarget",
|
2020-07-23 17:18:01 +03:00
|
|
|
"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"
|
2019-08-24 04:59:19 +03:00
|
|
|
},
|
|
|
|
{
|
2020-07-02 18:51:11 +03:00
|
|
|
"command": "makefile.launchDebug",
|
|
|
|
"title": "Makefile: Debug the selected binary target"
|
2019-08-24 04:59:19 +03:00
|
|
|
},
|
|
|
|
{
|
2020-07-02 18:51:11 +03:00
|
|
|
"command": "makefile.launchRun",
|
|
|
|
"title": "Makefile: Run the selected binary target in the terminal"
|
2019-08-24 04:59:19 +03:00
|
|
|
},
|
|
|
|
{
|
2020-07-02 18:51:11 +03:00
|
|
|
"command": "makefile.setBuildConfiguration",
|
|
|
|
"title": "Makefile: Set the current build configuration"
|
2019-08-24 04:59:19 +03:00
|
|
|
},
|
|
|
|
{
|
2020-07-02 18:51:11 +03:00
|
|
|
"command": "makefile.setBuildTarget",
|
|
|
|
"title": "Makefile: Set the target to be built by make"
|
2019-08-24 04:59:19 +03:00
|
|
|
},
|
|
|
|
{
|
2020-07-02 18:51:11 +03:00
|
|
|
"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
|
|
|
},
|
2020-08-17 19:29:14 +03:00
|
|
|
{
|
|
|
|
"command": "makefile.cleanConfigure",
|
|
|
|
"title": "Makefile: Clean configure"
|
|
|
|
},
|
2020-07-17 19:33:30 +03:00
|
|
|
{
|
|
|
|
"command": "makefile.preConfigure",
|
2020-08-17 19:29:14 +03:00
|
|
|
"title": "Makefile: Pre-Configure"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "makefile.resetState",
|
|
|
|
"title": "Makefile: Reset the Makefile Tools Extension workspace state (For troubleshooting)"
|
2019-08-24 04:59:19 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"configuration": {
|
|
|
|
"type": "object",
|
2020-07-02 18:51:11 +03:00
|
|
|
"title": "makefile",
|
2019-08-24 04:59:19 +03:00
|
|
|
"properties": {
|
2020-07-02 19:15:32 +03:00
|
|
|
"makefile.configurations": {
|
2020-08-17 19:29:14 +03:00
|
|
|
"type": "array",
|
2020-07-02 18:51:11 +03:00
|
|
|
"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"
|
|
|
|
},
|
2020-07-02 19:15:32 +03:00
|
|
|
"makePath": {
|
2020-07-02 18:51:11 +03:00
|
|
|
"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"
|
|
|
|
},
|
2020-07-23 16:10:13 +03:00
|
|
|
"makefile.defaultLaunchConfiguration": {
|
2020-08-17 19:29:14 +03:00
|
|
|
"type": "object",
|
2019-08-24 04:59:19 +03:00
|
|
|
"default": null,
|
2020-07-16 12:52:34 +03:00
|
|
|
"description": "Various global debugger settings",
|
2019-08-24 04:59:19 +03:00
|
|
|
"properties": {
|
2020-07-16 12:52:34 +03:00
|
|
|
"MIMode": {
|
2019-08-24 04:59:19 +03:00
|
|
|
"type": "string",
|
2020-07-16 12:52:34 +03:00
|
|
|
"description": "The non VS debugger type: gdb or lldb",
|
|
|
|
"enum": [
|
|
|
|
"gdb",
|
|
|
|
"lldb"
|
|
|
|
]
|
2019-08-24 04:59:19 +03:00
|
|
|
},
|
2020-07-16 12:52:34 +03:00
|
|
|
"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
|
2019-08-24 04:59:19 +03:00
|
|
|
},
|
2020-07-16 12:52:34 +03:00
|
|
|
"symbolSearchPath": {
|
2019-08-24 04:59:19 +03:00
|
|
|
"type": "string",
|
2020-07-16 12:52:34 +03:00
|
|
|
"description": "The path to the symbols"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"scope": "resource"
|
|
|
|
},
|
|
|
|
"makefile.launchConfigurations": {
|
2020-08-17 19:29:14 +03:00
|
|
|
"type": "array",
|
2020-07-16 12:52:34 +03:00
|
|
|
"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"
|
|
|
|
}
|
2019-08-24 04:59:19 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"scope": "resource"
|
|
|
|
},
|
2020-07-02 18:51:11 +03:00
|
|
|
"makefile.loggingLevel": {
|
2020-08-17 19:29:14 +03:00
|
|
|
"type": "string",
|
2019-08-24 04:59:19 +03:00
|
|
|
"enum": [
|
|
|
|
"Normal",
|
2020-07-02 18:51:11 +03:00
|
|
|
"Verbose",
|
|
|
|
"Debug"
|
2019-08-24 04:59:19 +03:00
|
|
|
],
|
|
|
|
"default": "Normal",
|
|
|
|
"description": "The logging level for the makefile tools extension",
|
|
|
|
"scope": "resource"
|
2020-03-19 23:30:30 +03:00
|
|
|
},
|
2020-07-02 18:51:11 +03:00
|
|
|
"makefile.makePath": {
|
2020-07-14 19:01:15 +03:00
|
|
|
"type": "string",
|
|
|
|
"description": "The path to the make tool",
|
|
|
|
"scope": "resource"
|
2020-07-02 18:51:11 +03:00
|
|
|
},
|
|
|
|
"makefile.makefilePath": {
|
2020-07-14 19:01:15 +03:00
|
|
|
"type": "string",
|
|
|
|
"description": "The path to the makefile of the project",
|
|
|
|
"scope": "resource"
|
2020-03-19 23:30:30 +03:00
|
|
|
},
|
2020-07-02 18:51:11 +03:00
|
|
|
"makefile.buildLog": {
|
2020-07-14 19:01:15 +03:00
|
|
|
"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,
|
2020-07-14 19:01:15 +03:00
|
|
|
"scope": "resource"
|
2020-03-19 23:30:30 +03:00
|
|
|
},
|
2020-07-02 18:51:11 +03:00
|
|
|
"makefile.extensionLog": {
|
2020-07-14 19:01:15 +03:00
|
|
|
"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,
|
2020-07-16 20:01:09 +03:00
|
|
|
"scope": "resource"
|
|
|
|
},
|
2020-07-23 16:10:13 +03:00
|
|
|
"makefile.configurationCache": {
|
2020-07-16 20:01:09 +03:00
|
|
|
"type": "string",
|
|
|
|
"description": "The path to a cache file storing the output of the last dry-run make command",
|
2020-07-23 16:10:13 +03:00
|
|
|
"default": "./configurationCache.log",
|
2020-07-14 19:01:15 +03:00
|
|
|
"scope": "resource"
|
|
|
|
},
|
2020-07-23 16:10:13 +03:00
|
|
|
"makefile.dryrunSwitches": {
|
2020-07-14 19:01:15 +03:00
|
|
|
"type": "array",
|
2020-08-17 19:29:14 +03:00
|
|
|
"default": ["--always-make", "--keep-going", "--print-data-base", "--print-directory"],
|
2020-07-14 19:01:15 +03:00
|
|
|
"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
|
|
|
},
|
2020-08-17 19:29:14 +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"
|
|
|
|
},
|
2020-08-17 19:29:14 +03:00
|
|
|
"makefile.alwaysPreConfigure": {
|
2020-07-17 19:33:30 +03:00
|
|
|
"type": "boolean",
|
2020-08-17 19:29:14 +03:00
|
|
|
"description": "Always run the pre-configure script before configure",
|
2020-07-17 19:33:30 +03:00
|
|
|
"default": false,
|
|
|
|
"scope": "resource"
|
2019-08-24 04:59:19 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
2020-09-03 19:35:09 +03:00
|
|
|
"vscode:prepublish": "yarn mycompile",
|
2019-08-24 04:59:19 +03:00
|
|
|
"mycompile": "tsc -p ./",
|
|
|
|
"watch": "tsc -watch -p ./",
|
2020-09-03 19:35:09 +03:00
|
|
|
"pretest": "yarn mycompile",
|
2020-03-19 23:30:30 +03:00
|
|
|
"test": "node ./out/src/test/runTest.js"
|
2019-08-24 04:59:19 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/mocha": "^2.2.42",
|
2020-03-19 23:30:30 +03:00
|
|
|
"@types/node": "^10.17.17",
|
2020-02-27 02:37:49 +03:00
|
|
|
"tslint": "^5.20.1",
|
2019-08-28 01:21:05 +03:00
|
|
|
"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",
|
2019-08-28 01:21:05 +03:00
|
|
|
"vrsource-tslint-rules": "^6.0.0",
|
2020-02-27 02:37:49 +03:00
|
|
|
"vscode": "^1.1.36",
|
|
|
|
"vscode-test": "^0.4.1"
|
2019-08-24 04:59:19 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-03-19 23:30:30 +03:00
|
|
|
"@types/glob": "^7.1.1",
|
|
|
|
"glob": "^7.1.6",
|
2020-02-27 02:37:49 +03:00
|
|
|
"module-alias": "^2.2.2",
|
2020-07-29 10:31:13 +03:00
|
|
|
"vscode-cpptools": "^4.0.1",
|
2020-08-17 19:29:14 +03:00
|
|
|
"vscode-extension-telemetry": "^0.1.2",
|
2020-02-27 02:37:49 +03:00
|
|
|
"vscode-jsonrpc": "^3.6.2"
|
2019-08-24 04:59:19 +03:00
|
|
|
}
|
2019-08-28 01:21:05 +03:00
|
|
|
}
|