sashaweiss / vscode_block_travel

Block travel extension for VSCode
https://marketplace.visualstudio.com/items?itemName=sashaweiss.block-travel
MIT License
25 stars 4 forks source link

Block travel does not work with multiple cursors #4

Open mmcintyre123 opened 4 years ago

mmcintyre123 commented 4 years ago

It would be really nice to be able to use these features with multiple cursors. In sublime text I achieve this functionality by assigning built in commands to two keyboard shortcuts, and it works in single or multiple cursor mode as shown in the GIF:

// move and select by paragraph
{ "keys": ["alt+shift+["], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false, "extend": true} },
{ "keys": ["alt+shift+]"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true, "extend": true} },

In Sublime Text:

ezgif com-crop (1)

sashaweiss commented 4 years ago

Hi! Thanks for the suggestion. Unfortunately I'm no longer actively developing this project, but I'd be happy to look at a PR if you have the bandwidth.