|
184 | 184 | "icon": "$(sort-precedence)"
|
185 | 185 | },
|
186 | 186 | {
|
187 |
| - "command": "mywiki.commentcreateNote", |
188 |
| - "title": "Create Note", |
189 |
| - "enablement": "!commentIsEmpty" |
| 187 | + "command": "lcpr.remarkCreateNote", |
| 188 | + "title": "Create Note" |
190 | 189 | },
|
191 | 190 | {
|
192 |
| - "command": "mywiki.commentreplyNote", |
193 |
| - "title": "Reply", |
194 |
| - "enablement": "!commentIsEmpty" |
| 191 | + "command": "lcpr.remarkAdd", |
| 192 | + "title": "测试新加线程?" |
195 | 193 | },
|
196 | 194 | {
|
197 |
| - "command": "mywiki.commenteditNote", |
198 |
| - "title": "Edit", |
| 195 | + "command": "lcpr.remarkReplyNote", |
| 196 | + "title": "New Note" |
| 197 | + }, |
| 198 | + { |
| 199 | + "command": "lcpr.remarkEditNote", |
| 200 | + "title": "Edit Note", |
199 | 201 | "icon": {
|
200 | 202 | "dark": "resources/edit_inverse.svg",
|
201 | 203 | "light": "resources/edit.svg"
|
202 | 204 | }
|
203 | 205 | },
|
204 | 206 | {
|
205 |
| - "command": "mywiki.commentdeleteNoteComment", |
206 |
| - "title": "Delete", |
| 207 | + "command": "lcpr.remarkDeleteNoteComment", |
| 208 | + "title": "Delete Note", |
207 | 209 | "icon": {
|
208 | 210 | "dark": "resources/close_inverse.svg",
|
209 | 211 | "light": "resources/close.svg"
|
210 | 212 | }
|
211 | 213 | },
|
212 | 214 | {
|
213 |
| - "command": "mywiki.commentsaveNote", |
214 |
| - "title": "Save" |
| 215 | + "command": "lcpr.remarkSaveNote", |
| 216 | + "title": "Save Note" |
215 | 217 | },
|
216 | 218 | {
|
217 |
| - "command": "mywiki.commentcancelsaveNote", |
218 |
| - "title": "Cancel" |
| 219 | + "command": "lcpr.remarkCancelsaveNote", |
| 220 | + "title": "Cancel Note" |
219 | 221 | },
|
220 | 222 | {
|
221 |
| - "command": "mywiki.commentdispose", |
| 223 | + "command": "lcpr.remarkDispose", |
222 | 224 | "title": "Remove All Notes"
|
223 | 225 | }
|
224 | 226 | ],
|
|
246 | 248 | "menus": {
|
247 | 249 | "commandPalette": [
|
248 | 250 | {
|
249 |
| - "command": "mywiki.commentcreateNote", |
| 251 | + "command": "lcpr.remarkCreateNote", |
250 | 252 | "when": "false"
|
251 | 253 | },
|
252 | 254 | {
|
253 |
| - "command": "mywiki.commentreplyNote", |
| 255 | + "command": "lcpr.remarkReplyNote", |
254 | 256 | "when": "false"
|
255 | 257 | },
|
256 | 258 | {
|
257 |
| - "command": "mywiki.commentdeleteNoteComment", |
| 259 | + "command": "lcpr.remarkDeleteNoteComment", |
258 | 260 | "when": "false"
|
259 | 261 | }
|
260 | 262 | ],
|
261 |
| - "comments/commentThread/title": [], |
| 263 | + "comments/commentThread/title": [ |
| 264 | + { |
| 265 | + "command": "lcpr.remarkAdd", |
| 266 | + "group": "inline", |
| 267 | + "when": "commentController == comment-sample" |
| 268 | + } |
| 269 | + ], |
262 | 270 | "comments/commentThread/context": [
|
263 | 271 | {
|
264 |
| - "command": "mywiki.commentcreateNote", |
| 272 | + "command": "lcpr.remarkCreateNote", |
265 | 273 | "group": "inline",
|
266 | 274 | "when": "commentController == comment-sample && commentThreadIsEmpty"
|
267 | 275 | },
|
268 | 276 | {
|
269 |
| - "command": "mywiki.commentreplyNote", |
| 277 | + "command": "lcpr.remarkReplyNote", |
270 | 278 | "group": "inline",
|
271 | 279 | "when": "commentController == comment-sample && !commentThreadIsEmpty"
|
272 | 280 | }
|
273 | 281 | ],
|
274 | 282 | "comments/comment/title": [
|
275 | 283 | {
|
276 |
| - "command": "mywiki.commenteditNote", |
| 284 | + "command": "lcpr.remarkEditNote", |
277 | 285 | "group": "group@1",
|
278 | 286 | "when": "commentController == comment-sample"
|
279 | 287 | },
|
280 | 288 | {
|
281 |
| - "command": "mywiki.commentdeleteNoteComment", |
| 289 | + "command": "lcpr.remarkDeleteNoteComment", |
282 | 290 | "group": "group@2",
|
283 | 291 | "when": "commentController == comment-sample && comment == canDelete"
|
284 | 292 | }
|
285 | 293 | ],
|
286 | 294 | "comments/comment/context": [
|
287 | 295 | {
|
288 |
| - "command": "mywiki.commentcancelsaveNote", |
| 296 | + "command": "lcpr.remarkCancelsaveNote", |
289 | 297 | "group": "inline@1",
|
290 | 298 | "when": "commentController == comment-sample"
|
291 | 299 | },
|
292 | 300 | {
|
293 |
| - "command": "mywiki.commentsaveNote", |
| 301 | + "command": "lcpr.remarkSaveNote", |
294 | 302 | "group": "inline@2",
|
295 | 303 | "when": "commentController == comment-sample"
|
296 | 304 | }
|
|
0 commit comments