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

unable to find zls.json #1172

Closed
swe-ismoilov opened this issue May 6, 2023 · 3 comments
Closed

unable to find zls.json #1172

swe-ismoilov opened this issue May 6, 2023 · 3 comments

Comments

@swe-ismoilov
Copy link

I built zls server on my machine, and run it where the executable is located by default. Then got that issue. I have try to find manually this file and locate to path for zls but I cannot find it.
image

@llogick
Copy link
Contributor

llogick commented May 6, 2023

Hi,

zls.json isn't automatically created as ZLS has builtin defaults. That said one almost always needs to override those.
You can refer to #1127 for some info on creating it (do mind #1129).

@swe-ismoilov
Copy link
Author

Thanks, shall we can add a feature to add new zls.json file somewhere as config?

@llogick
Copy link
Contributor

llogick commented May 23, 2023

I've thought about it, but it'd probably need to be a separate utility.

Something that assists

  • creating a config file
  • checking validity (verify values, verify setting name is correct)
  • updating/changing setting(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants