Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3521

D syntax highlighting is set to use the wrong extension.

    XMLWordPrintable

Details

    Description

      Syntax highlighting for the D programming language is currently not functional. Looking at the static/feature/file-content/source-view/source-view.js file, support is there but it's set to use the .a file extension. It should be using .d and .di as the file extensions. Uploading a file with the .a extension is highlighted as D should be.

      Very basic example file:

      import std.stdio;

      void main()

      { writeln("Test!"); }

      Attachments

        Activity

          People

            jhinch jhinch (Atlassian)
            e9062077206d Ognjen Ivkovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: