[Qt-creator] Snippets in textfiles not working
Miettinen Riitta-Leena
Riitta-Leena.Miettinen at digia.com
Tue Sep 9 10:57:03 CEST 2014
Hello,
You can also record a text editing macro, as explained here: http://qt-project.org/doc/qtcreator-3.2/creator-macros.html
Hope this helps,
Leena
--------------------------------------------------------------------------------------------------------------------------------
Leena Miettinen
Documentation Engineer
Digia, Qt
Digia Germany GmbH
Rudower Chaussee 13, 12489 D-Berlin
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B,
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Email: riitta-leena.miettinen at digia.com<mailto:riitta-leena.miettinen at digia.com>
Mobile: +49 160 9720 2682
Phone: +49 30 63923255
http://qt.digia.com<http://qt.digia.com/>
Qt Blog: http://blog.qt.digia.com/
Qt Facebook: www.facebook.com/Qt<http://www.facebook.com/Qt>
Qt Twitter: www.twitter.com/QtbyDigia<http://www.twitter.com/QtbyDigia>
Digia Germany is a group company of Digia Plc,
Valimotie 21, FI-00380 Helsinki Finland
Visit us at: www.digia.com<http://www.digia.com/>
------------------------------------------------------------------
PRIVACY AND CONFIDENTIALITY NOTICE
This message and any attachments are intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error, please contact the sender immediately and delete the message and any attachments accompanying it. Digia Germany GmbH and Digia Plc do not accept liability for any corruption, interception, amendment, tampering or viruses occurring to this message.
------------------------------------------------------------------
On Sep 8, 2014, at 3:14 PM, Stenger Christian <Christian.Stenger at digia.com<mailto:Christian.Stenger at digia.com>> wrote:
Hi again,
well, the problem is that triggering the auto completion is not available at all inside pure text documents. The 'Text' snippets are available in all documents where the auto completion works, 'C++' inside cpp-related documents and 'QML' for qml-related documents.
So, sorry again - this won't work with a current Qt Creator.
Maybe you should just create a suggestion at https://bugreports.qt-project.org
Kind regards,
Christian
________________________________________
From: Wilhelm Meier [wilhelm.meier at fh-kl.de<mailto:wilhelm.meier at fh-kl.de>]
Sent: Monday, September 08, 2014 12:56 PM
To: Stenger Christian; qt-creator at qt-project.org<mailto:qt-creator at qt-project.org>
Subject: Re: [Qt-creator] Snippets in textfiles not working
Am 08.09.2014 um 12:16 schrieb Stenger Christian:
Hi,
inside settings dialog (where you're adding the snippets) there's a combo box which specifies for which type of editors you add this snippet. Make sure you add the snippet for 'Text' if you want to have it available for text files.
It is defined for text-files and not for c++-files, but it is only
availabe in c++-files - strange :-((
Kind regards,
Christian
________________________________________
From: qt-creator-bounces+christian.stenger=digia.com at qt-project.org<mailto:qt-creator-bounces+christian.stenger=digia.com at qt-project.org> [qt-creator-bounces+christian.stenger=digia.com at qt-project.org<mailto:qt-creator-bounces+christian.stenger=digia.com at qt-project.org>] on behalf of Wilhelm Meier [wilhelm.meier at fh-kl.de<mailto:wilhelm.meier at fh-kl.de>]
Sent: Monday, September 08, 2014 12:03 PM
To: qt-creator at qt-project.org<mailto:qt-creator at qt-project.org>
Subject: [Qt-creator] Snippets in textfiles not working
Hi all,
if I define a snippet, I can trigger it inside a C++- source file.
But I can't trigger the same snippet inside a text file. Is this a bug
or a feature? How do I enable snippets in text files?
--
Wilhelm
_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org<mailto:Qt-creator at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org<mailto:Qt-creator at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/qt-creator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140909/9c8a1083/attachment.html>
More information about the Qt-creator
mailing list