ZLS 0.11.0
Feature improvements
- hover improvements #1269 #1281 #1282 #1294 #1303 #1308 #1320
- struct init field completion #1075 #1090 #1115 #1116 #1275 #1298 #1307
- completion on error and enums #887 #1233 #1270 #1302
- provide more semantic token information #1057 #1103
- implement cInclude completions & goto definition and hover #970 #972
- keyword completion and updated snippets #763 #767 #769 #1095
New capabilities
Analysis
- experimental comptime interpreter #724
- branching type resolution #1031
- add anytype resolution based on call references #1067
- resolve type of simple labeled block #1262
- expand var decl alias resolution #1273
- resolve
std.ArrayList(T).Slice#1373 - resolve type of loop expressions #1310
- resolve types of
slice.len,slice.ptr, and tuple fields #1315
Performance
- optimize analysis backend #1062
- use @silversquirl’s binned allocator #1134
- multithreaded job processing #1311
- optimize inlay hints. #926 #948 #954
- optimize document symbols #1050
Config
- make argument placeholders optional #1317
- make semantic token configuration an enum #1064
- enable all capabilities by default #877
Behind the scenes
- switch to diff-match-patch #982
- add a replay feature to zls #857
- code formatting does not depend on zig executable. #755
- update zig submodules to new builtin dependency system #1017
- disable and then reenable cimport resolution #1091 #1136
- use
zig-lsp-codegen#850 - transition from tres to
std.json#1321
Sponsors
We’d like to take a second to thank all our awesome contributors and donators/backers/sponsors; if you have time or money to spare, consider partaking in either of these options - they help keep ZLS awesome for everyone!
Full Changelog: 0.10.0…0.11.0
Release Artifacts
All files are signed with minisign using this public key:
RWR+9B91GBZ0zOjh6Lr17+zKf5BoSuFvrx2xSeDE57uIYvnKBGmMjOex
| OS | Arch | Filename | Signature | Size |
|---|---|---|---|---|
| Windows | x86_64 | zls-windows-x86_64-0.11.0.zip | minisig | 3.99 MiB |
| Windows | x86 | zls-windows-x86-0.11.0.zip | minisig | 4.32 MiB |
| macOS | aarch64 | zls-macos-aarch64-0.11.0.tar.xz | minisig | 1.53 MiB |
| macOS | x86_64 | zls-macos-x86_64-0.11.0.tar.xz | minisig | 1.67 MiB |
| Linux | x86_64 | zls-linux-x86_64-0.11.0.tar.xz | minisig | 2.83 MiB |
| Linux | x86 | zls-linux-x86-0.11.0.tar.xz | minisig | 2.82 MiB |
| Linux | aarch64 | zls-linux-aarch64-0.11.0.tar.xz | minisig | 2.74 MiB |
| WASI | Wasm | zls-wasi-wasm32-0.11.0.tar.xz | minisig | 2.67 MiB |