You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following Sublime Text menus are of particular interest for Sublime PML:
menu
key-binding
Selection » Expand Selection
Ctrl+Shift+A
Selection » Expand Selection to Block
Selection » Expand Selection to Scope
Ctrl+Shift+Space
Selection » Expand Selection to Brackets
Ctrl+Shift+M
Ideally, one of the above should allow users to quickly select a node's contents, and if executed again then select the opening and closing tags too, and with subsequent executions move to the outer node, and so on.
This would allow to quickly select and delete a node's contents, or the entire node (including its delimiters) with a single key-binding.
Unfortunately, none of these work exactly as expected because they don't seem to recognize the node opening and closing tags in their own right, but focus instead on the square brackets only.
I also noticed that these selection modes don't work consistently on native syntaxes either, so I probably need to investigate how semantic scopes relate to their efficiency, and which criteria distinguish these selection-expansion modes in respect to scoping, etc. Maybe then I could achieve the expected goal by tweaking the way PML nodes are being scoped.
In the native Default.sublime-commands settings, these modes are associated to the following commands:
The following Sublime Text menus are of particular interest for Sublime PML:
Ideally, one of the above should allow users to quickly select a node's contents, and if executed again then select the opening and closing tags too, and with subsequent executions move to the outer node, and so on.
This would allow to quickly select and delete a node's contents, or the entire node (including its delimiters) with a single key-binding.
Unfortunately, none of these work exactly as expected because they don't seem to recognize the node opening and closing tags in their own right, but focus instead on the square brackets only.
I also noticed that these selection modes don't work consistently on native syntaxes either, so I probably need to investigate how semantic scopes relate to their efficiency, and which criteria distinguish these selection-expansion modes in respect to scoping, etc. Maybe then I could achieve the expected goal by tweaking the way PML nodes are being scoped.
In the native
Default.sublime-commands
settings, these modes are associated to the following commands:The text was updated successfully, but these errors were encountered: