1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #9867 wontfix

Syntax highlighting for template toolkit is broken

Pavan Chander
created an issue

The syntax highlighting for template toolkit files (.tt) shows everything in angry red. This is extremely frustrating to try and read.

Take a look at the files in https://bitbucket.org/metabrainz/musicbrainz-server/src/root/.

Here's a screenshot for posterity http://i.imgur.com/mDf2Jt4.png.

Comments (3)

  1. Abhin Chhabra staff

    Hi Pavan Chander,

    Our syntax highlighting comes from codemirror, which supports many popular languages. Unfortunately, template toolkit files are not one of them. It is also not feasible for us to create extensions in codemirror for languages ourselves.

    I apologize for the inconvenience this must have caused, but unfortunately, there is little we can do about this till codemirror starts supporting template toolkit files.

    Best,

    Abhin

  2. Pavan Chander reporter

    That's understandable.

    Do you know what syntax highlighting is being used for the .tt files? Would it be possible to remove highlighting altogether for them as a semi-fix?

  3. Log in to comment