【发布时间】:2023-01-13 17:21:14
【问题描述】:
我想使用 Nexus 在公司网络(在 Windows 机器上)中使用 Scalafmt。如果我运行scalafmt,我会遇到以下错误
[error] failed to resolve Scalafmt version '2.4.6': X:\ProjectA\.scalafmt.conf
[error] (Compile / scalafmt) failed to resolve Scalafmt version '2.6.4': X:\ProjectA\.scalafmt.conf
[error] Total time: 87 s (01:27), completed 10-Jan-2023 10:56:22
我已经有了 COURSIER_REPOSITORIES 环境变量。
-
SBT版本:1.6.2
-
scalafmt 插件:2.2.1
-
.scalafmt 中的版本:2.4.6
我是否缺少任何解析器或任何设置?
【问题讨论】:
-
@DmytroMitin 你是对的,它是 2.4.6。多个拼写错误(我正在测试相同的 2.4.6 版本)。
标签: scala intellij-idea sbt sbt-plugin scalafmt