Sublime Forum

Expand selection to scope

#1

If I click on the ‘Expand selection to scope’ menu command, it works fine but I notice that, unlike some of the other Selection menu items, there is no short cut indicated - despite the fact that among the default key bindings is

{ "keys": "ctrl+shift+space"], "command": "expand_selection", "args": {"to": "scope"} },

However pressing this key combination does not work.
How could I make that shortcut available?

1 Like

#2

There is likely a plugin that also has that key binding. You can enter “sublime.log_commands(True)” in the console, then enter to see what command is running if you are curious. You can also try github.com/skuroda/FindKeyConflicts. That aside, the simplest way to solve your problem is to copy the key binding (with the context if they are there) and place them in your User key bindings. This will take precedence over any plugins you have installed.

1 Like

#3

Many thanks for that tip. Using it I discovered that the villain was SublimeCodeIntel (turns out that it interfered with a number of other key bindings too). All fixed now - very grateful!

1 Like