This extension is to build new quick menu on settings.json.
Features
It's hard to remember extension shortcuts with many commands.
Functions that you do not use frequently are useful to combine them into one quick menu.
WIth this extension, you can build a quick menu only by writing in settings.json.
Extension Settings
For example: settings.json
"quickMenuBuilder.menus": [
{
"label": "Text Menu",
"items": [
{
"name": "To Upper case",
"command": "editor.action.transformToUppercase"
},
{
"name": "To Lower case",
"command": "editor.action.transformToLowercase"
},
{
"name": "Comment Line",
"description": "Switch comment lines",
"command": "editor.action.commentLine"
},
{
"name": "Indent Sub Menu",
"command": "quickMenuBuilder.openQuickMenu",
"args": "Sub Menu Test"
}
]
},
{
"label": "Sub Menu Test",
"items": [
{
"name": "Indent To Tabs",
"command": "editor.action.indentationToTabs"
},
{
"name": "Indent To Spaces",
"command": "editor.action.indentationToSpaces"
}
]
}
]
For example: keybindings.json
{
"key": "ctrl+alt+t",
"command": "quickMenuBuilder.openQuickMenu",
"args": "Text Menu",
"when": "editorTextFocus"
}
Known Issues
[none]
要望等あれば Twitter: @maruru_h まで。