Techatrix

Results 54 issues of Techatrix

Installing Zig or ZLS with the extension doesn't properly handle switching between different Zig project. You have to manually figure out which version to get and install it every time...

In its current state, ZLS is only able to report syntax errors and errors that are provided by `zig ast-check`. Everything else (like semantic analysis) is not available. Here are...

enhancement

Example: ```zig const std = @import("std"); pub fn main() !void { std.log.info("{}", .{""}); } ``` Output: ``` $ zig run foo.zig -freference-trace=12 /nix/store/li7vdsrycv9zgp0phkxgsgn9fayn7cx0-zig-0.14.0-dev.1371+5723fcaac/lib/std/fmt.zig:663:17: error: cannot format array without a specifier...

enhancement

### Zig Version 0.14.0-dev.365+6a16b27 ### ZLS Version 0.14.0-dev.2802+257054a14 ### Client / Code Editor / Extensions VSCodium 1.94.2 with vscode-zig v0.6.4 ### Steps to Reproduce and Observed Behavior 1. create the...

bug

LSP [semantic tokens](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_semanticTokens) offer a predefined set of semantic token types and semantic token modifiers. ZLS is currently emitting mostly standard token types with relatively [few exceptions](https://github.com/zigtools/zls/blob/6c6923d7b1c4984554dade667f664d21f42b2b6c/src/features/semantic_tokens.zig#L36-L43). The problem is...

enhancement
priority:low

The current implementation of `source.organizeImports` (#2051) always places the imports at the top of the file. Sometimes you find code that has all imports at the bottom of the file...

enhancement

```zig const S = struct { pub fn foo( alpha: u32, beta: u32, ) void { _ = alpha; _ = beta; } }; ``` When hovering over `foo` displays...

bug
priority:low

Before: ```zig const foo = @as(T, something); const bar = T{}; ``` After: ```zig const foo: T = something; const bar: T = .{}; ``` This feature has been suggested...

good first issue
feature

Zig files usually begin with a bunch of `@imports` like this: ```zig const std = @import("std"); const Ast = std.zig.Ast; const Server = @import("../Server.zig"); const DocumentStore = @import("../DocumentStore.zig"); const types...

enhancement
good first issue

The `zig env` command does not respect the `ZIG_LIB_DIR` environment variable which seems to be unintentional as the similar `ZIG_GLOBAL_CACHE_DIR` variable is being handled as expected. With the recent addition...