1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/tboox-xmake-vscode

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
package.json 21 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
ruki Отправлено 20.12.2024 09:54 52b8071
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779
{
"name": "xmake-vscode",
"displayName": "XMake",
"description": "Extended XMake support in Visual Studio Code",
"version": "2.4.0",
"publisher": "tboox",
"icon": "res/logo256.png",
"repository": {
"type": "git",
"url": "https://github.com/xmake-io/xmake-vscode"
},
"bugs": {
"url": "https://github.com/xmake-io/xmake-vscode/issues"
},
"license": "Apache-2.0",
"homepage": "https://github.com/xmake-io/xmake-vscode",
"keywords": [
"xmake",
"build",
"c++",
"native",
"lua"
],
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onDebugResolve:xmake",
"onDebugDynamicConfigurations:xmake",
"workspaceContains:xmake.lua",
"onCommand:xmake.onCreateProject",
"onCommand:xmake.onNewFiles",
"onCommand:xmake.onForceConfigure",
"onCommand:xmake.onCleanConfigure",
"onCommand:xmake.onBuild",
"onCommand:xmake.onBuildAll",
"onCommand:xmake.onRebuild",
"onCommand:xmake.onClean",
"onCommand:xmake.onCleanAll",
"onCommand:xmake.onBuildRun",
"onCommand:xmake.onRun",
"onCommand:xmake.onPackage",
"onCommand:xmake.onInstall",
"onCommand:xmake.onUninstall",
"onCommand:xmake.onDebug",
"onCommand:xmake.onLaunchDebug",
"onCommand:xmake.onMacroBegin",
"onCommand:xmake.onMacroEnd",
"onCommand:xmake.onMacroRun",
"onCommand:xmake.onRunLastCommand",
"onCommand:xmake.onUpdateIntellisense",
"onCommand:xmake.setProjectRoot",
"onCommand:xmake.setTargetPlat",
"onCommand:xmake.setTargetArch",
"onCommand:xmake.setBuildMode",
"onCommand:xmake.setDefaultTarget",
"onCommand:xmake.setTargetToolchain"
],
"main": "./out/src/extension",
"contributes": {
"keybindings": [
{
"key": "f5",
"command": "xmake.onDebug",
"when": "xmakeEnabled && debuggersAvailable && debugState == 'inactive'"
}
],
"languages": [
{
"id": "xmake",
"filenames": [
"xmake.lua"
],
"aliases": [
"XMake"
],
"icon": {
"light": "./res/logo.svg",
"dark": "./res/logo.svg"
},
"configuration": "./languages/xmake-configuration.json"
}
],
"breakpoints": [
{
"language": "xmake"
}
],
"grammars": [
{
"language": "xmake",
"scopeName": "source.xmake",
"path": "./languages/xmake-grammars.json"
}
],
"taskDefinitions": [
{
"type": "xmake",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"description": "The XMake task to customize"
},
"file": {
"type": "string",
"description": "The XMake file that provides the task. Can be omitted."
}
}
}
],
"commands": [
{
"command": "xmake.onCreateProject",
"title": "CreateProject",
"category": "XMake"
},
{
"command": "xmake.onNewFiles",
"title": "NewFiles",
"category": "XMake"
},
{
"command": "xmake.onForceConfigure",
"title": "Configure",
"category": "XMake"
},
{
"command": "xmake.onCleanConfigure",
"title": "Clean Configure",
"category": "XMake"
},
{
"command": "xmake.onBuild",
"title": "Build",
"category": "XMake"
},
{
"command": "xmake.onBuildAll",
"title": "BuildAll",
"category": "XMake"
},
{
"command": "xmake.onRebuild",
"title": "Rebuild",
"category": "XMake"
},
{
"command": "xmake.onClean",
"title": "Clean",
"category": "XMake"
},
{
"command": "xmake.onCleanAll",
"title": "CleanAll",
"category": "XMake"
},
{
"command": "xmake.onBuildRun",
"title": "BuildRun",
"category": "XMake"
},
{
"command": "xmake.onRun",
"title": "Run",
"category": "XMake"
},
{
"command": "xmake.onPackage",
"title": "Package",
"category": "XMake"
},
{
"command": "xmake.onDebug",
"title": "Debug",
"category": "XMake"
},
{
"command": "xmake.onLaunchDebug",
"title": "Launch Debug",
"category": "XMake"
},
{
"command": "xmake.onInstall",
"title": "Install",
"category": "XMake"
},
{
"command": "xmake.onUninstall",
"title": "Uninstall",
"category": "XMake"
},
{
"command": "xmake.onMacroBegin",
"title": "BeginMacro",
"category": "XMake"
},
{
"command": "xmake.onMacroEnd",
"title": "EndMacro",
"category": "XMake"
},
{
"command": "xmake.onMacroRun",
"title": "RunMacro",
"category": "XMake"
},
{
"command": "xmake.onRunLastCommand",
"title": "RunLastCommand",
"category": "XMake"
},
{
"command": "xmake.onUpdateIntellisense",
"title": "UpdateIntellisense",
"category": "XMake"
},
{
"command": "xmake.setTargetPlat",
"title": "Set Target Platform",
"category": "XMake"
},
{
"command": "xmake.setTargetArch",
"title": "Set Target Architecture",
"category": "XMake"
},
{
"command": "xmake.setBuildMode",
"title": "Set Build Mode",
"category": "XMake"
},
{
"command": "xmake.setDefaultTarget",
"title": "Set Default Target",
"category": "XMake"
},
{
"command": "xmakeExplorer.buildAll",
"title": "Build All",
"category": "XMake",
"enablement": "view == xmakeExplorer",
"icon": {
"dark": "res/dark/build-icon.svg",
"light": "res/light/build-icon.svg"
}
},
{
"command": "xmakeExplorer.rebuildAll",
"title": "Rebuild All",
"category": "XMake",
"enablement": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.cleanAll",
"title": "Clean All",
"category": "XMake",
"enablement": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.build",
"title": "Build",
"category": "XMake",
"enablement": "view == xmakeExplorer",
"icon": {
"dark": "res/dark/build-icon.svg",
"light": "res/light/build-icon.svg"
}
},
{
"command": "xmake.setTargetToolchain",
"title": "toolchain",
"category": "XMake",
"enablement": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.rebuild",
"title": "Rebuild",
"category": "XMake",
"enablement": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.clean",
"title": "Clean",
"category": "XMake",
"enablement": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.runAll",
"title": "Run All",
"category": "XMake",
"enablement": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.run",
"title": "Run",
"category": "XMake",
"enablement": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.debug",
"title": "Debug",
"category": "XMake",
"enablement": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.configure",
"title": "Configure",
"category": "XMake",
"enablement": "view == xmakeOptions",
"icon": "$(gear)"
}
],
"menus": {
"commandPalette": [
{
"command": "xmake.onCreateProject"
},
{
"command": "xmake.onNewFiles"
},
{
"command": "xmake.onForceConfigure"
},
{
"command": "xmake.onCleanConfigure"
},
{
"command": "xmake.onBuild"
},
{
"command": "xmake.onBuildAll"
},
{
"command": "xmake.onRebuild"
},
{
"command": "xmake.onClean"
},
{
"command": "xmake.onCleanAll"
},
{
"command": "xmake.onBuildRun"
},
{
"command": "xmake.onRun"
},
{
"command": "xmake.onPackage"
},
{
"command": "xmake.onDebug"
},
{
"command": "xmake.onLaunchDebug"
},
{
"command": "xmake.onInstall"
},
{
"command": "xmake.onUninstall"
},
{
"command": "xmake.onMacroBegin"
},
{
"command": "xmake.onMacroEnd"
},
{
"command": "xmake.onMacroRun"
},
{
"command": "xmake.onRunLastCommand"
},
{
"command": "xmake.onUpdateIntellisense"
},
{
"command": "xmake.setTargetPlat"
},
{
"command": "xmake.setTargetArch"
},
{
"command": "xmake.setBuildMode"
},
{
"command": "xmake.setDefaultTarget"
}
],
"view/title": [
{
"command": "xmakeExplorer.buildAll",
"when": "view == xmakeExplorer",
"group": "navigation"
},
{
"command": "xmakeExplorer.buildAll",
"when": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.rebuildAll",
"when": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.cleanAll",
"when": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.runAll",
"when": "view == xmakeExplorer"
},
{
"command": "xmakeExplorer.configure",
"when": "view == xmakeOptions",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "xmakeExplorer.build",
"when": "view == xmakeExplorer && viewItem == target",
"group": "inline"
},
{
"command": "xmakeExplorer.build",
"when": "view == xmakeExplorer && viewItem == target"
},
{
"command": "xmakeExplorer.rebuild",
"when": "view == xmakeExplorer && viewItem == target"
},
{
"command": "xmakeExplorer.clean",
"when": "view == xmakeExplorer && viewItem == target"
},
{
"command": "xmakeExplorer.run",
"when": "view == xmakeExplorer && viewItem == target"
},
{
"command": "xmakeExplorer.debug",
"when": "view == xmakeExplorer && viewItem == target"
}
]
},
"debuggers": [
{
"type": "xmake",
"languages": [
"c",
"cpp",
"rust"
],
"configurationAttributes": {
"launch": {
"required": [
"target"
],
"properties": {
"target": {
"type": "string",
"description": "The xmake target name",
"default": ""
},
"cwd": {
"description": "Program working directory.",
"type": "string",
"default": ""
},
"stopAtEntry": {
"description": "If set to true, the debugger should stop at the entry-point of the target.",
"type": "boolean",
"default": false
},
"args": {
"description": "Program arguments.",
"type": [
"array",
"string"
],
"default": []
},
"terminal": {
"type": "string",
"enum": [
"integrated",
"external",
"console",
"newExternal"
],
"enumDescriptions": [
"Use integrated terminal in VSCode.",
"Use external terminal window.",
"Use VScode Debug Console for stdout and stderr. Stdin will be unavailable.",
"Use external terminal window for console application, nothing for the others (only with cpptools). "
],
"default": "integrated"
},
"env": {
"description": "Additional environment variables.",
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
},
"default": {}
}
}
},
"attach": {
"required": [
"target"
],
"properties": {
"target": {
"type": "string",
"description": "The xmake target name",
"default": ""
},
"cwd": {
"description": "Program working directory.",
"type": "string",
"default": ""
},
"stopAtEntry": {
"description": "If set to true, the debugger should stop at the entry-point of the target.",
"type": "boolean",
"default": false
},
"args": {
"description": "Program arguments.",
"type": [
"array",
"string"
],
"default": []
},
"terminal": {
"type": "string",
"enum": [
"integrated",
"external",
"console",
"newExternal"
],
"enumDescriptions": [
"Use integrated terminal in VSCode.",
"Use external terminal window.",
"Use VScode Debug Console for stdout and stderr. Stdin will be unavailable.",
"Use external terminal window for console application, nothing for the others (only with cpptools). "
],
"default": "integrated"
},
"env": {
"description": "Additional environment variables.",
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
},
"default": {}
}
}
}
},
"initialConfigurations": [
{
"type": "xmake",
"request": "launch",
"name": "Debug XMake target",
"target": "target name",
"cwd": "${workspaceFolder}",
"stopAtEntry": true
}
],
"configurationSnippets": [
{
"label": "XMake Debug: Launch",
"description": "A new configuration xmake debugger.",
"body": {
"type": "xmake",
"request": "launch",
"name": "${2:Launch}",
"target": "${1:Target}",
"cwd": "${workspaceFolder}",
"stopAtEntry": true
}
}
]
}
],
"configuration": {
"type": "object",
"title": "XMake configuration",
"properties": {
"xmake.executable": {
"type": "string",
"default": "xmake",
"description": "The xmake executable name / path"
},
"xmake.logLevel": {
"type": "string",
"default": "normal",
"description": "The Log Level: normal/verbose/minimal",
"enum": [
"verbose",
"normal",
"minimal"
]
},
"xmake.buildLevel": {
"type": "string",
"default": "normal",
"description": "The Build Output Level: normal/verbose/debug",
"enum": [
"verbose",
"normal",
"debug"
]
},
"xmake.runMode": {
"type": "string",
"default": "runOnly",
"description": "The Run Mode: runOnly/buildRun",
"enum": [
"runOnly",
"buildRun"
]
},
"xmake.buildDirectory": {
"type": "string",
"default": "${workspaceRoot}/build",
"description": "The Build Output Directory"
},
"xmake.installDirectory": {
"type": "string",
"default": "",
"description": "The Install Output Directory"
},
"xmake.packageDirectory": {
"type": "string",
"default": "",
"description": "The Package Output Directory"
},
"xmake.workingDirectory": {
"type": "string",
"default": "${workspaceRoot}",
"description": "The Project Working Directory with the root xmake.lua"
},
"xmake.androidNDKDirectory": {
"type": "string",
"default": "",
"description": "The Android NDK Directory"
},
"xmake.QtDirectory": {
"type": "string",
"default": "",
"description": "The Qt Directory"
},
"xmake.WDKDirectory": {
"type": "string",
"default": "",
"description": "The WDK Directory"
},
"xmake.compileCommandsDirectory": {
"type": "string",
"default": ".vscode",
"description": "The compile_commands.json file directory"
},
"xmake.compileCommandsBackend": {
"type": "string",
"default": "clangd",
"description": "Set the LSP backend for compile_commands"
},
"xmake.additionalConfigArguments": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "The Additional Config Arguments, .e.g [\"--cc=gcc\", \"--myopt=xxx\"]"
},
"xmake.runningTargetsArguments": {
"type": "object",
"default": {
"default": []
},
"description": "The Running Targets Arguments, .e.g {\"targetName\": [\"args\", \"...\"]}"
},
"xmake.debuggingTargetsArguments": {
"type": "object",
"default": {
"default": []
},
"description": "The Debugging Targets Arguments, .e.g {\"targetName\": [\"args\", \"...\"]}"
},
"xmake.debugConfigType": {
"type": "string",
"default": "default",
"enum": [
"default",
"codelldb"
],
"description": "The Debugging Configuration Type, .e.g default|codelldb"
},
"xmake.customDebugConfig": {
"type": "object",
"default": {},
"description": "The Custom Debugging Configurations"
},
"xmake.envBehaviour": {
"type": "string",
"default": "merge",
"enum": [
"erase",
"merge",
"override"
],
"description": "Environment behaviour between launch.json and xmake envs",
"enumDescriptions": [
"XMake envs will erase launch.json envs",
"This will concat launch.json envs and xmake envs",
"Launch configurations will override xmake envs"
]
},
"xmake.enableSyntaxCheck": {
"type": "boolean",
"default": true,
"description": "Enable lua syntax check"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "xmake-explorer",
"title": "XMake",
"icon": "res/logo-mono.svg"
}
]
},
"views": {
"xmake-explorer": [
{
"type": "tree",
"id": "xmakeExplorer",
"name": "Targets",
"icon": "res/logo-mono.svg",
"contextualTitle": "XMake",
"when": "xmakeEnabled"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "npx tsc -p ./",
"watch": "npx tsc -watch -p ./",
"test": "npm run compile"
},
"dependencies": {
"encoding": "^0.1.13"
},
"devDependencies": {
"@types/node": "^16.10.4",
"@types/vscode": "^1.58.0",
"typescript": "^4.4.3",
"vsce": "^2.11.0"
}
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/tboox-xmake-vscode.git
git@api.gitlife.ru:oschina-mirror/tboox-xmake-vscode.git
oschina-mirror
tboox-xmake-vscode
tboox-xmake-vscode
master