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: [email protected]<mailto:[email protected]>
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 
<[email protected]<mailto:[email protected]>> 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 [[email protected]<mailto:[email protected]>]
Sent: Monday, September 08, 2014 12:56 PM
To: Stenger Christian; 
[email protected]<mailto:[email protected]>
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: 
[email protected]<mailto:[email protected]>
 
[[email protected]<mailto:[email protected]>]
 on behalf of Wilhelm Meier 
[[email protected]<mailto:[email protected]>]
Sent: Monday, September 08, 2014 12:03 PM
To: [email protected]<mailto:[email protected]>
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
[email protected]<mailto:[email protected]>
http://lists.qt-project.org/mailman/listinfo/qt-creator



_______________________________________________
Qt-creator mailing list
[email protected]<mailto:[email protected]>
http://lists.qt-project.org/mailman/listinfo/qt-creator

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to