Support WSL binaries for zig/zls
The plugin works relatively well, but when working with wsl projects it continues to use windows zig binaries. It would be ideal that the plugin detects when running a wsl project and uses zig and zls from the wsl path.
You can change the zig and zls paths to point to the "wsl" binaries in the per-project settings under Settings -> Languages & Frameworks -> Zig; Zig Settings -> Toolchain location and ZLS launch settings -> Executable path
yes, i attempted to do this. I point to zls binary no problem, but whenever i select my instalation path for zig itself it is ignored.
After i hit apply and reopen the config it is gone. and it never shows the toolchain version like it does with the windows binaries.
ZigBrains can only run native executables for zig and zls at the moment, support for cross-platform and remote binaries is planned in the future, but for now you'll need to use a windows exe for them (or alternatively, install a linux version of your IDE into the WSL environment, and then use intellij Code With Me to remotely connect to it).
Gotcha!
@Zelinzky how are you running things i have been using it with WSL just fine, since its running on the remote side using the gateway stuff in clion. works almost as well as when i am booted into a proper linux distro.