Expand / Shrink selection
Feature request
I didnt find any possibility to do expand/shrink selection. This is available in both pycharm and VScode, highly useful.
https://code.visualstudio.com/docs/editor/codebasics#_shrinkexpand-selection
Is there any plans to include it in spyder?
Hi @cjh9,
Thanks for the suggestion, can you please give us a more detailed use case of the feature you will like?
I think the screen capture clip in the link above explains very well what is the feature about. one command creates a selection of a logical element around the cursor (a word, content of a quote, content of a parenthesis), running the command more times expands the selection to increasingly bigger elements. Another command does the opposite and shrinks the selection back to smaller elements.
while editing code, we spend lots of time selecting logical elements to copy, delete or replace them. those two commands make selecting code so much faster. I feel crippled editing code without it.
This could be possible after a big refactoring in the editor to support this kind of operations. For now, it's really not possible.