Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.14.0
-
None
-
Qt Creator 4.14.0, Windows 10 64-bit, High DPI mode w/ 250% system scaling.
-
-
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:
- Press keyboard shortcut on the line you want to bookmark. Annotation dialog pops up with focus already on input field.
- 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 |
348474,2 | Bookmark: Add command to edit a bookmark | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |