[Qt-creator] Trigger snippets also in .txt-files

Leandro T. C. Melo leandro.melo at nokia.com
Tue Dec 13 16:55:44 CET 2011


On 12/13/2011 1:20 PM, ext Wilhelm wrote:
> Hi all,
>
> I'm trying to use the snippet-mechanism in .txt-files (actually
> asciidoc-files) also. But it seems that it is only possible to trigger
> snipptes in C++/QML-source files.
> Or am I missing something here?
>

Hi,

currently completion engine is available only for certain editors (those 
which provide a completion provider) and the plain text editor is not 
one of them. Notice that the "Text" group in options Text Editor -> 
Snippets is meant for content which is shared among editors that have 
the proper support.

One thing that comes to mind that might be worth to consider is an 
alternative way to trigger snippets independently from completions...

Cheers,
Leandro

-- 
Leandro T. C. Melo
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori




More information about the Qt-creator mailing list