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

Wilhelm wilhelm.meier at fh-kl.de
Tue Dec 13 20:27:39 CET 2011


Am 13.12.2011 16:55, schrieb Leandro T. C. Melo:
> 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...

Or to have the non-code-editors to have also completion-provider (kate 
does this too using the list of words of the current document) ...

-- 
Wilhelm




More information about the Qt-creator mailing list