mirror of
https://github.com/nyanotech/recombobulator
synced 2025-12-16 11:30:21 -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",
|
"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",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user