Re:
by WirelessGigabit on Thursday August 31, 2023 @10:50PM
(#37346217)
Accessing WSL files via 9P works pretty nice, except for when you use JetBrains. Half of its tools interacting with Docker & WSL do not understand how to work with the \\wsl$\ prefix. Some places you have to put \\wsl$$\, but on other places it gets converted to //wsl$/ which then breaks path mapping.
[ Parent
| on HN ]
Path mapping on PhpStorm was very tricky for me as well (I’m running Docker containers inside my VMs so I had to set up correct mapping in PhpStorm if I wanted to run tests from the IDE) and I’m only talking about regular file paths here (no \\wsl$\ prefixes)…
Re:
by andrewmackrodt on Friday September 01, 2023 @04:24AM
(#37348145)
Have you tried running JetBrains IDEs from within WSL so it is "native". I tried this a couple of years ago and WSLg had some issues which may be fixed by now, e.g. the find and replace popup would not appear.