Lee Cannon
4f04f7dac0
std.ChildProcess.init
cannot error
2022-05-29 18:18:57 +01:00
Lee Cannon
106e3cd963
std.math.cast
returns optional
2022-05-29 18:17:43 +01:00
Jarred Sumner
a3723c73b8
Fix missing doc comments in inline fn
2022-04-22 00:49:36 -07:00
v1nh1shungry
042b03a06a
fix ast.lastToken() does not handle empty error_value
2022-04-20 14:49:52 +08:00
Meghan Denny
ca409941e0
update to zig master 0.10.0-dev.1679+d227f76af
2022-03-31 16:01:43 -07:00
Auguste Rame
14698c35c9
Merge pull request #455 from davidgm94/fix-zls-config-crash
...
Fix ZLS config not found crash #410
2022-03-24 13:12:33 -04:00
Auguste Rame
4e6564d7da
Merge pull request #467 from ikrima/fix-addrspace-section
...
fix: ast.lasttoken() does not handle addrspace section
2022-03-01 21:18:54 -05:00
ikrima
90195a6695
fix: ast.lasttoken() does not handle addrspace section
2022-02-28 16:08:56 -06:00
Josh Crisp
e38278d2a5
Skip char and string literals when highlighting comments
2022-02-15 16:52:08 -08:00
David Gonzalez Martin
a1f72d46e3
Fix ZLS config not found crash #410
2022-02-07 22:14:31 -06:00
Stephen Gutekanst
515cdd95a0
update for anytype field yeeting
...
Updates ZLS to account for the yeeting of anytype fields: https://github.com/ziglang/zig/pull/10766
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-02 22:00:31 -07:00
Auguste Rame
18a23c1aa2
Merge pull request #449 from novakne/patch-1
...
builtin_uri: Fix typo in log message
2022-02-01 19:16:35 -05:00
Sebastian Keller
472104c0e1
Fix build on zig master (0.10.0-dev.500+66cf011aa)
...
std.process.args() has a slightly different api now, breaking the build
on zig master.
2022-02-01 21:52:15 +01:00
Hugo Machet
fa946526c2
builtin_uri: Fix typo in log message
2022-01-28 12:04:20 +01:00
ikrima
ca8ca06da9
yolo: add type function symbols to outline
...
Questions:
- `getDocumentSymbolsInternal`: from looking at the code + cross referencing VSCode Api, looks like its just used to enumerate document symbols
(call tree: `documentSymbol()->getDocumentSymbols()->getDocumentSymbolsInternal()`)
- sanity check: are there any other places this modification needs to be propogated?
- sanity check: specifically so that symbol resolve/rename/goto def/etc aren't broken?
- error handling: unsure what the pre/post conditions are of the parse tree when `getDocumentSymbolsInternal` is invoked
so there might be superflous guards/checks
- any tests to add?
2022-01-12 03:25:26 -06:00
Auguste Rame
08f2638d6a
Merge pull request #445 from nektro/autocomplete-builtin
...
add a default option for `@import(builtin)`
2022-01-01 16:57:39 -05:00
Meghan Denny
09d51af161
handle AccessDenied when making 'builtin.zig' fill-in
2021-12-29 22:53:30 -08:00
Meghan Denny
54d8f3273c
builtin_path might not be set if zig_exe_path isnt found
2021-12-29 21:17:44 -08:00
Meghan Denny
9006584835
uriFromImportStr expects a uri not a path
2021-12-29 21:08:13 -08:00
Meghan Denny
3fdab6c2fa
add a default option for import(builtin)
2021-12-29 19:35:16 -08:00
Meghan Denny
7cacfe9a6a
update builtin data for zig master
2021-12-29 22:25:03 -05:00
Meghan Denny
49cbbd1ebb
add builtin data for 0.9.0
2021-12-29 22:24:34 -05:00
Auguste Rame
18569926a3
Fix compilation on latest Zig
2021-12-23 14:00:07 -05:00
Matthew Murray
cb4e742134
Update submodule to latest commit ( #439 )
2021-12-22 23:08:05 -05:00
Sirius902
dc94a5e317
c_void -> anyopaque ( #437 )
2021-12-20 19:05:54 -05:00
Marten Ringwelski
abe82f6069
build_runner: Require some paths to be given ( #369 )
...
We now require the following to ge given in the cli args:
- zig_exe
- build_root
- cache_root
- global_cache_root
This fixes the path for packages that use one or more from the above to place
their files.
2021-12-11 12:42:18 -05:00
Matthew Knight
14528db0b7
update known-folders for allocgate ( #432 )
...
* update known-folders for allocgate
* run workflow on all pushes and PRs
2021-12-06 18:04:18 -08:00
maxxnino
5fd35f7efe
Fix zigtools/zls#389
2021-12-03 11:49:41 -05:00
Matt Knight
f9133ffdec
allocgate defeated
2021-12-03 08:00:22 -05:00
MineBill
227dcb4650
Remove newline
2021-11-30 16:24:37 -05:00
MineBill
e469d8171f
Fixes errors that are caused by using deprecated functions
2021-11-30 16:24:37 -05:00
Omar Alhammadi
12cda9b031
Change notification method in log
...
Currently in the log function in main, the notification method used to send logs to the client is "window/showMessage". This creates an a notification on the UI on VSCode that can cause slow downs. I propose a change to use the "window/logMessage" method instead, which is intended to be used for logging.
2021-11-04 19:35:49 -04:00
Omar Alhammadi
d4b6b97c01
temporary fix to issue #413 with #412 not building on release-safe.
2021-11-03 07:03:17 -04:00
Ryan Liptak
4d6d842fa5
Update Sublime LSP settings for Sublime Text 4
...
"selector" is now the preferred method of configuration, everything else was deprecated in SublimeLSP 4070-1.1.0: https://github.com/sublimelsp/LSP/releases/tag/4070-1.1.0
Also syncs setup.zig with the readme for the Sublime Text 3 settings (the Zig Language package name was wrong in setup.zig)
2021-11-02 22:14:58 -04:00
Omar Alhammadi
3531237afe
Added build option log_level to allow the user to set the default log level for release builds.
2021-11-02 22:13:53 -04:00
antlilja
80f09831bc
Remove use of notice log level
...
Removes the use of the notice log level.
Cleans up resulting code, the if else statement with nested switches was
converted into a single switch statement with the same behaviour, but
without relying on the enumToInt builtin.
2021-10-26 17:01:06 -04:00
Benjamin Feng
0f65093812
Fix off-by-one deinit on DocumentStore
2021-10-24 01:02:52 -04:00
Meghan Denny
04edc7a2d5
remove all use of usingnamespace
2021-10-19 19:26:57 -07:00
Meghan Denny
caaec2bcfd
lsp- alias []const u8
-> string
so its closer to docs
2021-10-19 19:26:57 -07:00
Meghan Denny
9ceaf90657
add reference for which lsp version we're targetting
2021-10-19 19:26:57 -07:00
Meghan Denny
e18003ff86
rename another top level fields file
2021-10-19 19:26:57 -07:00
Meghan Denny
737a9dc008
remove some dead code
2021-10-19 19:26:57 -07:00
Meghan Denny
3f92120fbe
fix missing double reference
2021-10-19 19:26:57 -07:00
Meghan Denny
aae82d29bd
fix capitalization of top level fields structs
2021-10-19 19:26:57 -07:00
Meghan Denny
91c8ffb38c
fully qualify std.debug.assert references
2021-10-19 19:26:57 -07:00
Meghan Denny
8d46ceff07
use an enum for zig version
2021-10-19 19:26:57 -07:00
Lee Cannon
b88a95a617
Update submodule
2021-10-11 09:21:24 +01:00
Lee Cannon
90f8109639
Update to use @import("builtin") where required
2021-10-07 12:53:31 +01:00
Meghan Denny
b63339e350
remove Tree when it was the same as Ast
2021-09-30 18:57:45 -07:00
Meghan Denny
3c1152a536
use empty string for empty []const u8
2021-09-30 18:47:48 -07:00