[Qt-creator] Keyboard shortcut in textfile not working

Wilhelm Meier wilhelm.meier at fh-kl.de
Mon Sep 8 12:58:42 CEST 2014


Am 08.09.2014 um 12:21 schrieb Stenger Christian:
> Hi,
> 
> commenting line(s) should be possible only if Qt Creator knows what kind of language is used for your document. This is normally determined by the file suffix or additional mime type settings. If Qt Creator cannot determine the language you will only have a plain text editor without any special features like commenting or similar.

I have a syntax-highlighting definition xml-file for asciidoc-files
(*.adoc). But I think, that isn't enough.

So. what do I have to do to make qtcreator recognize the file type?

> 
> 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 11:00 AM
> To: qt-creator at qt-project.org
> Subject: [Qt-creator] Keyboard shortcut in textfile not working
> 
> Hi all,
> 
> if I edit a textfile (asciidoc) the shortcut for toggling the line
> comment Ctrl+/ doesn't work.
> 
> How can I enable this for textfiles?
> 
> --
> 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