Code snippet not working in *.txt/*.sql files
General and Desktop
2
Posts
2
Posters
531
Views
1
Watching
-
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
.cppor.h. It is not expanded in.txtor.sqlfiles. Is it possible to activate snippets in files other thancppand.hfiles? Are code snippets only available incppand.hfiles?Ciao
Maral
-
As far as I could find, snippets / auto completion is only available in cpp related files. Sadly.
maybe you could use a macro ?
http://doc.qt.io/qtcreator/creator-macros.html