在Vscode中的Clojure,Calva与编译路径混在一起?

发布于 2025-01-18 01:47:28 字数 306 浏览 5 评论 0原文

因此,我通过Lein,测试和运行设置了一个项目,正常工作。我在VSCODE(安装CALVA)中打开它,并且在运行相同的测试时:Lein Run Test我获得c:\ users \ felix \ appData \ local \ local \ temp \ clojure-323906518265182638120769。 EDN因此,当我用Calva打开Vscode的项目时,有些东西使Lein突然在我的本地temp文件夹中寻找.clj文件。我该如何停止在其他地方停止查看,为什么在我在Vscode中打开它之前可以很好地运行它?

So I setup a project with Lein, test and run, works fine. I open it in VSCode (where Calva is installed) and when running the same test: lein run test I get C:\Users\felix\AppData\Local\Temp\clojure-3239065182638120769.edn So there is something when I open the project in VSCode with Calva that makes Lein suddenly look for the .clj files in my Local Temp folder. How can I make it stop looking elsewhere, why could it run it fine before I opened it in VSCode?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦里寻她 2025-01-25 01:47:28

lein test 就是实现这一点的方法,这里有一篇关于 leiningen 测试过程的精彩文章:https://medium.com/helpshift-engineering/the-convoluted-magic-of-leiningen-test-selectors-2eb6c452dfcf

另一个很棒的事情是你可以在 calva 中运行测试!
https://calva.io/test-runner/

lein test is the way to do it, here's a great write up on leiningen's test process: https://medium.com/helpshift-engineering/the-convoluted-magic-of-leiningen-test-selectors-2eb6c452dfcf

Another awesome thing is you can just run the tests in calva!
https://calva.io/test-runner/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文