Commit Graph

16 Commits

Author SHA1 Message Date
fn ⌃ ⌥
0baae921ed Add completion test 2023-06-24 10:14:58 -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
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
Techarix
c0498fffa1 add completion tests on struct init fields 2023-04-17 23:25:20 +02:00
Techatrix
1e733a8782 fix block label completion test 2023-03-23 15:13:33 +00:00
Techatrix
5944db49b3 add multi-file support to ErrorBuilder
colorize ErrorBuilder output
2023-03-23 15:13:14 +00:00
Techatrix
0f77fd5b0e
add multi object for loop support (#1011)
* run `zig fmt`

* add support for multi object for loops

* add completion tests on multi object for loops

* update minimum zig build version

* use multi object for loops in codebase

* Update tres to latest version

* fix panics when generating document scope on invalid for loops
2023-02-21 17:11:35 -05:00
Alex Kladov
0d3b0e9965
Remove some boilerplate from test (#988) 2023-02-11 14:19:37 -05:00
Techatrix
3f2700eaa5
improve completion on error and enums (#887) 2023-01-06 13:59:20 -05:00
Techatrix
61c0981294
Use zig-lsp-codegen (#850)
* add lsp.zig

* change references from types.zig to lsp.zig

* remove types.zig and requests.zig

* add tres as a submodule

* transition codebase from types.zig to lsp.zig

* update lsp.zig

* completely overhaul message handler

* fix memory errors

* partially transition tests to lsp.zig

* update lsp.zig

* more test fixes

* disable failing tests

* fix message handling bugs

* fix remaining tests

* access correct union in diff.applyTextEdits

* more message handler fixes

* run zig fmt

* update tres submodule

* fix memory access to freed memory

* simplify initialize_msg for testing

* check if publishDiagnostics is supported
2022-12-27 01:47:57 -05:00
Auguste Rame
580469cd32
Fix rogue resize, bump minimum version (#805) 2022-12-03 21:35:51 -05:00
Auguste Rame
6ab2c68355
Allocgate 2.0 slain (#791)
* Allocgate 2.0 slain

* Tests now compile, but they fail

* Temporary bruteforce
2022-12-02 15:14:58 -05:00
Techatrix
13f3b200bc
add tests for completion (#719) 2022-10-27 16:25:44 -04:00