Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-16013

Multiple-cursor support

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • P2: Important
    • Qt Creator 6.0.0
    • None
    • Editors
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              davschul David Schulz
              andre André Somers
              Votes:
              48 Vote for this issue
              Watchers:
              35 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes