mirror of
https://github.com/nyanotech/recombobulator
synced 2026-02-08 05:37:27 -08:00
Only show the command when there's a selection
This commit is contained in:
10
package.json
10
package.json
@@ -20,7 +20,15 @@
|
|||||||
"category": "Recombobulator",
|
"category": "Recombobulator",
|
||||||
"title": "base64 encode"
|
"title": "base64 encode"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"menus": {
|
||||||
|
"commandPalette": [
|
||||||
|
{
|
||||||
|
"command": "recombobulator.base64",
|
||||||
|
"when": "editorHasSelection"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"vscode:prepublish": "npm run package",
|
"vscode:prepublish": "npm run package",
|
||||||
|
|||||||
Reference in New Issue
Block a user