/
novemus
/
stack-scopes
Обзор
Документация
Войти
/
novemus
/
stack-scopes
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
package.json
257 строк
8 KB
novemus
#6 support 'lldb' debug profile
12 апр 2025, 18:06
12 апр 2025, 18:06
2a9793f
Код
Авторство
О чём код?
{ "name": "stack-scopes", "displayName": "Stack Scopes", "description": "Analyzing C/C++ Stack Snapshots", "version": "1.4.2", "publisher": "novemus", "author": { "name": "Novemus Band" }, "engines": { "vscode": "^1.60.0" }, "categories": [ "Debuggers" ], "homepage": "https://github.com/novemus/stack-scopes", "repository": { "type": "git", "url": "https://github.com/novemus/stack-scopes.git" }, "bugs": { "url": "https://github.com/novemus/stack-scopes/issues" }, "license": "MIT", "icon": "resources/icon.png", "activationEvents": [ "onDebug" ], "main": "./out/extension.js", "contributes": { "configuration": { "title": "Stack Scopes", "properties": { "stackScopes.search.resultLimit": { "type": "number", "default": 64, "description": "Max number of references in the search result." }, "stackScopes.reference.shortPath": { "type": "number", "default": 4, "description": "Max number of items in the short reference path." }, "stackScopes.reference.longPath": { "type": "number", "default": 32, "description": "Max number of items in the long reference path." } } }, "views": { "debug": [ { "id": "stackScopes", "name": "Scopes" }, { "id": "references", "name": "References" } ] }, "commands": [ { "command": "stackScopes.openStackGraph", "title": "Open Stack Graph", "icon": "$(graph)", "enablement": "inDebugMode && (debugType == 'cppdbg' || debugType == 'cppvsdbg' || debugType == 'lldb')", "category": "Stack Graph" }, { "command": "stackScopes.openSessionStackGraph", "title": "Open Stack Graph for Session", "icon": "$(graph)" }, { "command": "stackScopes.colorizeByTag", "title": "Colorize/Uncolorize Scope", "icon": "$(color-mode)" }, { "command": "stackScopes.searchReferences", "title": "Search References", "icon": "$(search)" }, { "command": "stackScopes.removeReferenceBunch", "title": "Remove Bunch", "icon": "$(close)" }, { "command": "stackScopes.clearReferenceTree", "title": "Clear All", "icon": "$(close-all)" }, { "command": "stackScopes.revealReferenceOnGraph", "title": "Reveal on Graph", "icon": "$(list-tree)" }, { "command": "stackScopes.drawOnlyColorizedStacks", "title": "Draw Only Colorized Stacks", "icon": "$(screen-normal)", "enablement": "inDebugMode && (debugType == 'cppdbg' || debugType == 'cppvsdbg' || debugType == 'lldb')", "category": "Stack Graph" }, { "command": "stackScopes.drawAllStacks", "title": "Draw All Stacks", "icon": "$(screen-full)", "enablement": "inDebugMode && (debugType == 'cppdbg' || debugType == 'cppvsdbg' || debugType == 'lldb')", "category": "Stack Graph" }, { "command": "stackScopes.colorizeMatches", "title": "Colorize Matches", "icon": "$(color-mode)", "enablement": "inDebugMode && (debugType == 'cppdbg' || debugType == 'cppvsdbg' || debugType == 'lldb')", "category": "Stack Graph" }, { "command": "stackScopes.clearMatches", "title": "Clear Matches", "icon": "$(circle-slash)", "enablement": "inDebugMode && (debugType == 'cppdbg' || debugType == 'cppvsdbg' || debugType == 'lldb')", "category": "Stack Graph" } ], "menus": { "commandPalette": [ { "command": "stackScopes.openSessionStackGraph", "when": "false" }, { "command": "stackScopes.colorizeByTag", "when": "false" }, { "command": "stackScopes.searchReferences", "when": "false" }, { "command": "stackScopes.removeReferenceBunch", "when": "false" }, { "command": "stackScopes.clearReferenceTree", "when": "false" }, { "command": "stackScopes.drawOnlyColorizedStacks", "when": "stackScopes.stackGraph" }, { "command": "stackScopes.drawAllStacks", "when": "stackScopes.stackGraph" }, { "command": "stackScopes.colorizeMatches", "when": "stackScopes.stackGraph && stackScopes.multisession && !stackScopes.colorizeMatches" }, { "command": "stackScopes.clearMatches", "when": "stackScopes.stackGraph && stackScopes.multisession && stackScopes.colorizeMatches" } ], "view/title": [ { "command": "stackScopes.openStackGraph", "when": "inDebugMode && view == stackScopes", "group": "navigation" }, { "command": "stackScopes.clearReferenceTree", "when": "inDebugMode && view == references", "group": "navigation" } ], "view/item/context": [ { "command": "stackScopes.openSessionStackGraph", "when": "viewItem == 'scope.session'", "group": "inline" }, { "command": "stackScopes.colorizeByTag", "when": "viewItem == 'scope.frame' || viewItem == 'scope.this' || viewItem == 'scope.function' || viewItem == 'scope.module' || viewItem == 'reference.frame' || viewItem == 'reference.this'", "group": "inline" }, { "command": "stackScopes.revealReferenceOnGraph", "when": "viewItem == 'reference.variable' || viewItem == 'reference.this'", "group": "inline" }, { "command": "stackScopes.searchReferences", "when": "viewItem == 'scope.this' || viewItem == 'scope.variable'", "group": "inline" }, { "command": "stackScopes.removeReferenceBunch", "when": "viewItem == 'reference.references'", "group": "inline" } ], "editor/title": [ { "command": "stackScopes.drawOnlyColorizedStacks", "when": "stackScopes.stackGraph && !stackScopes.drawOnlyColorized", "group": "navigation" }, { "command": "stackScopes.drawAllStacks", "when": "stackScopes.stackGraph && stackScopes.drawOnlyColorized", "group": "navigation" }, { "command": "stackScopes.colorizeMatches", "when": "stackScopes.stackGraph && stackScopes.multisession && !stackScopes.colorizeMatches", "group": "navigation" }, { "command": "stackScopes.clearMatches", "when": "stackScopes.stackGraph && stackScopes.multisession && stackScopes.colorizeMatches", "group": "navigation" } ] } }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "lint": "eslint src --ext ts", "test": "node ./out/test/runTest.js" }, "devDependencies": { "@types/glob": "^7.1.3", "@types/mocha": "^8.2.2", "@types/node": "14.x", "@types/vscode": "^1.60.0", "@typescript-eslint/eslint-plugin": "^4.26.0", "@typescript-eslint/parser": "^4.26.0", "eslint": "^7.27.0", "glob": "^7.1.7", "mocha": "^8.4.0", "typescript": "^4.3.2", "vscode-test": "^1.5.2" }, "dependencies": {}, "extensionDependencies": [ "ms-vscode.cpptools" ] }