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 |
|
Alexandros Naskos
|
5a2043ded5
|
Fixed the build for the latest std.zig parser fixes
|
2020-05-16 17:21:42 +03:00 |
|
Vexu
|
3111627923
|
parsing now always results in a AST
|
2020-05-15 14:21:29 +03:00 |
|
Auguste Rame
|
8468207da3
|
Merge pull request #23 from Vexu/err
Implement completion for error sets
|
2020-05-14 13:46:15 -04:00 |
|
Vexu
|
a739bf6499
|
implement completion for error sets
|
2020-05-14 20:45:26 +03:00 |
|
SuperAuguste
|
86a1edf9c7
|
Remove more redundant code, rename function
|
2020-05-14 12:23:26 -04:00 |
|
SuperAuguste
|
58015dcd64
|
Remove dead code
|
2020-05-14 12:16:06 -04:00 |
|
SuperAuguste
|
40235cbdbb
|
fix field access type
|
2020-05-14 12:14:35 -04:00 |
|
Vexu
|
db6407ea3b
|
implement getDocComments for rest of named nodes with docs
|
2020-05-14 19:08:00 +03:00 |
|
Alexandros Naskos
|
ca0bc205e4
|
Fixed crash with enum fields
|
2020-05-14 15:15:27 +03:00 |
|
Alexandros Naskos
|
f5e4586c76
|
Detect import removal and decrement document referece count
|
2020-05-14 14:51:07 +03:00 |
|
Alexandros Naskos
|
112d38e7fa
|
Fixed crash in snippet generation of varargs functions
|
2020-05-14 13:57:55 +03:00 |
|
Alexandros Naskos
|
6db3c74550
|
Renamed import context to analysis context, added arena for temporary allocations while analyzing
|
2020-05-14 12:23:20 +03:00 |
|
Alexandros Naskos
|
7a8a4e1ec5
|
Fixed crash when completing import with dot access
|
2020-05-14 12:12:04 +03:00 |
|
Alexandros Naskos
|
95b6e6cd6a
|
Fixed relative URI code, get latest tree in analysis
|
2020-05-14 05:14:37 +03:00 |
|
Alexandros Naskos
|
31f1d2fa3e
|
First draft of imports
|
2020-05-14 04:54:05 +03:00 |
|
Alexandros Naskos
|
307dceb703
|
Preparation for imports, abstracted document hashmap into a document storage type
|
2020-05-14 02:10:41 +03:00 |
|
Alexandros Naskos
|
be95849a15
|
Added pointer type resolution
|
2020-05-13 22:35:14 +03:00 |
|
Alexandros Naskos
|
0e0789b2d5
|
Unified completions into a function, small snippet improvement
|
2020-05-13 20:30:57 +03:00 |
|
SuperAuguste
|
e9b5bf433e
|
Add function completion, fix function snippet generation
|
2020-05-13 11:59:44 -04:00 |
|
Auguste Rame
|
adbcaefe26
|
Merge pull request #14 from SuperAuguste/completion
Start implementing completion
|
2020-05-13 11:44:07 -04:00 |
|
SuperAuguste
|
dc292e74ee
|
null bug fixes
|
2020-05-13 11:43:28 -04:00 |
|
SuperAuguste
|
a3067f88b1
|
Add new analysis engine
|
2020-05-13 09:03:33 -04:00 |
|
Alexandros Naskos
|
aacad999c4
|
Made function snippet generation better.
|
2020-05-12 19:59:16 +03:00 |
|
SuperAuguste
|
d0837ffc51
|
Start implementing completion
|
2020-05-11 08:28:08 -04:00 |
|
Alexandros Naskos
|
f25dade27d
|
Removed comments
|
2020-05-09 05:43:17 +03:00 |
|
Alexandros Naskos
|
e46135cb68
|
Added snippet completion for global functions, fixed no snipper completion.
|
2020-05-09 05:38:08 +03:00 |
|
Alexandros Naskos
|
29b0045bc7
|
Detect type functions and require PascalCase, require camelCase for the rest
|
2020-05-08 18:01:34 +03:00 |
|
Alexandros Naskos
|
0283222e3a
|
Added build option to enable the leak counting allocator.
Log the allocation count to the client at the end of the main loop.
Fixed two memory leaks in analysis.zig
|
2020-05-07 12:50:25 +03:00 |
|
SuperAuguste
|
5bd790f416
|
basic stylistic linter
|
2020-05-03 22:17:19 -04:00 |
|
SuperAuguste
|
b0e21bf82c
|
hotfix
|
2020-05-03 17:27:37 -04:00 |
|
SuperAuguste
|
738a9be0cc
|
added function comments and signature
|
2020-05-03 17:27:08 -04:00 |
|
SuperAuguste
|
a0ff26cc8f
|
init
|
2020-04-24 18:19:03 -04:00 |
|