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

Multiple-cursor support

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: In Progress
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Editors
    • Labels:
      None

      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

              Assignee:
              davschul David Schulz
              Reporter:
              andre André Somers
              Votes:
              46 Vote for this issue
              Watchers:
              34 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes