[Qt-creator] Snippets in textfiles not working

Stenger Christian Christian.Stenger at digia.com
Mon Sep 8 15:14:54 CEST 2014


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]
Sent: Monday, September 08, 2014 12:56 PM
To: Stenger Christian; 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 [qt-creator-bounces+christian.stenger=digia.com at qt-project.org] on behalf of Wilhelm Meier [wilhelm.meier at fh-kl.de]
> Sent: Monday, September 08, 2014 12:03 PM
> To: 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
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>





More information about the Qt-creator mailing list