Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Adding support for a new programming language to Qt Creator

Adding support for a new programming language to Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 2.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    WebDrake
    wrote on 18 Sept 2013, 13:03 last edited by
    #1

    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
    
    1 Reply Last reply
    0
    • W Offline
      W Offline
      WebDrake
      wrote on 18 Sept 2013, 13:41 last edited by
      #2

      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.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 18 Sept 2013, 20:33 last edited by
        #3

        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 !

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • W Offline
          W Offline
          WebDrake
          wrote on 20 Sept 2013, 13:20 last edited by
          #4

          Thanks -- I'll do that :-)

          1 Reply Last reply
          0

          1/4

          18 Sept 2013, 13:03

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved