Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-1896

Enable syntax highlighting for template files (.t**)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.1.0
    • Qt Creator 2.0.0
    • Editors
    • None
    • 2d5c6ed401a6ca23eda2115e05e5edc68865a2bc

    Description

      Qt Creator doesn't recognize the extensions of c++ files commonly used for template code (extensions: .t** => .tcc .tpp .t++). Files with these extensions are opened as ordinary text files without syntax highlighting enabled.

      These .t** are used for large amounts of template code which is not supposed to be included in header files (.h**) but obviously can't be placed in normal body files (.c**) because as template code it can't be linked via object files (.o).
      Projects like gcc (libstdc++) are using the .tcc extension for example.

      Related: http://developer.qt.nokia.com/forums/viewthread/296/

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            leamelo Leandro T. C. Melo
            joke Joke de Buhr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes