Member-only story

Integrating Scala Metals with Doom Emacs using LSP on Ubuntu

Josiah B
CodeX
Published in
6 min readMay 10, 2021

I. Why Yet Another HowTo For Integrating Metals with Doom Emacs???

A quick web-search will quickly reveal that there’s at least two blog posts on this already (the ones I found were from 2019 and 2020). So… why am I creating another one? Believe it or not, despite the fact that both of these blog posts were incredibly useful in helping me to get up and running with Metals as the language server backend for Scala development in Doom Emacs, I did not find that either article covered everything necessary for me to be able to get things set-up properly on my machine without doing a fair amount of my own troubleshooting. In an attempt to save some people from some of the frustration I’ve had to go through I, therefore, decided to write this blog post in an attempt to fill in some more of the gaps.

For sections that I believe many of you may want to skip, I’ll leave you a nice TLDR notification at the beginning indicating what the section contains and why some of you readers may not care to read it.

II. A Few Notes About this Article’s Scope

(TLDR: this is mostly disclaimers. Please skip it if you don’t care)

  • I only run Ubuntu 20.04 based Linux distros, currently. As such…

CodeX
CodeX

Published in CodeX

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

No responses yet

What are your thoughts?