Techatrix
0b1fc7eb6a
include anytype parameters in inlay hint function parameter count ( #1263 )
2023-06-24 22:17:07 +01:00
fn ⌃ ⌥
0baae921ed
Add completion test
2023-06-24 10:14:58 -07:00
Techatrix
a16fb19797
improve self param detection in inlay hints ( #1258 )
2023-06-24 02:25:12 +01:00
Lee Cannon
ecb18949df
disable translate c test on windows ( #1253 )
2023-06-23 11:47:54 -04:00
FalsePattern
71b09a3ffe
fix legacy json in tests
2023-06-21 17:47:58 +02:00
FalsePattern
d0c62157b4
Added legacy-style json api wrapper
2023-06-21 17:24:29 +02:00
FalsePattern
cf211cd599
update casting builtins
2023-06-21 17:08:10 +02:00
Joe Williams
83c9a7b493
autofix now handles comments in the event of a newline w/ comments ( #1236 )
...
* autofix now handles comments in the event of a newline w/ comments
* oob check
* continue statements so we don't waste time checking things we know
* added a skip for if the characters are a comment
* convert to switch for readability
2023-06-15 12:53:33 -07:00
Lee Cannon
4d0e1afb72
Merge pull request #1233 from Techatrix/enum-completion
...
set Enum completion kind to .EnumMember
2023-06-09 23:20:42 +01:00
Techatrix
c446087231
set Enum completion kind to .EnumMember
2023-06-09 23:35:27 +02:00
Techatrix
77e39a8da8
clear using_trail when calling resolveUse
...
fixes #1231
2023-06-09 23:13:36 +02:00
Lee Cannon
5d53f0104f
Merge pull request #1209 from Vexu/semantic-tokens
...
Semantic token adjustments
2023-05-30 21:24:58 +01:00
Lee Cannon
fa0793596f
Merge pull request #1215 from Techatrix/refactor-doc-scope
...
Refactor document scope generation
2023-05-30 21:05:26 +01:00
Lee Cannon
88978bac2e
Merge pull request #1214 from Techatrix/code-actions-tests
...
add tests for autofix code actions
2023-05-30 21:00:39 +01:00
Techatrix
cc8fb14906
add tests for autofix code actions
2023-05-30 18:46:37 +02:00
Techatrix
b623f141ea
revive translateC support
2023-05-30 01:59:46 +02:00
Techatrix
9f9bf9eba8
include enum fields in enum completion set
2023-05-30 00:02:01 +02:00
Techatrix
6f7f9dab9d
refactor document scope creation with ast.iterateChildren
2023-05-30 00:02:01 +02:00
Veikka Tuominen
cda0fd4386
rewrite semantic token types union and opaque as type
...
The default themes on vscode color these the same as all other identifiers.
2023-05-29 12:57:18 +03:00
Lee Cannon
2e3d66e465
update std.debug.TTY
to std.io.tty
2023-05-25 17:13:10 +01:00
Victor Song
0af42d5608
Replace nonexistent std.sort.sort
with std.mem.sort
2023-05-24 02:13:43 -05:00
Techatrix
5cc7b1341e
skip std module resolution test on webassembly target
2023-05-21 21:48:46 +02:00
Techatrix
6f0907bc16
fix semantic tokens on union and enum container fields
2023-05-21 21:48:46 +02:00
Techatrix
cde544125a
bring semantic token types and modifiers closer to predefined ones
2023-05-21 21:48:46 +02:00
Techatrix
d9965c7834
fix semantic tokens on if capture by ref
2023-05-21 21:48:46 +02:00
Techatrix
498517ba71
replace semantic token type .field with .property
2023-05-21 21:48:46 +02:00
Techatrix
ae5fa110b5
test and simplify semantic tokens on function call
2023-05-21 21:48:46 +02:00
Techatrix
3fefcfb398
simplify semantic token comment handling
2023-05-21 21:48:46 +02:00
Techatrix
3500aa7a76
update to new std.json api ( #1191 )
...
* update lsp.zig
* update to new `std.json` api
* update min zig version
* fix json api
2023-05-18 20:46:22 -04:00
Techatrix
029f5094ff
various intern pool & comptime interpreter changes ( #1179 )
...
* intern_pool: add getUnsignedInt
* add an empty struct literal
* resolve array length as usize in comptime interpreter
* use only one global intern pool
* store analysis errors in `DocumentStore.Handle`
* add typed undefined value
* add typed null value
2023-05-09 00:25:26 -04:00
Rekai Musuka
ec50d33241
fix: update test case involving @memcpy
2023-05-04 00:51:13 -05:00
Lee Cannon
825cbd2e07
Merge pull request #1142 from Techatrix/iterate-asm
...
implement `iterateChildren` on asm
2023-04-17 23:03:15 +01:00
Lee Cannon
2e282d991b
Merge pull request #1143 from Techatrix/test-struct-init-completion
...
add completion tests on struct init fields
2023-04-17 22:59:55 +01:00
Techarix
c0498fffa1
add completion tests on struct init fields
2023-04-17 23:25:20 +02:00
Techatrix
92eaa22c30
implement iterateChildren
on asm
2023-04-17 23:03:54 +02:00
Casey Banner
3ae56929fc
Implement $/setTrace and add --enable-message-tracing ( #1135 )
2023-04-16 12:04:42 -04:00
Techatrix
b970dd20a3
remove zls.json ( #1108 )
2023-04-03 11:22:51 -04:00
Techatrix
1e733a8782
fix block label completion test
2023-03-23 15:13:33 +00:00
Techatrix
1df17e8aa5
enable successful references test
2023-03-23 15:13:14 +00:00
Techatrix
6530fe01c4
implement testing for cross-file references
2023-03-23 15:13:14 +00:00
Techatrix
5944db49b3
add multi-file support to ErrorBuilder
...
colorize ErrorBuilder output
2023-03-23 15:13:14 +00:00
Techatrix
37e3cb463d
generate distinct uris in Context.addDocument
2023-03-23 15:13:14 +00:00
Veikka Tuominen
61b42ca63a
make semantic token configuration an enum
2023-03-23 15:02:12 +00:00
Techatrix
3c165eabcd
remove boxed null boilerplate
2023-03-21 16:58:05 +00:00
Techatrix
0c333aaa8a
do not print error messages in comptime interpreter tests
2023-03-21 16:58:05 +00:00
Techatrix
0ff0a193cc
simplify analysis by introducing a Analysis Struct
2023-03-14 15:16:30 +00:00
Techatrix
973d33d435
expand semantic token test coverage
2023-03-14 14:56:11 +00:00
Techatrix
a959f161e9
find references on test decl with identifier name ( #1051 )
2023-03-12 01:24:54 -05:00
Techatrix
ab23ff3616
Optimize document symbols ( #1050 )
...
* optimize document symbol generation
* match folding range index to position conversion and documentation to document symbol's
* skip function decls with no name
* skip document symbol field in opaque type
2023-03-12 01:24:42 -05:00
Techatrix
42a8d1adb7
add more Ast tests
2023-03-07 09:38:18 -08:00