我在此处按照有关如何将插件添加到 Eclipse for SBT 的说明进行操作:
https://github.com/typesafehub/sbteclipse
Add sbteclipse to your plugin definition file (or create one if doesn't exist). You can use either: the global file (for version 0.13 and up) at ~/.sbt/0.13/plugins/plugins.sbt the project-specific file at PROJECT_DIR/project/plugins.sbt
但是,该目录在 Ubuntu linux 中不存在。我所看到的只是 ~/.sbt 和其中一个名为/boot 的目录。我应该怎么办?/0.13 目录是否在我计算机上的其他位置?
最佳答案
是的,只需在 ~/.sbt/
下的 boot
旁边创建文件夹并使用完整路径,正如文档中所要求的那样,只需执行
touch ~/.sbt/0.13/plugins/plugins.sbt
使用插件创建一个全局文件。
关于linux - 如何向 SBT 添加插件? [Ubuntu],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42258326/