Commit Graph

26 Commits

Author SHA1 Message Date
nullptrdevs
19fd17ff76
ability to highlight global variables (#655)
anything declared with "var" at the root level
2022-10-10 01:13:15 -04:00
Techatrix
b9a291b944
remove requests.Configuration (#696) 2022-09-30 20:47:40 -04:00
Techatrix
51356517a9
Self hosted fixes (#682)
* fix compiler errors when using self-hosted

* move parameters into builder struct

* simplify code when using self hosted

* fix stage2 error `cast discards const qualifier`

* correctly return after finding method

* fix position context tests on self hosted

* remove unnecessary comptime in position context tests
2022-09-30 00:04:55 -04:00
Vesim
32ce19f9a8
inlay_hints: implement ability to remove redundant hints (#690) 2022-09-29 14:36:29 -04:00
Techatrix
e3803d760f
show a warning when using an old zig version (#677)
* show a warning when using an old zig version

* use builtin zig version
2022-09-28 19:30:26 -04:00
Techatrix
cfb7c16de0 add enable_autofix option 2022-09-24 21:30:36 +02:00
Lee Cannon
f90142d0cc
create entire cache folder path 2022-09-20 19:52:24 +01:00
J.C. Moyer
0feecee18c Add target to Env struct
See: https://github.com/ziglang/zig/pull/11741
2022-09-18 02:45:30 -04:00
Techatrix
834127f23e create global cache path directory if it doesn't exist yet 2022-09-11 22:36:38 +02:00
Techatrix
75677f424c place build_runner.zig in zls subfolder 2022-09-11 21:50:37 +02:00
Techatrix
0428b970b1
place build_runner.zig in cache directory (#635) 2022-09-07 13:34:48 -04:00
Techatrix
38210d3e91 embedFile build_runner.zig in executable 2022-09-04 21:44:07 +02:00
Techatrix
d8b574a0cc enable ast-check by default 2022-09-03 15:12:34 +02:00
Auguste Rame
57a35a7bc8
ast-check for zls! 2022-08-31 20:52:55 -04:00
Techatrix
9b7c73d9b1 add JSON Schema 2022-08-29 22:55:25 +02:00
nullptrdevs
2c5ae262f7 fix: fix memory leaks related to updating config variables
adds an edge case in analysis.makeScopeInternal to prevent
leaking memory when adding duplicate container fields w/ name "other"
2022-08-21 17:11:50 -07:00
Techatrix
0436b05b80 rename build_runner_cache_path to global_cache_path 2022-08-18 23:14:32 +02:00
haze
528fd26a13
update format specifiers for optional strings (#564) 2022-07-27 09:41:45 -04:00
Techatrix
0ecdeeecb1
Implement textDocument/inlayHint (#559)
* Implement textDocument/inlayHint

* Add corresponding Config options
2022-07-24 07:38:13 -04:00
Auguste Rame
1d910ed973
Start refactoring main -> Server's globals 2022-07-17 12:00:29 +02:00
Auguste Rame
6f19772c17
Fix config source of truth problems, refactor some more 2022-07-15 18:06:18 +02:00
Auguste Rame
acd57ddb16
workspace configuration server request model implemented! 2022-07-11 15:45:31 +02:00
Auguste Rame
3b33750f59 Add config option, fix config wizard, fix random crash and extern unused highlighting 2022-07-09 05:23:53 -04:00
Auguste Rame
a96532aa65 Add config option for unused vars 2022-07-08 04:26:31 -04:00
Meghan Denny
3fdab6c2fa add a default option for import(builtin) 2021-12-29 19:35:16 -08:00
Meghan Denny
e18003ff86 rename another top level fields file 2021-10-19 19:26:57 -07:00