@codingame/monaco-vscode-references-view-default-extension 1.83.2 → 1.83.3-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +2 -2
- package/package.nls.json +31 -0
package/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { registerExtension } from 'vscode/extensions';
|
|
2
2
|
|
|
3
|
-
var manifest = {name:"references-view",displayName:"
|
|
3
|
+
var manifest = {name:"references-view",displayName:"%displayName%",description:"%description%",icon:"media/icon.png",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"^1.67.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:editor.action.showReferences"],main:undefined,browser:"./dist/extension.js",contributes:{configuration:{properties:{"references.preferredLocation":{description:"%config.references.preferredLocation%",type:"string","default":"peek","enum":["peek","view"],enumDescriptions:["%config.references.preferredLocation.peek%","%config.references.preferredLocation.view%"]}}},viewsContainers:{activitybar:[{id:"references-view",icon:"$(references)",title:"%container.title%"}]},views:{"references-view":[{id:"references-view.tree",name:"%view.title%",when:"reference-list.isActive"}]},commands:[{command:"references-view.findReferences",title:"%cmd.references-view.findReferences%",category:"%cmd.category.references%"},{command:"references-view.findImplementations",title:"%cmd.references-view.findImplementations%",category:"%cmd.category.references%"},{command:"references-view.clearHistory",title:"%cmd.references-view.clearHistory%",category:"%cmd.category.references%",icon:"$(clear-all)"},{command:"references-view.clear",title:"%cmd.references-view.clear%",category:"%cmd.category.references%",icon:"$(clear-all)"},{command:"references-view.refresh",title:"%cmd.references-view.refresh%",category:"%cmd.category.references%",icon:"$(refresh)"},{command:"references-view.pickFromHistory",title:"%cmd.references-view.pickFromHistory%",category:"%cmd.category.references%"},{command:"references-view.removeReferenceItem",title:"%cmd.references-view.removeReferenceItem%",icon:"$(close)"},{command:"references-view.copy",title:"%cmd.references-view.copy%"},{command:"references-view.copyAll",title:"%cmd.references-view.copyAll%"},{command:"references-view.copyPath",title:"%cmd.references-view.copyPath%"},{command:"references-view.refind",title:"%cmd.references-view.refind%",icon:"$(refresh)"},{command:"references-view.showCallHierarchy",title:"%cmd.references-view.showCallHierarchy%",category:"Calls"},{command:"references-view.showOutgoingCalls",title:"%cmd.references-view.showOutgoingCalls%",category:"Calls",icon:"$(call-outgoing)"},{command:"references-view.showIncomingCalls",title:"%cmd.references-view.showIncomingCalls%",category:"Calls",icon:"$(call-incoming)"},{command:"references-view.removeCallItem",title:"%cmd.references-view.removeCallItem%",icon:"$(close)"},{command:"references-view.next",title:"%cmd.references-view.next%",enablement:"references-view.canNavigate"},{command:"references-view.prev",title:"%cmd.references-view.prev%",enablement:"references-view.canNavigate"},{command:"references-view.showTypeHierarchy",title:"%cmd.references-view.showTypeHierarchy%",category:"Types"},{command:"references-view.showSupertypes",title:"%cmd.references-view.showSupertypes%",category:"Types",icon:"$(type-hierarchy-super)"},{command:"references-view.showSubtypes",title:"%cmd.references-view.showSubtypes%",category:"Types",icon:"$(type-hierarchy-sub)"},{command:"references-view.removeTypeItem",title:"%cmd.references-view.removeTypeItem%",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:{compile:"npx gulp compile-extension:references-view",watch:"npx gulp watch-extension:references-view"},devDependencies:{"@types/node":"18.x"}};
|
|
4
4
|
|
|
5
5
|
const { registerFileUrl, whenReady } = registerExtension(manifest);
|
|
6
6
|
registerFileUrl('./dist/extension.js', new URL('./extension.js', import.meta.url).toString(), 'text/javascript');
|
|
7
7
|
registerFileUrl('dist/extension.js.map', new URL('./extension.js.map', import.meta.url).toString(), 'application/json');
|
|
8
|
+
registerFileUrl('package.nls.json', new URL('./package.nls.json', import.meta.url).toString(), 'application/json');
|
|
8
9
|
|
|
9
10
|
export { whenReady };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-references-view-default-extension",
|
|
3
|
-
"version": "1.83.
|
|
3
|
+
"version": "1.83.3-next.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@1.83.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@1.83.3-next.0"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/package.nls.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"displayName": "Reference Search View",
|
|
3
|
+
"description": "Reference Search results as separate, stable view in the sidebar",
|
|
4
|
+
"config.references.preferredLocation": "Controls whether 'Peek References' or 'Find References' is invoked when selecting CodeLens references.",
|
|
5
|
+
"config.references.preferredLocation.peek": "Show references in peek editor.",
|
|
6
|
+
"config.references.preferredLocation.view": "Show references in separate view.",
|
|
7
|
+
"container.title": "References",
|
|
8
|
+
"view.title": "Reference Search Results",
|
|
9
|
+
"cmd.category.references": "References",
|
|
10
|
+
"cmd.references-view.findReferences": "Find All References",
|
|
11
|
+
"cmd.references-view.findImplementations": "Find All Implementations",
|
|
12
|
+
"cmd.references-view.clearHistory": "Clear History",
|
|
13
|
+
"cmd.references-view.clear": "Clear",
|
|
14
|
+
"cmd.references-view.refresh": "Refresh",
|
|
15
|
+
"cmd.references-view.pickFromHistory": "Show History",
|
|
16
|
+
"cmd.references-view.removeReferenceItem": "Dismiss",
|
|
17
|
+
"cmd.references-view.copy": "Copy",
|
|
18
|
+
"cmd.references-view.copyAll": "Copy All",
|
|
19
|
+
"cmd.references-view.copyPath": "Copy Path",
|
|
20
|
+
"cmd.references-view.refind": "Rerun",
|
|
21
|
+
"cmd.references-view.showCallHierarchy": "Show Call Hierarchy",
|
|
22
|
+
"cmd.references-view.showOutgoingCalls": "Show Outgoing Calls",
|
|
23
|
+
"cmd.references-view.showIncomingCalls": "Show Incoming Calls",
|
|
24
|
+
"cmd.references-view.removeCallItem": "Dismiss",
|
|
25
|
+
"cmd.references-view.next": "Go to Next Reference",
|
|
26
|
+
"cmd.references-view.prev": "Go to Previous Reference",
|
|
27
|
+
"cmd.references-view.showTypeHierarchy": "Show Type Hierarchy",
|
|
28
|
+
"cmd.references-view.showSupertypes": "Show Supertypes",
|
|
29
|
+
"cmd.references-view.showSubtypes": "Show Subtypes",
|
|
30
|
+
"cmd.references-view.removeTypeItem": "Dismiss"
|
|
31
|
+
}
|