-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
160 lines (160 loc) 路 3.91 KB
/
package.json
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "snippet",
"displayName": "Snippet",
"description": "Insert a snippet from cht.sh for Python, JavaScript, Ruby, C#, Go, Rust (and any other language)",
"version": "0.8.1",
"publisher": "vscode-snippet",
"engines": {
"vscode": "^1.40.0"
},
"repository": {
"type": "git",
"url": "https://github.com/mre/vscode-snippet.git"
},
"license": "MIT",
"icon": "contrib/icon.png",
"galleryBanner": {
"color": "#6cfff9",
"theme": "light"
},
"categories": [
"Programming Languages",
"Snippets",
"Other"
],
"tags": [
"python",
"ruby",
"php",
"rust",
"C#",
"go",
"haskell",
"typescript",
"shell",
"javascript",
"node",
"snippet",
"examples",
"documentation",
"help",
"tldr",
"helper",
"cheatsheet"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"title": "Find",
"command": "snippet.find",
"category": "Snippet"
},
{
"title": "Find for language",
"command": "snippet.findForLanguage",
"category": "Snippet"
},
{
"title": "Find Inplace",
"command": "snippet.findInplace",
"category": "Snippet"
},
{
"title": "Find in new editor window",
"command": "snippet.findInNewEditor",
"category": "Snippet"
},
{
"title": "Find snippet from selected text",
"command": "snippet.findSelectedText",
"category": "Snippet"
},
{
"title": "Show previous answer",
"command": "snippet.showPreviousAnswer",
"category": "Snippet"
},
{
"title": "Show next answer",
"command": "snippet.showNextAnswer",
"category": "Snippet"
},
{
"title": "Toggle comments",
"command": "snippet.toggleComments",
"category": "Snippet"
}
],
"configuration": {
"title": "Snippet",
"properties": {
"snippet.baseUrl": {
"type": "string",
"default": "https://cht.sh",
"description": "Base URL of the cheat sheet server"
},
"snippet.openInNewEditor": {
"type": "boolean",
"default": true,
"description": "Open snippet result in new editor."
},
"snippet.verbose": {
"type": "boolean",
"default": false,
"description": "Also show explanations for code snippets."
},
"snippet.defaultLanguage": {
"type": "string",
"default": null,
"description": "Programming language name in lower case to use as default language when there is no open editor window."
}
}
},
"menus": {
"editor/context": [
{
"when": "editorHasSelection",
"command": "snippet.findSelectedText",
"group": "1_modification"
}
]
},
"keybindings": [
{
"command": "snippet.findSelectedText",
"key": "ctrl+shift+s",
"mac": "cmd+shift+s",
"when": "editorHasSelection"
}
]
},
"activationEvents": [
"onCommand:snippet.find",
"onCommand:snippet.findForLanguage",
"onCommand:snippet.findSelectedText",
"onCommand:snippet.findInplace",
"onCommand:snippet.findInNewEditor",
"onCommand:snippet.showPreviousAnswer",
"onCommand:snippet.showNextAnswer",
"onCommand:snippet.toggleComments"
],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ --allowSyntheticDefaultImports",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"dependencies": {
"axios": "^0.20.0",
"event-stream": "4.0.1",
"http-proxy-agent": "^4.0.1",
"vsce": "^1.79.4"
},
"devDependencies": {
"@types/node": "^12.12.11",
"@types/vscode": "^1.40.0",
"tslint": "^6.1.3",
"typescript": "^3.7.2"
}
}