Commit Graph

947 Commits

Author SHA1 Message Date
Lee Cannon
584faec5de Call in build_runner 2021-05-13 21:29:05 +01:00
Alexandros Naskos
ec34c0b245
Merge pull request #328 from InterplanetaryEngineer/master
Update docs to reflect github.com/ziglang/zig/pull/8638
2021-05-13 17:56:16 +03:00
Alexandros Naskos
7fb7cdc36c
Fix std.testing.expectEqualStrings invocation for latest zig master build. 2021-05-13 17:53:53 +03:00
Jonathan Hähne
75803b35b1 Update docs to reflect github.com/ziglang/zig/pull/8638 2021-05-13 15:01:51 +02:00
Alexandros Naskos
759a7b7fd9
No longer show completions for declarations in aggregate types when
field accessing instances of those types.
2021-05-08 19:30:22 +03:00
Alexandros Naskos
5631b8d202
Fix semantic token generation for container fields with a byte alignment 2021-05-08 19:11:26 +03:00
Alexandros Naskos
14dc9d1b51
Don't use the build runner path as the build runner cache path if present >.> 2021-05-08 18:48:36 +03:00
Alexandros Naskos
3d62dd53a2
Merge pull request #320 from Luna1996/master
[bug-fix]hover struct field not show docs.
2021-05-07 12:27:25 +03:00
四光年
d4551030c4 [bug-fix]hover struct field not show docs. 2021-05-07 17:10:13 +08:00
Alexandros Naskos
b6e40b744d
Merge pull request #317 from Andoryuuta/patch-1
Added GitHub Actions link(s) in README
2021-05-04 15:36:02 +03:00
Andrew Gutekanst
8b1bcc45f1
Added GitHub Actions link(s) in README
Added GitHub Actions link(s) in README
2021-05-03 21:13:10 -04:00
Alexandros Naskos
937471d27b
Added --config-path option 2021-05-03 16:07:53 +03:00
Alexandros Naskos
f8b9d3bfcb
Fixed zls path in session tests 2021-05-03 15:46:24 +03:00
Alexandros Naskos
91643c04c9
Fixed integer overflow in semantic_tokens.Builder.handleComments 2021-05-03 15:36:29 +03:00
Alexandros Naskos
ab8c65eeda
Fixed highlighting of comments before the first token and after the last token of the last valid AST node 2021-05-03 15:14:11 +03:00
Alexandros Naskos
d73d7fc748
Merge pull request #316 from InterplanetaryEngineer/master
Simplify semantic_tokens, fix off-by-one error in identifierFromPosition
2021-05-03 15:09:20 +03:00
Alexandros Naskos
b66ed3bece
Fixed CI artifact generation 2021-05-03 14:23:37 +03:00
Alexandros Naskos
0e5a91d4fc
Fixed zls path in session tests 2021-05-03 14:08:59 +03:00
Jonathan Hähne
e1c8e5d407 Undo stupidity & run zig fmt 2021-05-02 20:23:26 +02:00
Jonathan Hähne
807bd6a571 Simplify semantic_tokens, fix off-by-one error in identifierFromPosition 2021-05-02 19:59:17 +02:00
Alexandros Naskos
82bb1911b1
Merge pull request #314 from rcorre/typo
Fix small typo in comment.
2021-04-23 08:17:14 -07:00
Ryan Roden-Corrent
ec34db0618
Fix small typo in comment. 2021-04-23 06:50:13 -04:00
Alexandros Naskos
23454e111c
Make semantic_tokens use @asyncCall instead of a stack again. 2021-04-19 17:17:46 +03:00
Alexandros Naskos
8f868dfec6
Merge pull request #308 from InterplanetaryEngineer/master
Fix inclusion of toplevel doc comments, remove @async recursion in writeNodeTokens, add a few regression tests
2021-04-16 01:19:50 -07:00
Jonathan Hähne
f61c9d8d4f Run zig fmt 2021-04-15 18:17:06 +02:00
Jonathan Hähne
b90c9b49ac Fix inclusion of toplevel doc comments, remove @async recursion in
writeNodeTokens, add a few regression tests
2021-04-15 11:07:43 +02:00
Alexandros Naskos
09e6d9a4c4
Merge pull request #303 from InterplanetaryEngineer/master
Improve testing infrastructure, refactor makeScopeInternal and resolveTypeOfNodeInternal, and support "catch" scopes
2021-04-08 07:59:58 -07:00
Jonathan Hähne
bb493c037a Add proper range check
Whoops
2021-04-07 17:26:50 +02:00
Jonathan Hähne
0b2d633e1e Support "catch" scopes 2021-04-07 15:42:33 +02:00
Jonathan Hähne
0e4f4c1e04 Improve testing infrastructure
It should now be a bit easier to set up a test and see how it failed.
2021-04-07 15:10:18 +02:00
Jonathan Hähne
b59db79a05 Refactor makeScopeInternal 2021-04-07 09:21:01 +02:00
Jonathan Hähne
45c7f9671c Merge some cases of resolveTypeOfNodeInternal 2021-04-06 18:38:17 +02:00
Alexandros Naskos
ea1ad532a2
More lastToken improvements 2021-04-06 17:16:50 +03:00
Alexandros Naskos
f6bc380b95
Fixed lastToken for fn_proto_multi nodes 2021-04-05 20:01:03 +03:00
Alexandros Naskos
6d13591d02
Merge branch 'master' of github.com:zigtools/zls 2021-04-05 19:45:12 +03:00
Alexandros Naskos
4b0d86f0bc
Fixed lastToken when called on function prototypes with no return type 2021-04-05 19:44:45 +03:00
Alexandros Naskos
003a7bcb96
Merge pull request #301 from bnjmnt4n/enum/insertText
Add `insertText` field for enum completions
2021-04-05 07:35:03 -07:00
Benjamin Tan
36ea1975bd
Standardize insertText to be above insertTextFormat 2021-04-05 22:27:56 +08:00
Benjamin Tan
33f03d36a5
completion: Add insertText field for enum completions
Another bug with the older version of lsp-mode on Emacs prevents the
label from being inserted when there is an empty `insertText`. This
commit adds an `insertText` property to enum completions for consistency
with the rest of the completion items.
2021-04-05 22:27:56 +08:00
Alexandros Naskos
9ccee0f82f
Updated configuration instructions to include zls config 2021-04-05 17:04:52 +03:00
Alexandros Naskos
49a1528e50
Updated configuration instructions in the README 2021-04-05 17:02:30 +03:00
Alexandros Naskos
6a5664e018
Added build artifact uploads to the github actions CI and removed duplicate READMEs (#300) 2021-04-05 16:58:52 +03:00
Alexandros Naskos
902c91e98f
Pass the correct handle to hasSelfParam in bound type parameter evaluation code 2021-04-05 14:52:41 +03:00
Tau
b03fb5ffe3
Fix stack overflow and clean up a bit of resolveTypeOfNode (#297) 2021-04-05 14:46:05 +03:00
Alexandros Naskos
88d79a769c
Fix session tests 2021-04-05 12:05:11 +03:00
Alexandros Naskos
f4e777ed7b
Fix session tests 2021-04-05 12:03:08 +03:00
Alexandros Naskos
d397f1119e
Merge branch 'master' of github.com:zigtools/zls 2021-04-05 11:59:05 +03:00
Alexandros Naskos
2770321a61
Use a null filterText instead of an empty string by default 2021-04-05 11:58:41 +03:00
Tau
fc51dac30e
Fix stack overflow in resolveUse and int overflow in lookupSymbolGlobal 2021-04-05 01:35:33 +03:00
Alexandros Naskos
4bee4e662b
Made lookupGlobalSymbol start the search from the innermost scope that contains the source index 2021-04-04 15:28:57 +03:00