Install Scala highlighting on BitBucket
This package installs Scala highlighting while you are browsing on Bitbucket. Hopefully Atlassian will fix this natively at some point; to see progress on that, monitor https://jira.atlassian.com/browse/BCLOUD-16282. This extension is a workaround that can be used in the meantime.
The underlying problem is that parts of Bitbucket are using an old version of the Monaco code editing framework. On those parts, Scala files will render as plain text and will not have any syntax coloring. To address the problem, this extension installs parts of the latest version of Monaco on the fly.
This extension only takes effect on bitbucket.org, and it only takes effect if it sees the monaco editor being loaded.