Scala with VS code

I started using vscode for python development. And I really like it, does anyone know how to extend VScode so that I can write scala in it?

At a minimum, I need the syntax highlighting to work.

+7
source share
5 answers

There is one here:

https://github.com/IliyaTryapitsin/vscode-scala

You can add it by reading readme there:

Launch VSCode

code --enableExtensionGallery

Press F1, then enter:

for scala installation

ext install scala

to install sbt

ext install sbt

to set fragments

ext install scalasnippets
+8
source

Intellij Eclipse VSCode, Ensime Ensime : https://marketplace.visualstudio.com/items?itemName=dragos.scala-lsp , www.ensime.org ensue env, .

: https://www.reddit.com/r/scala/comments/5eu9if/intellij_vs_ensime/

Intellij . , - . (Emacs, Intellij, neovim, VSCode). . , , !

+3

, , .js, , , javascript typescript ( )

+1

Visual Studio Code does not yet have a language, but it may appear soon. https://code.visualstudio.com/Docs/languages#_common-questions

+1
source

Scala works well in VS Code 2019.

There is official syntax highlighting and the Metals language server (which replaces Ensime, which is mentioned in other answers).

0
source

All Articles