solorice/vscode/extensions/ms-vscode.references-view-0.0.89/package.json
2022-04-28 20:54:44 +03:00

432 lines
12 KiB
JSON

{
"name": "references-view",
"displayName": "Reference Search View",
"icon": "media/icon.png",
"description": "Reference Search results as separate, stable view in the sidebar",
"version": "0.0.89",
"publisher": "ms-vscode",
"engines": {
"vscode": "^1.66.0"
},
"capabilities": {
"virtualWorkspaces": true,
"untrustedWorkspaces": {
"supported": true
}
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-references-view"
},
"bugs": {
"url": "https://github.com/Microsoft/vscode-references-view/issues"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onCommand:references-view.find",
"onCommand:references-view.findReferences",
"onCommand:references-view.findImplementations",
"onCommand:references-view.showCallHierarchy",
"onCommand:references-view.showTypeHierarchy",
"onCommand:editor.action.showReferences",
"onView:references-view.tree"
],
"main": "./dist/extension",
"browser": "./dist/extension",
"contributes": {
"configuration": {
"properties": {
"references.preferredLocation": {
"description": "Controls whether 'Peek References' or 'Find References' is invoked when selecting code lens references",
"type": "string",
"default": "peek",
"enum": [
"peek",
"view"
],
"enumDescriptions": [
"Show references in peek editor.",
"Show references in separate view."
]
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "references-view",
"icon": "$(references)",
"title": "References"
}
]
},
"views": {
"references-view": [
{
"id": "references-view.tree",
"name": "Results",
"when": "reference-list.isActive"
}
]
},
"commands": [
{
"command": "references-view.findReferences",
"title": "Find All References",
"category": "References"
},
{
"command": "references-view.findImplementations",
"title": "Find All Implementations",
"category": "References"
},
{
"command": "references-view.clearHistory",
"title": "Clear History",
"category": "References",
"icon": "$(clear-all)"
},
{
"command": "references-view.clear",
"title": "Clear",
"category": "References",
"icon": "$(clear-all)"
},
{
"command": "references-view.refresh",
"title": "Refresh",
"category": "References",
"icon": "$(refresh)"
},
{
"command": "references-view.pickFromHistory",
"title": "Show History",
"category": "References"
},
{
"command": "references-view.removeReferenceItem",
"title": "Dismiss",
"icon": "$(close)"
},
{
"command": "references-view.copy",
"title": "Copy"
},
{
"command": "references-view.copyAll",
"title": "Copy All"
},
{
"command": "references-view.copyPath",
"title": "Copy Path"
},
{
"command": "references-view.refind",
"title": "Rerun",
"icon": "$(refresh)"
},
{
"command": "references-view.showCallHierarchy",
"title": "Show Call Hierarchy",
"category": "Calls"
},
{
"command": "references-view.showOutgoingCalls",
"title": "Show Outgoing Calls",
"category": "Calls",
"icon": "$(call-outgoing)"
},
{
"command": "references-view.showIncomingCalls",
"title": "Show Incoming Calls",
"category": "Calls",
"icon": "$(call-incoming)"
},
{
"command": "references-view.removeCallItem",
"title": "Dismiss",
"icon": "$(close)"
},
{
"command": "references-view.next",
"title": "Go to Next Reference",
"enablement": "references-view.canNavigate"
},
{
"command": "references-view.prev",
"title": "Go to Previous Reference",
"enablement": "references-view.canNavigate"
},
{
"command": "references-view.showTypeHierarchy",
"title": "Show Type Hierarchy",
"category": "Types"
},
{
"command": "references-view.showSupertypes",
"title": "Show Supertypes",
"category": "Types",
"icon": "$(type-hierarchy-super)"
},
{
"command": "references-view.showSubtypes",
"title": "Show Subtypes",
"category": "Types",
"icon": "$(type-hierarchy-sub)"
},
{
"command": "references-view.removeTypeItem",
"title": "Dismiss",
"icon": "$(close)"
}
],
"menus": {
"editor/context": [
{
"command": "references-view.findReferences",
"when": "editorHasReferenceProvider",
"group": "0_navigation@1"
},
{
"command": "references-view.findImplementations",
"when": "editorHasImplementationProvider",
"group": "0_navigation@2"
},
{
"command": "references-view.showCallHierarchy",
"when": "editorHasCallHierarchyProvider",
"group": "0_navigation@3"
},
{
"command": "references-view.showTypeHierarchy",
"when": "editorHasTypeHierarchyProvider",
"group": "0_navigation@4"
}
],
"view/title": [
{
"command": "references-view.clear",
"group": "navigation@3",
"when": "view == references-view.tree && reference-list.hasResult"
},
{
"command": "references-view.clearHistory",
"group": "navigation@3",
"when": "view == references-view.tree && reference-list.hasHistory && !reference-list.hasResult"
},
{
"command": "references-view.refresh",
"group": "navigation@2",
"when": "view == references-view.tree && reference-list.hasResult"
},
{
"command": "references-view.showOutgoingCalls",
"group": "navigation@1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == callHierarchy && references-view.callHierarchyMode == showIncoming"
},
{
"command": "references-view.showIncomingCalls",
"group": "navigation@1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == callHierarchy && references-view.callHierarchyMode == showOutgoing"
},
{
"command": "references-view.showSupertypes",
"group": "navigation@1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == typeHierarchy && references-view.typeHierarchyMode != supertypes"
},
{
"command": "references-view.showSubtypes",
"group": "navigation@1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == typeHierarchy && references-view.typeHierarchyMode != subtypes"
}
],
"view/item/context": [
{
"command": "references-view.removeReferenceItem",
"group": "inline",
"when": "view == references-view.tree && viewItem == file-item || view == references-view.tree && viewItem == reference-item"
},
{
"command": "references-view.removeCallItem",
"group": "inline",
"when": "view == references-view.tree && viewItem == call-item"
},
{
"command": "references-view.removeTypeItem",
"group": "inline",
"when": "view == references-view.tree && viewItem == type-item"
},
{
"command": "references-view.refind",
"group": "inline",
"when": "view == references-view.tree && viewItem == history-item"
},
{
"command": "references-view.removeReferenceItem",
"group": "1",
"when": "view == references-view.tree && viewItem == file-item || view == references-view.tree && viewItem == reference-item"
},
{
"command": "references-view.removeCallItem",
"group": "1",
"when": "view == references-view.tree && viewItem == call-item"
},
{
"command": "references-view.removeTypeItem",
"group": "1",
"when": "view == references-view.tree && viewItem == type-item"
},
{
"command": "references-view.refind",
"group": "1",
"when": "view == references-view.tree && viewItem == history-item"
},
{
"command": "references-view.copy",
"group": "2@1",
"when": "view == references-view.tree && viewItem == file-item || view == references-view.tree && viewItem == reference-item"
},
{
"command": "references-view.copyPath",
"group": "2@2",
"when": "view == references-view.tree && viewItem == file-item"
},
{
"command": "references-view.copyAll",
"group": "2@3",
"when": "view == references-view.tree && viewItem == file-item || view == references-view.tree && viewItem == reference-item"
},
{
"command": "references-view.showOutgoingCalls",
"group": "1",
"when": "view == references-view.tree && viewItem == call-item"
},
{
"command": "references-view.showIncomingCalls",
"group": "1",
"when": "view == references-view.tree && viewItem == call-item"
},
{
"command": "references-view.showSupertypes",
"group": "1",
"when": "view == references-view.tree && viewItem == type-item"
},
{
"command": "references-view.showSubtypes",
"group": "1",
"when": "view == references-view.tree && viewItem == type-item"
}
],
"commandPalette": [
{
"command": "references-view.removeReferenceItem",
"when": "never"
},
{
"command": "references-view.removeCallItem",
"when": "never"
},
{
"command": "references-view.removeTypeItem",
"when": "never"
},
{
"command": "references-view.copy",
"when": "never"
},
{
"command": "references-view.copyAll",
"when": "never"
},
{
"command": "references-view.copyPath",
"when": "never"
},
{
"command": "references-view.refind",
"when": "never"
},
{
"command": "references-view.findReferences",
"when": "editorHasReferenceProvider"
},
{
"command": "references-view.clear",
"when": "reference-list.hasResult"
},
{
"command": "references-view.clearHistory",
"when": "reference-list.isActive && !reference-list.hasResult"
},
{
"command": "references-view.refresh",
"when": "reference-list.hasResult"
},
{
"command": "references-view.pickFromHistory",
"when": "reference-list.isActive"
},
{
"command": "references-view.next",
"when": "never"
},
{
"command": "references-view.prev",
"when": "never"
}
]
},
"keybindings": [
{
"command": "references-view.findReferences",
"when": "editorHasReferenceProvider",
"key": "shift+alt+f12"
},
{
"command": "references-view.next",
"when": "reference-list.hasResult",
"key": "f4"
},
{
"command": "references-view.prev",
"when": "reference-list.hasResult",
"key": "shift+f4"
},
{
"command": "references-view.showCallHierarchy",
"when": "editorHasCallHierarchyProvider",
"key": "shift+alt+h"
}
]
},
"scripts": {
"vscode:prepublish": "npm run typecheck && npm run bundle",
"lint": "eslint src --ext ts",
"typecheck": "tsc -p tsconfig.json --noEmit",
"bundle": "esbuild src/extension.ts --bundle --outdir=dist --external:vscode --platform=node --target=node12.18 --minify --sourcemap",
"ts-compile": "tsc -p tsconfig.json",
"deploy": "npx vsce publish"
},
"devDependencies": {
"@types/node": "^12.11.7",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"esbuild": "^0.8.31",
"eslint": "^7.6.0",
"typescript": "~3.7.2"
},
"__metadata": {
"id": "dc489f46-520d-4556-ae85-1f9eab3c412d",
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
"publisherDisplayName": "Microsoft",
"targetPlatform": "undefined",
"isBuiltin": true,
"isSystem": true,
"updated": true,
"isPreReleaseVersion": false,
"preRelease": false,
"installedTimestamp": 1649320098955
}
}