Comments (3)
Can't reproduce. Can you post the version of ZLS you're using? <zig.zls.path> --version
or at the beginning of Zig Language Server
Output in vscode.
from vscode-zig.
> /home/din/.config/Code/User/globalStorage/ziglang.vscode-zig/zls_install/zls --version
0.11.0
info : ( main ): Starting ZLS 0.11.0 @ '/home/din/.config/Code/User/globalStorage/ziglang.vscode-zig/zls_install/zls'
info : ( main ): No config file zls.json found.
info : (config): Using zig executable '/home/din/zig/zig'
debug: (server): Took 0ms to process notification-exit on Thread 174168
info : (config): Using zig lib path '/home/din/zig/lib'
info : (config): Using build runner global cache path '/home/din/.cache/zig'
info : (config): Detected runtime zig version: '0.11.0'
info : (server): client is 'Visual Studio Code-1.85.1'
info : (server): zls initializing
info : (server): Server.ClientCapabilities{ .supports_snippets = true, .supports_apply_edits = true, .supports_will_save = true, .supports_will_save_wait_until = true, .supports_publish_diagnostics = true, .supports_code_action_fixall = true, .hover_supports_md = true, .completion_doc_supports_md = true, .label_details_support = true, .supports_configuration = true, .supports_workspace_did_change_configuration_dynamic_registration = true, .supports_textDocument_definition_linkSupport = true }
info : (server): Using offset encoding: utf-16
debug: (server): Took 1ms to process request-0-initialize on Thread 174199
debug: (server): Dynamically registering method 'workspace/didChangeConfiguration'
debug: (server): Took 2ms to process notification-initialized on Thread 174199
debug: (server): Took 0ms to process response-register-workspace/didChangeConfiguration on Thread 174199
info : (server): Setting configuration...
warning: (server): Ignoring new value for "zls.record_session_path": the given new value is invalid
warning: (server): Ignoring new value for "zls.replay_session_path": the given new value is invalid
warning: (server): Ignoring new value for "zls.builtin_path": the given new value is invalid
warning: (server): Ignoring new value for "zls.zig_lib_path": the given new value is invalid
warning: (server): Ignoring new value for "zls.build_runner_path": the given new value is invalid
warning: (server): Ignoring new value for "zls.global_cache_path": the given new value is invalid
warning: (server): Ignoring new value for "zls.build_runner_global_cache_path": the given new value is invalid
debug: (server): Server.ClientCapabilities{ .supports_snippets = true, .supports_apply_edits = true, .supports_will_save = true, .supports_will_save_wait_until = true, .supports_publish_diagnostics = true, .supports_code_action_fixall = true, .hover_supports_md = true, .completion_doc_supports_md = true, .label_details_support = true, .supports_configuration = true, .supports_workspace_did_change_configuration_dynamic_registration = true, .supports_textDocument_definition_linkSupport = true }
info : (config): Using zig executable '/home/din/zig/zig'
info : (config): Using zig lib path '/home/din/zig/lib'
info : (config): Using build runner global cache path '/home/din/.cache/zig'
info : (config): Detected runtime zig version: '0.11.0'
debug: (server): Took 7ms to process response-i_haz_configuration on Thread 174199
from vscode-zig.
Looks like it's been fixed. It'll be included in the 0.12.0 release of ZLS (coming shortly after the Zig release) or you can get it now by using nightly version of ZLS (which also requires nightly version of Zig).
from vscode-zig.
Related Issues (20)
- empty symbols panel for many zig std library files HOT 1
- zls settings are ignored if zig is not found in path
- Support substituting environment variables in path settings HOT 2
- Support syntax highlighting in Markdown fenced code blocks HOT 1
- Stop OUTPUT panel from popping up on fmt errors HOT 2
- zig.path has a default of `null` when it is declared as a string
- Feature Request: Command for generation of .vscode/tasks.json and .vscode/launch.json
- Ask to add zig to PATH if installed via the extension HOT 4
- Missing function suggestions for numeric atomic HOT 1
- Regession: formatter is broken in v0.5 HOT 4
- automatically append .exe to `zig.path` on windows
- Unable to install ZLS 0.11.0 for Zig version 0.11.0 HOT 1
- impossible to build with automatically installed zig version HOT 1
- Auto installing zig / zls writes to the global settings json HOT 2
- Unable to update Zig HOT 1
- The extension no longer automatically starts ZLS HOT 2
- Version 0.5.3 does not work with remote-ssh on the Mac system HOT 6
- double '@' HOT 6
- Backwards compatibility of extension settings and ZLS config HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-zig.