ZigBrains cannot detect ZLS

I recently installed IntelliJ and added the ZigBrains plugin. I followed the quick setup guide and install instructions on zigtools, but I still cannot get the following: “an LSP status indicator should appear in the bottom right corner and turn to green when you open a .zig file in the editor.” The formatting somewhat works, but I think the IDE is using some default format because it doesn’t not use the same formatting patterns that VS Code uses (where ZLS is properly setup.) The syntax highlighting also somewhat works (see screenshot below). Lastly, import formatting completely doesn’t work, but I’m willing to chop that up to the lack of configuration that VS Code currently has. Any thoughts or recommendation on how to diagnose the root issues?

For context:

  • Zig version: 0.14.0-dev.3010+fecdc53a4
  • ZLS version: 0.14.0-dev.365+6a16b27
    • Both are correctly on my system path
  • IntelliJ version: 2024.3.2.2 (Community Edition)

despite the fact that i did not see lsp status indicator, formatting works as expected
i use rustrover with zigbrains
after unpack of zig and zls i created symbolic links in /usr/bin
ls -la /usr/bin/zig
lrwxrwxrwx 1 root root 50 Nov 29 12:16 /usr/bin/zig → /home/g41797/dev/langs/zig-linux-x86_64-0.14.0/zig

ls -la /usr/bin/zls
lrwxrwxrwx 1 root root 50 Dec 9 19:42 /usr/bin/zls → /home/g41797/dev/langs/zls-linux-x86_64-0.14.0/zls

so my settings for plugin:
zig settings → toolchain location: /usr/bin
zls settings → executable path: /usr/bin/zls

also try to remove hidden .idea folder and restart ide

please pay attention that zig and zls versions should be compatable