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

Files without extensions should be able to have their syntax highlighter configured

    XMLWordPrintable

Details

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Following the instructions here, I added this line to stash-config.properties, then restarted Stash:

      syntax.highlighter.python.extensions=py,SConscript,SConstruct

      Files named SConscript and SConstruct still do not have Python syntax highlighting.

      This also might be an issue if highlight.js ever adds support for Makefiles; it would need to both match files ending with *.mk and files named Makefile without an extension.

      Attachments

        Activity

          People

            Unassigned Unassigned
            940760364796 Karl Ostmo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: