Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-16844

Syntax Highlighting for Scala does not work when New Source browser beta feature enabled

    XMLWordPrintable

Details

    Description

      With the new beta feature of "New Source Browser Experience" enabled, files with .scala aren't syntax highlighted. They are being displayed in plain text.

      Adding this "?spa=0&fileviewer=file-view-default" to the end of the URL will then show the file as highlighted.

      Source Browser enabled

      Source Browser Disabled

      Workaround : To disable the New Source Browser Experience feature

      1. Navigate to Bitbucket Settings and click Labs
      2. Look for the feature "New source browser experience"
      3. Disable the feature
      4. Browser your file once again and the code should be syntax highlighted.

      Attachments

        1. 2041485796-1.PNG
          2041485796-1.PNG
          23 kB
        2. 2267624686-2.PNG
          2267624686-2.PNG
          15 kB

        Activity

          People

            Unassigned Unassigned
            pmahendran+atlassian_conflict Pravin
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: