# Scala Syntax (official)

> The official Scala 2 and Scala 3 syntax highlighting for VS Code

Source: https://talira.ai/catalog/scala-syntax-official-cvfp1b6r
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [developer tools / editors](https://talira.ai/categories/developer-tools/editors)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Extends: [VS Code](https://talira.ai/ecosystems/vscode.md#ext-gyc7aqjv)

The official syntax highlighting for [Scala](https://talira.ai/catalog/scala-g5wyay8j.md) 2 and Scala 3 source files in [Visual Studio Code](https://talira.ai/catalog/visual-studio-code-k779xgqd.md), maintained by members of the Scala organization on GitHub. It's a TextMate grammar only, with no language server: the same grammar powers Scala highlighting on GitHub, through github/linguist, and [Metals](https://talira.ai/catalog/metals-56qr6f98.md) adds completion, navigation and the rest. MIT licensed.

## Links

- GitHub: https://github.com/scala/vscode-scala-syntax

## Problems it solves

- my Scala 3 code isn't highlighted properly in VS Code
- get Scala syntax colors in my editor without installing a full IDE
- highlighting for new Scala 3 syntax like given and extension methods

## Features

- syntax highlighting for Scala 2 and Scala 3
- the grammar GitHub uses to highlight Scala

## Trust

Overall: 0.32 out of 1.
Signals: maintenance 0.49, adoption 0.38, momentum 0.07, community 0.69, backing 0.00, extensibility 0.00.

- last commit 52 days ago
- 6 commits in the last 90 days
- latest release 0.5.10 5 months ago
- 77 GitHub stars
- 51 contributors

## Alternatives

- [Better Comments](https://talira.ai/catalog/better-comments-0pax5h7g.md): Color-coded alerts, queries, TODOs and highlights in your code comments in VS Code
- [Verilog-HDL/SystemVerilog](https://talira.ai/catalog/verilog-hdl-systemverilog-adv6f80t.md): Verilog, SystemVerilog and VHDL support for VS Code: highlighting, linting, formatting and waveform viewing
- [Jinja for Visual Studio Code](https://talira.ai/catalog/jinja-for-visual-studio-code-w2vr9fe8.md): Syntax highlighting and snippets for the Jinja template language in VS Code

## Sources

[^1]: https://github.com/scala/vscode-scala-syntax#readme (checked 24 Nov 2026)
[^2]: https://github.com/scala/vscode-scala-syntax/blob/main/LICENSE.md (checked 24 Nov 2026)
