5 ms·
For vscode, I like the `arrterian.nix-env-selector` extension. Can IntelliJ be configured to simply use whatever JDK belongs to the `javac` in PATH? If so, it
by casept 4y ago
For vscode, I like the `arrterian.nix-env-selector` extension.
Can IntelliJ be configured to simply use whatever JDK belongs to the `javac` in PATH? If so, it should suffice to simply start it in a `nix-shell`. If not, maybe setting `JAVA_HOME` in your `.envrc` could help?
- pxc 4y agoVSCode and IntelliJ also both have direnv plugins for importing env vars from direnv after the fact. You can use that alongside direnv's Nix integration to load those variables without relaunching your editor/IDE!
- biggestlou 4y agoomg how did I not know about these?!?