|
27 | 27 | ],
|
28 | 28 | "preview": true,
|
29 | 29 | "activationEvents": [
|
30 |
| - "onCommand:leetcode.toggleLeetCodeCn", |
31 |
| - "onCommand:leetcode.signin", |
32 |
| - "onCommand:leetcode.signout", |
33 |
| - "onCommand:leetcode.refreshExplorer", |
34 |
| - "onCommand:leetcode.pickOne", |
35 |
| - "onCommand:leetcode.deleteAllCache", |
36 |
| - "onCommand:leetcode.showProblem", |
37 |
| - "onCommand:leetcode.previewProblem", |
38 |
| - "onCommand:leetcode.searchProblem", |
39 |
| - "onCommand:leetcode.testSolution", |
40 |
| - "onCommand:leetcode.submitSolution", |
41 |
| - "onCommand:leetcode.switchDefaultLanguage", |
42 |
| - "onCommand:leetcode.problems.sort", |
| 30 | + "onCommand:lcpr.toggleLeetCodeCn", |
| 31 | + "onCommand:lcpr.signin", |
| 32 | + "onCommand:lcpr.signout", |
| 33 | + "onCommand:lcpr.refreshExplorer", |
| 34 | + "onCommand:lcpr.pickOne", |
| 35 | + "onCommand:lcpr.deleteAllCache", |
| 36 | + "onCommand:lcpr.showProblem", |
| 37 | + "onCommand:lcpr.previewProblem", |
| 38 | + "onCommand:lcpr.searchProblem", |
| 39 | + "onCommand:lcpr.testSolution", |
| 40 | + "onCommand:lcpr.submitSolution", |
| 41 | + "onCommand:lcpr.setDefaultLanguage", |
| 42 | + "onCommand:lcpr.problems.sort", |
43 | 43 | "onView:QuestionExplorer"
|
44 | 44 | ],
|
45 | 45 | "main": "./out/src/extension",
|
46 | 46 | "contributes": {
|
47 | 47 | "commands": [
|
48 | 48 | {
|
49 |
| - "command": "leetcode.deleteCache", |
| 49 | + "command": "lcpr.deleteCache", |
50 | 50 | "title": "Delete Cache",
|
51 | 51 | "category": "LeetCode"
|
52 | 52 | },
|
53 | 53 | {
|
54 |
| - "command": "leetcode.toggleLeetCodeCn", |
| 54 | + "command": "lcpr.toggleLeetCodeCn", |
55 | 55 | "title": "Switch Endpoint",
|
56 | 56 | "category": "LeetCode",
|
57 | 57 | "icon": "$(globe)"
|
58 | 58 | },
|
59 | 59 | {
|
60 |
| - "command": "leetcode.signin", |
| 60 | + "command": "lcpr.signin", |
61 | 61 | "title": "Sign In",
|
62 | 62 | "category": "LeetCode",
|
63 | 63 | "icon": "$(sign-in)"
|
64 | 64 | },
|
65 | 65 | {
|
66 |
| - "command": "leetcode.signout", |
| 66 | + "command": "lcpr.signout", |
67 | 67 | "title": "Sign Out",
|
68 | 68 | "category": "LeetCode"
|
69 | 69 | },
|
70 | 70 | {
|
71 |
| - "command": "leetcode.refreshExplorer", |
| 71 | + "command": "lcpr.refreshExplorer", |
72 | 72 | "title": "Refresh",
|
73 | 73 | "category": "LeetCode",
|
74 | 74 | "icon": "$(refresh)"
|
75 | 75 | },
|
76 | 76 | {
|
77 |
| - "command": "leetcode.pickOne", |
| 77 | + "command": "lcpr.pickOne", |
78 | 78 | "title": "Pick One",
|
79 | 79 | "category": "LeetCode"
|
80 | 80 | },
|
81 | 81 | {
|
82 |
| - "command": "leetcode.deleteAllCache", |
| 82 | + "command": "lcpr.deleteAllCache", |
83 | 83 | "title": "deleteAllCache",
|
84 | 84 | "category": "LeetCode"
|
85 | 85 | },
|
86 | 86 | {
|
87 |
| - "command": "leetcode.showProblem", |
| 87 | + "command": "lcpr.showProblem", |
88 | 88 | "title": "Show Problem",
|
89 | 89 | "category": "LeetCode"
|
90 | 90 | },
|
91 | 91 | {
|
92 |
| - "command": "leetcode.previewProblem", |
| 92 | + "command": "lcpr.previewProblem", |
93 | 93 | "title": "Preview Problem",
|
94 | 94 | "category": "LeetCode"
|
95 | 95 | },
|
96 | 96 | {
|
97 |
| - "command": "leetcode.searchProblem", |
| 97 | + "command": "lcpr.SetBricksType", |
| 98 | + "title": "设置提交几天后出现在工地", |
| 99 | + "category": "LeetCode" |
| 100 | + }, |
| 101 | + { |
| 102 | + "command": "lcpr.searchProblem", |
98 | 103 | "title": "Search Problem",
|
99 | 104 | "category": "LeetCode",
|
100 | 105 | "icon": "$(search)"
|
101 | 106 | },
|
102 | 107 | {
|
103 |
| - "command": "leetcode.showSolution", |
| 108 | + "command": "lcpr.showSolution", |
104 | 109 | "title": "Show Top Voted Solution",
|
105 | 110 | "category": "LeetCode"
|
106 | 111 | },
|
107 | 112 | {
|
108 |
| - "command": "leetcode.testSolution", |
| 113 | + "command": "lcpr.testSolution", |
109 | 114 | "title": "Test in LeetCode",
|
110 | 115 | "category": "LeetCode"
|
111 | 116 | },
|
112 | 117 | {
|
113 |
| - "command": "leetcode.submitSolution", |
| 118 | + "command": "lcpr.submitSolution", |
114 | 119 | "title": "Submit to LeetCode",
|
115 | 120 | "category": "LeetCode"
|
116 | 121 | },
|
117 | 122 | {
|
118 |
| - "command": "leetcode.addFavorite", |
| 123 | + "command": "lcpr.addFavorite", |
119 | 124 | "title": "Add to Favorite List",
|
120 | 125 | "category": "LeetCode",
|
121 | 126 | "icon": {
|
|
124 | 129 | }
|
125 | 130 | },
|
126 | 131 | {
|
127 |
| - "command": "leetcode.removeFavorite", |
| 132 | + "command": "lcpr.removeFavorite", |
128 | 133 | "title": "Remove from Favorite List",
|
129 | 134 | "category": "LeetCode",
|
130 | 135 | "icon": {
|
|
133 | 138 | }
|
134 | 139 | },
|
135 | 140 | {
|
136 |
| - "command": "leetcode.switchDefaultLanguage", |
| 141 | + "command": "lcpr.setDefaultLanguage", |
137 | 142 | "title": "Switch Default Language",
|
138 | 143 | "category": "LeetCode"
|
139 | 144 | },
|
140 | 145 | {
|
141 |
| - "command": "leetcode.problems.sort", |
| 146 | + "command": "lcpr.problems.sort", |
142 | 147 | "title": "Sort Problems",
|
143 | 148 | "category": "LeetCode",
|
144 | 149 | "icon": "$(sort-precedence)"
|
|
160 | 165 | "name": "Problems"
|
161 | 166 | },
|
162 | 167 | {
|
163 |
| - "id": "LifeExplorer", |
164 |
| - "name": "搬砖" |
| 168 | + "id": "BricksExplorer", |
| 169 | + "name": "搬砖工地" |
165 | 170 | }
|
166 | 171 | ]
|
167 | 172 | },
|
168 | 173 | "menus": {
|
169 | 174 | "view/title": [
|
170 | 175 | {
|
171 |
| - "command": "leetcode.toggleLeetCodeCn", |
| 176 | + "command": "lcpr.toggleLeetCodeCn", |
172 | 177 | "when": "view == QuestionExplorer",
|
173 | 178 | "group": "navigation@0"
|
174 | 179 | },
|
175 | 180 | {
|
176 |
| - "command": "leetcode.signin", |
| 181 | + "command": "lcpr.signin", |
177 | 182 | "when": "view == QuestionExplorer",
|
178 | 183 | "group": "navigation@1"
|
179 | 184 | },
|
180 | 185 | {
|
181 |
| - "command": "leetcode.searchProblem", |
| 186 | + "command": "lcpr.searchProblem", |
182 | 187 | "when": "view == QuestionExplorer",
|
183 | 188 | "group": "navigation@2"
|
184 | 189 | },
|
185 | 190 | {
|
186 |
| - "command": "leetcode.refreshExplorer", |
| 191 | + "command": "lcpr.refreshExplorer", |
187 | 192 | "when": "view == QuestionExplorer",
|
188 | 193 | "group": "navigation@3"
|
189 | 194 | },
|
190 | 195 | {
|
191 |
| - "command": "leetcode.pickOne", |
| 196 | + "command": "lcpr.pickOne", |
192 | 197 | "when": "view == QuestionExplorer",
|
193 | 198 | "group": "overflow@0"
|
194 | 199 | },
|
195 | 200 | {
|
196 |
| - "command": "leetcode.problems.sort", |
| 201 | + "command": "lcpr.problems.sort", |
197 | 202 | "when": "view == QuestionExplorer",
|
198 | 203 | "group": "overflow@1"
|
199 | 204 | },
|
200 | 205 | {
|
201 |
| - "command": "leetcode.deleteAllCache", |
| 206 | + "command": "lcpr.deleteAllCache", |
202 | 207 | "when": "view == QuestionExplorer",
|
203 | 208 | "group": "overflow@2"
|
204 | 209 | }
|
205 | 210 | ],
|
206 | 211 | "view/item/context": [
|
207 | 212 | {
|
208 |
| - "command": "leetcode.previewProblem", |
| 213 | + "command": "lcpr.previewProblem", |
209 | 214 | "when": "view == QuestionExplorer && viewItem =~ /problem*/",
|
210 | 215 | "group": "leetcode@1"
|
211 | 216 | },
|
212 | 217 | {
|
213 |
| - "command": "leetcode.showProblem", |
| 218 | + "command": "lcpr.showProblem", |
214 | 219 | "when": "view == QuestionExplorer && viewItem =~ /problem*/",
|
215 | 220 | "group": "leetcode@2"
|
216 | 221 | },
|
217 | 222 | {
|
218 |
| - "command": "leetcode.showSolution", |
| 223 | + "command": "lcpr.showSolution", |
219 | 224 | "when": "view == QuestionExplorer && viewItem =~ /problem*/",
|
220 | 225 | "group": "leetcode@3"
|
221 | 226 | },
|
222 | 227 | {
|
223 |
| - "command": "leetcode.addFavorite", |
| 228 | + "command": "lcpr.addFavorite", |
224 | 229 | "when": "view == QuestionExplorer && viewItem == problem",
|
225 | 230 | "group": "inline"
|
226 | 231 | },
|
227 | 232 | {
|
228 |
| - "command": "leetcode.removeFavorite", |
| 233 | + "command": "lcpr.removeFavorite", |
229 | 234 | "when": "view == QuestionExplorer && viewItem == problem-favorite",
|
230 | 235 | "group": "inline"
|
| 236 | + }, |
| 237 | + { |
| 238 | + "command": "lcpr.previewProblem", |
| 239 | + "when": "view == BricksExplorer && viewItem == bricks", |
| 240 | + "group": "leetcode@1" |
| 241 | + }, |
| 242 | + { |
| 243 | + "command": "lcpr.showProblem", |
| 244 | + "when": "view == BricksExplorer && viewItem == bricks", |
| 245 | + "group": "leetcode@2" |
| 246 | + }, |
| 247 | + { |
| 248 | + "command": "lcpr.showSolution", |
| 249 | + "when": "view == BricksExplorer && viewItem == bricks", |
| 250 | + "group": "leetcode@3" |
231 | 251 | }
|
232 | 252 | ],
|
233 | 253 | "commandPalette": [
|
234 | 254 | {
|
235 |
| - "command": "leetcode.showProblem", |
| 255 | + "command": "lcpr.showProblem", |
236 | 256 | "when": "never"
|
237 | 257 | },
|
238 | 258 | {
|
239 |
| - "command": "leetcode.showSolution", |
| 259 | + "command": "lcpr.showSolution", |
240 | 260 | "when": "never"
|
241 | 261 | },
|
242 | 262 | {
|
243 |
| - "command": "leetcode.previewProblem", |
| 263 | + "command": "lcpr.previewProblem", |
244 | 264 | "when": "never"
|
245 | 265 | },
|
246 | 266 | {
|
247 |
| - "command": "leetcode.addFavorite", |
| 267 | + "command": "lcpr.addFavorite", |
248 | 268 | "when": "never"
|
249 | 269 | },
|
250 | 270 | {
|
251 |
| - "command": "leetcode.removeFavorite", |
| 271 | + "command": "lcpr.removeFavorite", |
252 | 272 | "when": "never"
|
253 | 273 | }
|
254 | 274 | ],
|
255 | 275 | "explorer/context": [
|
256 | 276 | {
|
257 |
| - "command": "leetcode.testSolution", |
| 277 | + "command": "lcpr.testSolution", |
258 | 278 | "when": "explorerResourceIsFolder == false",
|
259 | 279 | "group": "leetcode@1"
|
260 | 280 | },
|
261 | 281 | {
|
262 |
| - "command": "leetcode.submitSolution", |
| 282 | + "command": "lcpr.submitSolution", |
263 | 283 | "when": "explorerResourceIsFolder == false",
|
264 | 284 | "group": "leetcode@2"
|
265 | 285 | }
|
|
271 | 291 | ],
|
272 | 292 | "leetcode.editorAction": [
|
273 | 293 | {
|
274 |
| - "command": "leetcode.testSolution", |
| 294 | + "command": "lcpr.testSolution", |
275 | 295 | "group": "leetcode@1"
|
276 | 296 | },
|
277 | 297 | {
|
278 |
| - "command": "leetcode.submitSolution", |
| 298 | + "command": "lcpr.submitSolution", |
279 | 299 | "group": "leetcode@2"
|
280 | 300 | },
|
281 | 301 | {
|
282 |
| - "command": "leetcode.showSolution", |
| 302 | + "command": "lcpr.showSolution", |
283 | 303 | "group": "leetcode@3"
|
284 | 304 | },
|
285 | 305 | {
|
286 |
| - "command": "leetcode.previewProblem", |
| 306 | + "command": "lcpr.previewProblem", |
287 | 307 | "group": "leetcode@4"
|
288 | 308 | }
|
289 | 309 | ]
|
|
0 commit comments