|
19 | 19 | "vscode": "^1.44.0" |
20 | 20 | }, |
21 | 21 | "activationEvents": [ |
22 | | - "onCommand:snippet-copy.copyWithoutLeadingIndentation" |
| 22 | + "onCommand:snippet-copy.copySnippet", |
| 23 | + "onCommand:snippet-copy.copySnippetAsMarkdownCodeBlock" |
23 | 24 | ], |
24 | 25 | "main": "./out/extension.js", |
25 | 26 | "contributes": { |
26 | 27 | "commands": [ |
27 | 28 | { |
28 | | - "command": "snippet-copy.copyWithoutLeadingIndentation", |
29 | | - "title": "Copy Without Leading Indentation" |
| 29 | + "command": "snippet-copy.copySnippet", |
| 30 | + "title": "Copy Snippet Without Leading Indentation" |
| 31 | + }, |
| 32 | + { |
| 33 | + "command": "snippet-copy.copySnippetAsMarkdownCodeBlock", |
| 34 | + "title": "Copy Snippet Without Leading Indentation as Markdown Code Block" |
30 | 35 | } |
31 | 36 | ], |
32 | 37 | "configuration": { |
|
41 | 46 | }, |
42 | 47 | "keybindings": [ |
43 | 48 | { |
44 | | - "command": "snippet-copy.copyWithoutLeadingIndentation", |
| 49 | + "command": "snippet-copy.copySnippet", |
45 | 50 | "mac": "Cmd+Ctrl+c", |
46 | 51 | "linux": "Meta+Ctrl+c", |
47 | 52 | "win": "Win+Ctrl+c", |
48 | 53 | "when": "editorHasSelection" |
| 54 | + }, |
| 55 | + { |
| 56 | + "command": "snippet-copy.copySnippetAsMarkdownCodeBlock", |
| 57 | + "mac": "Cmd+Ctrl+Shift+c", |
| 58 | + "linux": "Meta+Ctrl+Shift+c", |
| 59 | + "win": "Win+Ctrl+Shift+c", |
| 60 | + "when": "editorHasSelection" |
49 | 61 | } |
50 | 62 | ], |
51 | 63 | "menus": { |
52 | 64 | "editor/context": [ |
53 | 65 | { |
54 | | - "command": "snippet-copy.copyWithoutLeadingIndentation", |
| 66 | + "command": "snippet-copy.copySnippet", |
55 | 67 | "when": "editorHasSelection", |
56 | 68 | "group": "9_cutcopypaste@2" |
| 69 | + }, |
| 70 | + { |
| 71 | + "command": "snippet-copy.copySnippetAsMarkdownCodeBlock", |
| 72 | + "when": "editorHasSelection", |
| 73 | + "group": "9_cutcopypaste@3" |
57 | 74 | } |
58 | 75 | ] |
59 | 76 | } |
|
0 commit comments