mirror of
https://github.com/nyanotech/recombobulator
synced 2025-12-16 03:20:22 -08:00
Only show the command when there's a selection
This commit is contained in:
parent
b930c44040
commit
6ea38f3dac
10
package.json
10
package.json
@ -20,7 +20,15 @@
|
||||
"category": "Recombobulator",
|
||||
"title": "base64 encode"
|
||||
}
|
||||
]
|
||||
],
|
||||
"menus": {
|
||||
"commandPalette": [
|
||||
{
|
||||
"command": "recombobulator.base64",
|
||||
"when": "editorHasSelection"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "npm run package",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user