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

Duplicate selected block or line at caret.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P4: Low
    • None
    • None
    • Editors
    • None

    Description

      Please add ability to duplicate selected block of source text or line at caret.
      In IntelliJ IDEA this action is "Duplicate Line or Block" (Ctrl+D).

      Examples (selected text showed by <>, caret position by |):
      "te|st" -> "test\nte|st"
      "<te>|st" -> "tete|st"
      "line1|\nline2" -> "line1\nline1|\nline2"
      "line1\n|line2" -> "line1\nline2\n|line2"
      "<line1>|\nline2" -> "line1line1|\nline2"
      "<line1\nline2\n>|" -> "line1\nline2\nline1\nline2\n|"

      Attachments

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

        Activity

          People

            davschul David Schulz
            nodir.temir Nodir Temirkhodjaev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes