Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config option 'zig_exe_path': expected file path but #2088

Open
DendyGrobovshik opened this issue Nov 19, 2024 · 1 comment
Open

Config option 'zig_exe_path': expected file path but #2088

DendyGrobovshik opened this issue Nov 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@DendyGrobovshik
Copy link

Zig Version

0.14.0-dev.2253+3a6a8b8aa

ZLS Version

0.13.0

Client / Code Editor / Extensions

vscode with Zig Language plugin

Steps to Reproduce and Observed Behavior

Provide zig path to folder with zig compiler also named zig, like /home/user/bin/zig/zig in vscode 'Zig: Path'.
Then you'll get vscode warning config option 'zig_exe_path': expected file path but.

🛠️ Easiest way to fix it is to rename folder with compiler.

Expected Behavior

No warning if folder is named this way.

Relevant log output

No response

@DendyGrobovshik DendyGrobovshik added the bug Something isn't working label Nov 19, 2024
@Techatrix
Copy link
Member

  • Could you provide the log output of ZLS?
  • Did you add Zig or ZLS to your PATH?
  • Did you perhaps add /home/user/bin/ to your PATH?

This is most likely unrelated to your issue but your Zig and ZLS versions are not compatible. Please visit the ZLS Installation Guide to install the appropriate ZLS version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants