Auguste Rame
da00751726
Field access, function calls based on function value
2022-11-08 14:37:13 -05:00
Auguste Rame
779c3c0710
Hacky mess but it works (only if your function is the first root decl tho :P)
2022-11-08 14:37:13 -05:00
musi-musi
2ae113ddcf
fixed jrpc config treating empty strings as non null ( #727 )
2022-10-30 00:30:03 -04:00
InKryption
51a7ae2274
Fix region folding off-by-one error ( #726 )
2022-10-28 16:59:33 -04:00
InKryption
7fe62147a3
Improve folding regions ( #720 )
2022-10-28 14:35:22 -04:00
Luca Sas
2a17590bf4
Added textDocument/foldingRange ( #718 )
...
* Added textDocument/foldingRange
* Added support for code regions
* Fixed warning message in foldingRangeHandler
Co-authored-by: LucaSas <sas.luca.alex@gmail.com>
2022-10-25 10:35:16 -04:00
Auguste Rame
5ddbf24d11
Fix diagnostics ( #716 )
2022-10-21 12:24:26 -04:00
Techatrix
a0723dbffd
add missing semicolon
2022-10-20 18:25:06 +02:00
Techatrix
7c54ded487
Merge pull request #702 from Techatrix/document-store-refactor
...
DocumentStore refactor
2022-10-18 11:40:14 +02:00
Techatrix
89be8e0211
return const Handle from getHandle
2022-10-17 20:33:37 +02:00
ryuukk
472e28ad5c
builtins also get their detailed label ( #706 )
2022-10-14 12:24:22 -04:00
Techatrix
2bc83741fb
update cimport diagnostic collection
2022-10-10 19:16:23 +02:00
Techatrix
d6ef330984
Merge branch 'master' into document-store-refactor
2022-10-10 19:07:15 +02:00
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
4f27f075d7
revert timer removal
2022-10-09 00:38:05 +02:00
Techatrix
5d748767e9
mark DocumentStore & Handle const
2022-10-05 13:40:11 +02:00
Techatrix
dab7eb81cc
reimplement document store
2022-10-05 13:23:38 +02:00
Techatrix
b9a291b944
remove requests.Configuration ( #696 )
2022-09-30 20:47:40 -04:00
Techatrix
a9a1fad13e
remove types.TextDocument ( #693 )
...
* remove types.TextDocument
* resolve compile errors because of previous merge
2022-09-30 20:45:45 -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
Techatrix
d030dd0993
improve conformance to the lsp ( #687 )
2022-09-30 00:04:27 -04:00
Techatrix
cf73771739
simplify Server.zig ( #681 )
...
* simplify Server.zig
* remove wrong default value in Server.zig
2022-09-29 14:01:38 -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
8eeae02865
unmanage diff.zig ( #680 )
2022-09-28 12:13:55 -04:00
Techatrix
f3889cfe8d
explicit request didSave notification from client ( #676 )
2022-09-28 12:07:24 -04:00
Techatrix
8edaa7f506
Merge branch 'master' into dev
2022-09-26 18:41:07 +02:00
Techatrix
0d848a71ec
Merge pull request #674 from Techatrix/snippets
...
Add keyword Snippets for autocomplete
2022-09-25 17:27:46 +00:00
Techatrix
00be49c595
add keyword snippets for autocomplete
2022-09-25 02:45:02 +02:00
Techatrix
8cf5c82261
implement autofix
2022-09-25 01:05:12 +02:00
Techatrix
1b64db8a4c
implement textDocument/codeAction
2022-09-25 01:04:29 +02:00
Techatrix
ca58cbb3f3
make types.Diagnostic correctly parseable
2022-09-25 01:01:31 +02:00
Techatrix
548ced259f
refactor ast-check into separate function with small changes
2022-09-24 21:54:31 +02:00
Techatrix
a8dcb89a81
refactor getting the first & last parameter token into a function
2022-09-24 21:26:55 +02:00
Techatrix
6ff19e8b5f
analysis: store function node in parameter declaration
2022-09-24 21:25:32 +02:00
Techatrix
869d27c75d
simplify completionHandler, gotoHandler, hoverHandler and their callees
2022-09-22 20:09:16 +02:00
Techatrix
8a77007872
don't use inline for iterating builtin data
2022-09-22 05:39:04 +02:00
Techatrix
e9e9571fe5
avoid config copy for document store ( #669 )
2022-09-21 21:31:48 -04:00
Techatrix
cf52fd8190
report cImport failure using textDocument/publishDiagnostics
2022-09-19 19:53:41 +02:00
Techatrix
b76710ea5f
References improvements ( #653 )
2022-09-16 01:11:39 +00:00
Techatrix
e28549fa7d
Completely overhaul offsets.zig ( #643 )
...
* completely overhaul offsets.zig
2022-09-16 00:33:49 +00:00
Lee Cannon
bd6f60e451
update for zig master ( #651 )
2022-09-13 16:54:28 -04:00
Techatrix
e6238e3354
improve width of log prefix ( #649 )
2022-09-13 16:12:32 -04:00
Techatrix
1a93ec2234
Merge pull request #647 from Techatrix/logging-improvements
...
Only globally log to stderr
2022-09-12 11:42:46 +00:00
Techatrix
85135d36ae
refactor builtin_completions
2022-09-12 00:50:35 +02:00
Techatrix
ff779049f1
only globally log to stderr
2022-09-11 23:48:15 +02:00
Techatrix
7730c7715b
respect document encoding
2022-09-05 22:49:50 +02:00
Techatrix
925cc3fee9
reconstruct diagnostic range end of ast-gen
2022-09-05 20:41:40 +02:00
Auguste Rame
246fee8a1b
ast-check fixes
2022-09-01 09:26:58 -04:00
Auguste Rame
57a35a7bc8
ast-check for zls!
2022-08-31 20:52:55 -04:00
Techatrix
605c4e2988
fix textDocument/rename
2022-08-29 21:28:05 +02:00