Ah bugger. Thanks for answering 🙂 I’m using cloverage
so it’s not that big of a loss but still was hoping I can get some nice code coverage in the IDE so I know what I’m missing.
Hi, I've always run Cursive on Windows alongside WSL, but I'd really like to move my project files into the WSL2 filesystem for performance reasons. JetBrains stated here that WSL2 support for each language would have to be done separately, so I'm wondering whether there are any plans to support WSL2 in Cursive? https://youtrack.jetbrains.com/issue/IDEA-171510#focus=Comments-27-4155034.0-0
Did you run cursive in windows wsl?
Windows or wsl
IntelliJ on Windows with the project on wsl2
When you open a new project you have the option to select the wsl2 filesystem, which means you can open wsl2 project with IntelliJ on Windows. Just make sure that there's a valid jdk on your wsl2.
There is a special network path to access WSL directories: \wsl$
That sounds great. I’d be interested if that completely solves the problem for Clojure projects or if anything else is required.
Ha! My whole intellij hangs if i try that it seems
I'll investigate
@conan Try with a dummy lein project first to see if it's working I reckon
I've got it working. It breaks when I try to use a WSL2-based JDK, that was the issue. Indexing is slow and my REPL start times also seem down, but everything is working nicely. So I guess currently the choice is between Cursive performance (project on the Windows filesystem) and Linux performance (project on the WSL2 filesystem). It would be great to be able to start an nREPL from linux and connect to it in intellij without having to use a remote configuration.
Which Jdk were you using on wsl2, if you don't mind me asking?
Yes, I would like to. It’s complicated by two things - I don’t use Windows, and it’s not clear what I have to do to fix it. But I can try to figure out what to do and see if I can get an idea of how much work it would be.