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

A smoother way to create an annotated bookmark.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 5.0.0-beta1
    • Qt Creator 4.14.0
    • Editors
    • None
    • Qt Creator 4.14.0, Windows 10 64-bit, High DPI mode w/ 250% system scaling.

    • Windows
    • ac47d51bfb379b8c3b51d832d54a90dba18a518f (qt-creator/qt-creator/master)

    Description

      Currently, there does not seem to be any sort of direct shortcut to add an annotated bookmark to code in the editor. There is a mouse (shift click margin) and keyboard (ctrl M) shortcut for creating a bookmark with no annotation, but then, according to the manual:

      To add a note to a bookmark, right-click the bookmark and select Edit Bookmark

       

      I'd find it extremely useful if there was a keyboard shortcut that immediately prompted for the annotation, so that the flow was:

      1. Press keyboard shortcut on the line you want to bookmark. Annotation dialog pops up with focus already on input field.
      2. Type the annotation and press enter (or esc to cancel). Dialog closes, bookmark is created (unless cancelled, of course).

       

      Also - and this is just icing on the cake - I would find it useful if existing annotations on bookmarks could be edited by clicking the blue annotation text displayed after the code in the editor (either click -> dialog, or click -> edit inline, I have no preference there).

       

      Thanks!

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-25696
        # Subject Branch Project Status CR V

        Activity

          People

            davschul David Schulz
            jasonc Jason Cipriani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes