add context menu sub-entries
this makes commands easier to find by exposing them in the context menu
in stead of a single command, we still take up one place in the menu,
but now expose several commands that make sense in context of a view
or a selection
[
{
"id": "sublimelinter",
+ "caption": "Linter",
+ "children": [
+ {
+ "id": "sublimelinter-lint",
"caption": "Lint This View",
"command": "sublime_linter_lint"
+ },
+ {
+ "id": "sublimelinter-highlights",
+ "caption": "Toggle Highlights",
+ "command": "sublime_linter_toggle_highlights"
+ },
+ {
+ "id": "sublimelinter-fix",
+ "caption": "Quick Action",
+ "command": "sl_quick_actions"
+ }
+ ]
}
]
