Skip to content

zls cannot locate zls.json file #410

@palash25

Description

@palash25

hi, i was installing zls on a new machine and noticed this problem. this is what I did

built zls from source and than ran the configuration wizard. The config wizard successfully wrote the config to /etc/zls.json

after that I copied the zls binary that was built in zls-out directory to /usr/local/bin

then i installed the vscode extension for zls and set the following option in settings

"zigLanguageClient.path": "/usr/local/bin/zls"

and restarted zls from vscode and I get this in the logs

[info-main] No config file zls.json found.
[info-main] Server closing.

does zls not look for the config in the /etc directory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions