Code snippet not working in *.txt/*.sql files

  • Hi,

    i have a created a code snippet in Qt Creator 3.2.1 in group "Text". But when I enter its trigger and press Control+Space the snippet is only expanded in files whose extension is either .cpp or .h. It is not expanded in .txt or .sql files. Is it possible to activate snippets in files other than cpp and .hfiles? Are code snippets only available in cpp and .hfiles?



  • Qt Champions 2017

    As far as I could find, snippets / auto completion is only available in cpp related files. Sadly.
    maybe you could use a macro ?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.