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,
|
|
|
|
"icon": "MakefileTools.png",
|
|
|
|
"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",
|
|
|
|
"Formatters",
|
|
|
|
"Linters",
|
|
|
|
"Other",
|
|
|
|
"Snippets"
|
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",
|
|
|
|
"onCommand:makefile.setLaunchConfiguration",
|
|
|
|
"onCommand:makefile.launchDebug",
|
|
|
|
"onCommand:makefile.launchRun",
|
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",
|
|
|
|
"title": "Makefile: Build the makefile target of the current build configuration"
|
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"
|
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-07-02 18:51:11 +03:00
|
|
|
"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",
|
2020-07-02 18:51:11 +03:00
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"makefile.buildConfiguration": {
|
2019-08-24 04:59:19 +03:00
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"default": null,
|
|
|
|
"description": "The makefile current configuration",
|
|
|
|
"scope": "resource"
|
|
|
|
},
|
2020-07-02 18:51:11 +03:00
|
|
|
"makefile.buildTarget": {
|
2019-08-24 04:59:19 +03:00
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"default": null,
|
|
|
|
"description": "The current target to be run by make",
|
|
|
|
"scope": "resource"
|
|
|
|
},
|
2020-07-02 18:51:11 +03:00
|
|
|
"makefile.launchConfiguration": {
|
2019-08-24 04:59:19 +03:00
|
|
|
"type": [
|
|
|
|
"object",
|
|
|
|
null
|
|
|
|
],
|
|
|
|
"default": null,
|
|
|
|
"description": "The configuration to use when running or debugging a target",
|
|
|
|
"properties": {
|
|
|
|
"binary": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The full path to the binary to run or debug"
|
|
|
|
},
|
|
|
|
"args": {
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"scope": "resource"
|
|
|
|
},
|
2020-07-02 18:51:11 +03:00
|
|
|
"makefile.loggingLevel": {
|
2019-08-24 04:59:19 +03:00
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"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",
|
|
|
|
"default": "make",
|
|
|
|
"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",
|
|
|
|
"default": "makefile",
|
|
|
|
"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",
|
|
|
|
"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",
|
|
|
|
"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"
|
2019-08-24 04:59:19 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
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",
|
|
|
|
"vscode-cpptools": "^2.1.2",
|
|
|
|
"vscode-jsonrpc": "^3.6.2"
|
2019-08-24 04:59:19 +03:00
|
|
|
}
|
2019-08-28 01:21:05 +03:00
|
|
|
}
|