Feature Suggest: Multi-line/Multi-cursor editing
Moltastro last edited by
Most professional IDEs nowadays have the option to edit multiple lines simultaneously through placing cursors where you want to edit. This could also be enabled when you search to allow you to delete and edit multiple selections simultaneously and fluently. The replace function of course functions in a similar way, but doesn’t allow as fluent editing. An example of good implementation is the well known and beloved editor visual studio, but also other python specific editors such as pycharm.
JonB last edited by
I've never used such a feature -- is that like a bookmark that lets you jump between two locations? Or does it literally insert the same keystrokes into multiple locations?
socialrobot last edited by
@JonB It inserts keystrokes into multiple locations at once. In VSCode it’s via the shortcut command+D, each time finds the next instance of your highlighted string and inserts a new cursor. You can then make edits which are repeated in several places.