Alexandros Naskos
|
f6df35e069
|
Reworked position context to use tokenizer, works in more contexts
|
2020-05-27 01:45:18 +03:00 |
|
Alexandros Naskos
|
48ad1eccbf
|
Fixed goto import, preparing for hover impl
|
2020-05-26 00:37:18 +03:00 |
|
Alexandros Naskos
|
7c5ff5c43d
|
Fix segfault with var params
|
2020-05-25 02:57:19 +03:00 |
|
Alexandros Naskos
|
727b363f7f
|
Fix infinite loop in resolveTypeOfNode
|
2020-05-24 21:01:35 +03:00 |
|
Alexandros Naskos
|
c6fa528af4
|
Store trees in handles
|
2020-05-24 19:00:21 +03:00 |
|
Alexandros Naskos
|
fd069b026a
|
Added hack to support ParamDecl not being a node anymore
|
2020-05-24 17:31:28 +03:00 |
|
Alexandros Naskos
|
594488d7c5
|
Merged master
|
2020-05-24 17:12:13 +03:00 |
|
Alexandros Naskos
|
34ba67b3d1
|
Fixed node iteration:
|
2020-05-24 17:07:48 +03:00 |
|
Alexandros Naskos
|
9ec32ac830
|
We now complete ArrayList!
|
2020-05-24 15:24:18 +03:00 |
|
SuperAuguste
|
dd9ec8e450
|
Fix completion of functions
|
2020-05-23 22:07:09 -04:00 |
|
Alexandros Naskos
|
f5ca94a0d1
|
Merge remote-tracking branch 'zigtools/master' into new_parser
|
2020-05-24 02:08:06 +03:00 |
|
Alexandros Naskos
|
11b5da3a91
|
Now compiles on the new parser branch
|
2020-05-24 01:21:02 +03:00 |
|
Alexandros Naskos
|
5dc7a1b40a
|
Fix @This() completions, do half the work in global completions
|
2020-05-23 23:22:50 +03:00 |
|
Alexandros Naskos
|
c895d7d8f6
|
Go to definition now works for captures
|
2020-05-23 02:58:39 +03:00 |
|
Alexandros Naskos
|
34adb4e22f
|
Added switch to declFromIndex, fixed occasional crash
|
2020-05-23 02:33:42 +03:00 |
|
Alexandros Naskos
|
a189fa171c
|
More declsFromIndex improvements
|
2020-05-23 01:58:47 +03:00 |
|
Alexandros Naskos
|
c3d2aa3434
|
Handle if, while, for, payloads
|
2020-05-23 01:03:41 +03:00 |
|
Alexandros Naskos
|
077a17e2f5
|
Do not add every node when adding decls, just the supported nodes
|
2020-05-23 00:02:26 +03:00 |
|
Vexu
|
af746be770
|
provide goto definition for import strings
|
2020-05-22 18:52:21 +03:00 |
|
Auguste Rame
|
44f33c631b
|
Merge pull request #71 from alexnask/test_block_completions
Test block local completions
|
2020-05-21 09:14:34 -04:00 |
|
Alexandros Naskos
|
26cc339235
|
Add test block local completion support
|
2020-05-21 15:16:45 +03:00 |
|
Alexandros Naskos
|
03f774fda9
|
Try expression support
|
2020-05-21 15:06:16 +03:00 |
|
Alexandros Naskos
|
4acb77f09e
|
enable_snippets is false by default, fix it in README. Small fixes to goto def/decl
|
2020-05-21 14:36:14 +03:00 |
|
Alexandros Naskos
|
6fe52d95b3
|
Added @This() support
|
2020-05-19 18:53:01 +03:00 |
|
Alexandros Naskos
|
8d59de716f
|
Better fn name
|
2020-05-19 16:47:30 +03:00 |
|
Alexandros Naskos
|
07f2138dce
|
Simple generic function support
|
2020-05-19 16:42:36 +03:00 |
|
Sergeeeek
|
06ba823368
|
Removed logs and unused utility function
|
2020-05-19 07:47:23 +03:00 |
|
Sergeeeek
|
4b3cb641c0
|
Fixed wrong node being used when resolving return type of a function
|
2020-05-19 07:39:34 +03:00 |
|
Sergeeeek
|
c4aa35872c
|
Merge remote-tracking branch 'upstream/master'
|
2020-05-19 07:17:28 +03:00 |
|
Alexandros Naskos
|
53da418d11
|
Merge branch 'master' of https://github.com/SuperAuguste/zls into goto_definition
|
2020-05-18 23:20:18 +03:00 |
|
Alexandros Naskos
|
b1ce06a80d
|
Implemented go to definition
|
2020-05-18 23:19:23 +03:00 |
|
Timon Kruiper
|
27034abbaf
|
Also return from getFieldAccessTypeNode when a comma is found.
This allows to get completion support when a function with multiple
arguments is completed.
|
2020-05-18 20:59:44 +02:00 |
|
Alexandros Naskos
|
a017de1679
|
Added a comment
|
2020-05-18 16:22:10 +03:00 |
|
Alexandros Naskos
|
bbe2800139
|
Fixed field completions with partial identifiers after the period
|
2020-05-18 16:21:16 +03:00 |
|
Alexandros Naskos
|
a6a4afd4fd
|
More cleanup:
|
2020-05-18 15:46:17 +03:00 |
|
Alexandros Naskos
|
749a4fcbe4
|
Renamed checkSanity to removeOldImports, use an arena for temporary data.
|
2020-05-18 15:14:16 +03:00 |
|
Alexandros Naskos
|
96672435a7
|
Removed unnecessary copies
|
2020-05-18 14:55:39 +03:00 |
|
Alexandros Naskos
|
e65d3388e4
|
A couple of more changes
|
2020-05-18 14:53:40 +03:00 |
|
Alexandros Naskos
|
4ad33c16f9
|
Fixed crash when field access completing on a local variable from a type coming from an import
|
2020-05-18 14:26:52 +03:00 |
|
Sergeeeek
|
07a44bc0ed
|
Fixed errors after upstream merge
|
2020-05-18 11:37:15 +03:00 |
|
Sergeeeek
|
2c5cc2b48f
|
Merge remote-tracking branch 'upstream/master'
|
2020-05-18 10:34:26 +03:00 |
|
Sergeeeek
|
d79f3bc809
|
Change handles HashMap value type to pointers instead of values themselves
|
2020-05-18 10:28:36 +03:00 |
|
Vexu
|
6e8165804f
|
add completion for arrays and slices
|
2020-05-17 17:27:05 +03:00 |
|
SuperAuguste
|
38213e1322
|
fixed struct init
|
2020-05-17 09:40:20 -04:00 |
|
SuperAuguste
|
7e766e3d8a
|
Merge branch 'master' of https://github.com/SuperAuguste/zls
|
2020-05-17 08:28:09 -04:00 |
|
Sergeeeek
|
0b433815b3
|
Got some aliases working
Can't figure out a bug with document changing in the original context,
which causes further analysis to break.
|
2020-05-17 09:47:48 +03:00 |
|
Alexandros Naskos
|
15a277918f
|
Correctly resolve type of field access
|
2020-05-17 01:30:59 +03:00 |
|
SuperAuguste
|
220d668929
|
local var completion
|
2020-05-16 14:06:48 -04:00 |
|
Sergeeeek
|
8637099d72
|
WIP alias type resolution
|
2020-05-16 18:30:16 +03:00 |
|
Alexandros Naskos
|
a7b9755201
|
Add a space
|
2020-05-16 17:24:41 +03:00 |
|