ZLS
Go to file
Alexandros Naskos 02e57f5d59 Renamed leak_alloction build option to allocation_info
Switched to readAll and writeAll stream functions
Disabled logs on non-debug builds
Created freeDocument(doc), closeDocument(uri), called at appropriate sites
Removed _ = expr; for void values
Added and clarified some logging messages
Simplified builtin_completion generation
The JSON parser is now reused but reset after parsing a RPC
Fix memory leak when closing a document (last mem. leak)
Renamed leak_alloc to debug_alloc
Removed catch return statements from main(), rely on try to also get stacktraces instead
2020-05-08 02:53:00 +03:00
src Renamed leak_alloction build option to allocation_info 2020-05-08 02:53:00 +03:00
.gitignore init 2020-04-24 18:19:03 -04:00
build.zig Renamed leak_alloction build option to allocation_info 2020-05-08 02:53:00 +03:00
LICENSE.md Completion of global values, and some reformatting 2020-04-27 16:38:35 -04:00
README.md init 2020-04-24 18:19:03 -04:00

zls - Zig Language Server

Zig Language Server (or zls for short) is a - you guessed it - language server for Zig! Based off of the code written by the great andersfr.

Installation

git clone https://github.com/SuperAuguste/zls
cd zls
zig build

Then, you can use the zls executable in an editor of your choice that has a Zig language server client!

Usage

Please, I beg you, please don't use this unless you're developing or testing it!

VSCode

Install the zig-lsc extension from here.