-
-
Notifications
You must be signed in to change notification settings - Fork 418
Open
Labels
featureNew feature or requestNew feature or request
Description
In zig-msbuild-sdk, I would like to generate a zls.json as part of the build so that users can use ZLS in e.g. VS Code and have things Just Work. There are some limitations in ZLS that prevent this at the moment:
- ZLS only searches for
zls.jsonin configuration folders. I need a way to point it to thezls.jsonthat I generate inside the project folder. Usually, this will go intoobj/<configuration>/<platform>/zls.json(e.g.obj/Debug/linux-x64/zls.json). - Configuration doesn't seem to be hierarchical. This means that the user wouldn't be able to have a
zls.jsonat a higher level which modifies behavioral options likeenable_snippets,operator_completions, etc. - There seems to be no way to communicate Zig packages to ZLS without using
zig buildin some fashion. This information is readily available in my SDK - I just need a way to pass it to ZLS. Apackageslist inzls.jsonmight be a reasonable solution.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request