Details
-
User Story
-
Resolution: Done
-
P2: Important
-
None
-
None
-
c00330f905ee450949b96e201944e7f528c265d3 (qt-creator/tqtc-qt-creator/master)
Description
On the Qt-interest mailinglist, there was a discussion about using CLion instead of Creator [1]. Despite the ranting, there were some interesting suggestions to be read there. One was about real multiple-cursor support illustrated here [2].
In Qt Creator you can use ALT to select a block (that may be 0-width) and type on several lines at the same time. Useful, but not very flexible. It would be nice if that support could be extended to be more flexible, so you can:
- move the cursor while in this mode
- Arrow Keys move all cursors simultanously
- Home and End move all cursor to begin or end of the repective line
- make it also work if the parts of the lines you want to edit are not aligned on a column
- reselect text after undo operations
- shortcut to place cursor on every local occurence
- paste into every cursor
- place new cursor with mouse via ctrl+shift+LMB
See the attached gifs from post [2].
[1] http://lists.qt-project.org/pipermail/interest/2016-April/021798.html
[2] http://lists.qt-project.org/pipermail/interest/2016-April/021830.html
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-17194 Better multi-cursor / selection UX
- Closed
-
QTCREATORBUG-24843 Improve multiline cursors / stream cursors
- Closed
- relates to
-
QTCREATORBUG-7773 Proper column editing
- Closed
-
QTCREATORBUG-1519 Edit multiple lines at the same time
- Closed
-
QTCREATORBUG-26459 Document multi-cursor support
- Closed