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

Allow editing of text macros after creation OR support dead keys

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.6.2
    • Editors
    • None
    • Linux/X11

    Description

      I have been very happy with Qt Creator for a long time now, but there is something I really miss. Currently, I am using Qt Creator 4.6.2 on Linux Ubuntu 18.04.

      Problem: I can record/save/rename and assign keyboard shortcuts to text editing macros. However, I would like to be able to edit a macro once it has been saved.

      The current problem I have is that I am using Doxygen to document C++ code in two languages (English and German) and need to define the switches for English and German like this:

      \~english \~german
      

      I am using a laptop with a Swiss keyboard, and the tilde character "~" is only available as a dead key. Unfortunately, the macro recording facility does not record any characters entered as dead keys. So I have to write, for example:

      \$english
      

      and do a global search/replace for that sequence later on.

      What I am missing is either the capability of editing a macro once it has been saved, or else enhance the recording facility to record characters entered with dead keys. I found the ".mac" files under "~/.config/QtProject", but cannot hack the binary format used.

      Thanks!

      Attachments

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

        Activity

          People

            davschul David Schulz
            robert_hairgrove Bob Hairgrove
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes