forked from stevepryde/vscode-def-view
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 3.16 KB
/
package.json
File metadata and controls
132 lines (132 loc) · 3.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "definition-view",
"displayName": "Definition View",
"description": "Display full code definition in the sidebar.",
"version": "0.0.6",
"publisher": "stevepryde",
"keywords": [
"definition",
"docs",
"hover",
"sidebar",
"panel"
],
"galleryBanner": {
"color": "4C4C4C",
"theme": "dark"
},
"icon": "icon.png",
"engines": {
"vscode": "^1.50.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:defView.definition",
"onCommand:defView.definitionView.pin",
"onCommand:defView.definitionView.unpin"
],
"repository": {
"type": "git",
"url": "https://github.com/stevepryde/vscode-def-view.git"
},
"bugs": "https://github.com/stevepryde/vscode-def-view/issues",
"main": "./dist/extension",
"extensionKind": [
"ui",
"workspace"
],
"contributes": {
"views": {
"explorer": [
{
"type": "webview",
"id": "defView.definition",
"name": "Definition View",
"contextualTitle": "Code"
}
]
},
"commands": [
{
"command": "defView.definitionView.pin",
"title": "Pin Current Definition",
"icon": "$(pin)",
"category": "Definition View"
},
{
"command": "defView.definitionView.unpin",
"title": "Unpin Current Definition",
"icon": "$(pinned)",
"category": "Definition View"
}
],
"menus": {
"commandPalette": [
{
"command": "defView.definitionView.pin",
"when": "!defView.definitionView.isPinned"
},
{
"command": "defView.definitionView.unpin",
"when": "defView.definitionView.isPinned"
}
],
"view/title": [
{
"command": "defView.definitionView.pin",
"when": "view == defView.definition && !defView.definitionView.isPinned",
"group": "navigation"
},
{
"command": "defView.definitionView.unpin",
"when": "view == defView.definition && defView.definitionView.isPinned",
"group": "navigation"
}
]
},
"configuration": {
"title": "Definition View",
"properties": {
"defView.definitionView.updateMode": {
"type": "string",
"description": "Controls how the definition view is updated when the cursor moves.",
"default": "live",
"enum": [
"live",
"sticky"
],
"enumDescriptions": [
"The definition view tracks the current cursor position. Display empty content if no symbol is found at the current position.",
"The definition view tries to show the definition for the symbol at the current cursor position. If there is none, it continues showing the last available definition."
]
}
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"lint": "eslint . --ext .ts,.tsx"
},
"dependencies": {
"json5": "^2.1.3",
"oniguruma": "^7.2.1",
"shiki": "^0.2.5",
"shiki-themes": "^0.2.5"
},
"devDependencies": {
"@types/json5": "0.0.30",
"@types/node": "^14.11.2",
"@types/vscode": "^1.50.0",
"@typescript-eslint/eslint-plugin": "^3.0.2",
"@typescript-eslint/parser": "^3.0.2",
"eslint": "^7.1.0",
"ts-loader": "^8.0.4",
"typescript": "^4.6.4",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.0"
}
}