Closed ashajjar closed 2 hours ago
I solved the issue by pointing the plugin to the actual path not the link
/opt/homebrew/Cellar/zig/0.13.0/bin instead of /opt/homebrew/bin/zig
Because Homebrew creates a link:
For the symlink, you can just point it at /opt/homebrew/bin
, ZigBrains will look for zig
inside the directory. The standard library path itself is pulled from zig env
For the symlink, you can just point it at
/opt/homebrew/bin
, ZigBrains will look forzig
inside the directory. The standard library path itself is pulled fromzig env
when I pointed it to /opt/homebrew/bin
that did not work either. The screen shot is from the second attempt 😅
I installed Zig with brew, and followed the instructions. however autocomplete only works when I give the full path of the executable.
which works only for autocompleting but does not work for other stuff like when I try to run from the IDE
MacOS: 15.0.1 (24A348)
CLion 2024.2.2
Build #CL-242.22855.75, built on September 18, 2024
Runtime version: 21.0.3+13-b509.15 aarch64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
.NET Core v8.0.4 ARM64 (Server GC)