-
Hey guys, wanted to start this discussion so I could bring a possible issue to light. Gotta finish some onboarding tasks, and kick some butt before doing a deep-dive. OverviewI was having a lot of issues getting my Scala environment setup for my new work machine. However, was not able to connect to build server again. I think this was due to no expected format file being there. I also uninstalled my bloop, and other things 😬 (should always do one thing at a time, I know...) WorkaroundOnce I did a Other DetailsMetals Server version: 1.3.1 logs:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey @Austinito sorry for the delay on this. This shouldn't be happening. Looking at the Metals code (which handles this) I see that if the file can't be found it should just default. Is this still happening to you? |
Beta Was this translation helpful? Give feedback.
Yes, so the issue is that you have
scalafmtConfigPath = ".scalafmt.conf",
. That's not needed. Since it's hardcoded Metals assumes that it must be there and fails if it doesn't find it. You should be able to just remove that line and everything should work.