Skip to content

Instantly share code, notes, and snippets.

@danslapman
Created February 19, 2026 19:47
Show Gist options
  • Select an option

  • Save danslapman/172b43fcd76b67848554eafa6247ba29 to your computer and use it in GitHub Desktop.

Select an option

Save danslapman/172b43fcd76b67848554eafa6247ba29 to your computer and use it in GitHub Desktop.
Metals config for Claude
{
"scala": {
"command": "metals",
"args": [],
"extensionToLanguage": {
".scala": "scala",
".sc": "scala",
".sbt": "sbt"
},
"transport": "stdio",
"initializationOptions": {},
"settings": {},
"maxRestarts": 3
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment