zls
zls copied to clipboard
A language server for Zig supporting developers with features like autocomplete and goto definition
If i attempt to import a package (whether through `exe.addPackagePath` or with a `std.build.Pkg` with `exe.addPackage`), i get no autocompletion or any language features if i try to import said...
I am trying to implement an ongoing project using libloader from zig's standard library, but it is painful to have to manually review each line for its available members. -...
Zig has a fantastic build feature called `emit_analysis` which well... emits analysis type data from the compiler proper. We do not use `emit_analysis` data in zls because it only appears...
When AST *is* valid, we can also use Sema to get really useful diagnostics! This is something for further down the line and it depends on #551.
The title is pretty self-explanatory: global variables/constructs must go! - [ ] `main.zig` - [ ] `actual_log_level` - [x] `stdout`, which is actually a BufferedWriter to stdout - [x] `allocator`...
`pub const Settings = struct { x: f32, y: f32 };` ` pub fn example (settings: Settings) void {}` The goal would be to provide a list of the fields...
Global variables are generally shunned in Zig land, so adding an option that shows global variable diagnostics might be cool. This would be especially useful for me right now as...
85% of our ArrayLists and HashMaps are needlessly managed; I'm not going to list them all out here but it's... pretty bad.