vscode-javascript-booster icon indicating copy to clipboard operation
vscode-javascript-booster copied to clipboard

How is "extend/shrink selections" better than built-in VS Code behaviour?

Open OliverJAsh opened this issue 5 years ago • 1 comments
trafficstars

I saw this in the docs:

Unlike VS Code's embedded commands (editor.action.smartSelect.*), this extension uses an abstract syntax tree under the hood, which provides much more accurate results.

However, as far as I'm aware, the built-in behaviour does use the AST. Maybe that changed at some point. In this case, I'm not sure the functionality provided by this extension is any better?

https://code.visualstudio.com/updates/v1_35#_smart-selection-for-javascript-and-typescript

OliverJAsh avatar Jun 26 '20 13:06 OliverJAsh

This feature actually forced me to uninstall the extension. VSCode's built-in actions do the same, and this extension's keyboard shortcut goes in conflict with another command (move line up/down) which I'm also using frequently, and this conflict breaks the behavior. I can delete the extension's shortcut from the Keyboard Shortcuts panel, but unfortunately it seems like that the shortcut gets activated again periodically, maybe on extension updates. The feature should be removed entirely.

sarimarton avatar Aug 16 '22 15:08 sarimarton