Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax highlighting for Scala files not working

Craig Tataryn
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 28, 2018

I logged in to Bitbucket today and noticed that syntax highlighting for Scala files was not working.  I tried a multitude of other files as well and they too were not syntax highlighted.  I tested my file over at pygments and it worked fine.

scala-bitbucket.png

Any ideas how I can get syntax highlighting back?

 

3 answers

4 votes
Craig Tataryn
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 29, 2018

As a followup, if I go into "Edit" mode on a scala file, it'll syntax highlight the editable script. It's only when I'm browsing the code in the repository that it is not syntax highlighted.

Yet, if I browse to a Java file, it is syntax highlighted both when I'm viewing it and when I'm editing it.

2 votes
Tim Rourke
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2020

This is still a problem today, and is painful enough for my team that we are looking into Bitbucket alternatives. Seems like a trivial fix? There are myriad open source syntax highlighters available.

1 vote
Jeff Pratt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2020

Still happening as of February 28, 2020.

Screen Shot 2020-02-28 at 4.07.00 PM.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events