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

Issue #16844 new
Pravin Mahendran staff created an issue

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 1.PNG

Source Browser Disabled 2.PNG

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.

Comments (2)

  1. Log in to comment