[Qt-creator] Adding support for a new programming language to Qt Creator

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sat Sep 21 10:25:51 CEST 2013


On 20/09/13 16:45, Orgad Shaneh wrote:
> A good starting point might be the PythonEditor plugin. It was written as an
> educational (yet functional) plugin for an officially unsupported language.

Sounds good, I'll do this.  Is it in the main Qt Creator codebase or hosted 
somewhere else?  (Google is not very helpful here...)

> It has some bugs (auto-indentation was awful the last time I've checked), but
> you can start there.

I was surprised that auto-indentation didn't seem to work at all with .d files, 
simply because most of the syntax is so similar to C/C++.  Certainly from an 
indentation point of view the important elements should be almost identical.

Is there any way to indicate in Qt Creator Preferences that .d files should be 
auto-indented using a particular rule-set?




More information about the Qt-creator mailing list