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

Custom C++ snippets don't get expanded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 4.15.0-beta1
    • Editors
    • None
    • Ubuntu 20.04

    Description

      I can't get any of my custom C++ snippets to expand. For example, if I type "qWait" or "wait" and then hit Ctrl+Space to get the auto-completion menu, there are no entries for the snippet.

      Using a Creator built from 388fd31db840f787f99fda1b07010e0117421086:

      Qt Creator 4.15.0-beta1 (4.14.82)
      Based on Qt 5.15.2 (GCC 9.3.0, 64 bit)
      

      Attached is the snippets.xml from /home/mitch/.config/QtProject/qtcreator/snippets. Disclaimer: I have been copying it around to each new Creator installation for a while now as a workaround for QTCREATORBUG-20922.

      Attachments

        1. snippets.xml
          6 kB
          Mitch Curtis
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes