Adding support for a new programming language to Qt Creator
-
wrote on 18 Sept 2013, 13:03 last edited by
Hello all,
I'm a new user of Qt Creator, so please forgive me if I'm asking questions for which there is a known answer.
How can I add support for new programming languages to Qt Creator? I'm thinking of initially just enabling syntax highlighting and indentation support, but later extending that to support for build and debugging tools.
The descriptions on http://doc.qt.digia.com/qtcreator-extending/ indicate that syntax highlighting files should be written as for the KDE text editor Kate, but as the page linked to is from 2005 I'd like to confirm if that's still correct.
The language I'm particularly interested in adding support for is D: http://dlang.org/ From old posts on the D language forums, there were some efforts about 3 years back to add D support to Qt Creator, but so far as I can tell nothing has come of it .... ?
I'd like to make sure D is well supported, so any advice on how to get started and how to ensure that any work I do is incorporated into the main project would be very much appreciated.
Thanks & best wishes,
-- Joe
-
wrote on 18 Sept 2013, 13:41 last edited by
I note that there is D syntax highlighting among the generic highlighter definitions available, but it's 5 years old -- and auto-indentation certainly does not work correctly.
-
Hi and welcome to devnet,
Your best shot would be to download QtCreator's code and check the highlighting/code formatting code.
You might also be interested in the qtcreator mailing list to talk about that
Happy coding !
-
wrote on 20 Sept 2013, 13:20 last edited by
Thanks -- I'll do that :-)
1/4