Commit Graph

440 Commits

Author SHA1 Message Date
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
d6513456c1 Keep old scope nodes onContainer 2020-05-24 19:26:46 +03:00
Alexandros Naskos
075c364767
Merge pull request #79 from alexnask/new_parser
Store trees in handles, reparse on text changes.
2020-05-24 19:21:41 +03:00
Alexandros Naskos
5b86c13d08 Merge branch 'master' of https://github.com/SuperAuguste/zls into new_parser 2020-05-24 19:19:04 +03:00
Alexandros Naskos
c6fa528af4 Store trees in handles 2020-05-24 19:00:21 +03:00
SuperAuguste
53dcf8a35e readmefix 2020-05-24 11:56:51 -04:00
Auguste Rame
7f599bef2e
Merge pull request #78 from data-man/patch-1
Add usage instruction with Sublime Text 3
2020-05-24 11:47:50 -04:00
Dmitry Atamanov
637814e9d1
Add usage instruction with Sublime Text 3 2020-05-24 20:45:09 +05:00
Alexandros Naskos
fbcf2abfd2
Clarify why we use zig master branch. 2020-05-24 17:34:27 +03:00
Alexandros Naskos
66fdbc0b7c
Merge pull request #77 from alexnask/new_parser
We now compile on zig master with the new parser changes
2020-05-24 17:33:26 +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
40e1e8843c Added timing information output 2020-05-24 15:39:40 +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
Auguste Rame
ac485f65f8
Merge pull request #75 from alexnask/master
Fix @This() completions, do half the work in global completions
2020-05-23 17:41:08 -04:00
Alexandros Naskos
22b5d2e2c3 Pass the arguments in the correct order dummy 2020-05-24 00:15:35 +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
30cb9e06e4 Complete non-pub declarations in the same module 2020-05-23 16:14:03 +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
d4871914ea Removed debug traces 2020-05-23 00:05:16 +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
Auguste Rame
39bbf9c8bc
Merge pull request #73 from Vexu/str
Add goto definition support for import strings
2020-05-22 13:49:37 -04:00
Vexu
2841c864bc
uriFromImportStr ignore packages for now 2020-05-22 18:56:57 +03:00
Vexu
af746be770
provide goto definition for import strings 2020-05-22 18:52:21 +03:00
Auguste Rame
ef7dea8104
Merge pull request #72 from alexnask/master
Check that the goto definition cursor is within bounds
2020-05-21 14:03:55 -04:00
Alexandros Naskos
ccc923e2f0 One more fix 2020-05-21 21:02:12 +03:00
Alexandros Naskos
2eab5e036d Check that the goto definition cursor is within bounds 2020-05-21 20:51:03 +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
Auguste Rame
3169202d88
Merge pull request #70 from alexnask/try_expr
Try expression support
2020-05-21 09:14:10 -04:00
Auguste Rame
584a441327
Merge pull request #69 from alexnask/master
Small fixes
2020-05-21 09:12:30 -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
Auguste Rame
cffe4af27e
Merge pull request #63 from iansimonson/readme_update_submodules
Update README to specify --recurse-submodules
2020-05-19 20:56:32 -04:00
Ian Simonson
6a6b379675 Update README to specify --recurse-submodules
ZLS now uses known-folders via submodules and
no longer builds unless that submodule is initialized.
2020-05-20 10:44:37 +10:00
SuperAuguste
75f1aa5780 fix workspace folder bug 2020-05-19 16:24:24 -04:00
Auguste Rame
7939dc5185
Merge pull request #62 from alexnask/master
Added workspace folder and local configuration folder config support
2020-05-19 15:50:12 -04:00
Alexandros Naskos
804fa1b024 github workflow fix? 2020-05-19 22:39:55 +03:00
Alexandros Naskos
aab11f5df9 github workflow fix? 2020-05-19 22:38:13 +03:00
Alexandros Naskos
61b8fd5259 Moved a calculation out of a loop 2020-05-19 22:33:15 +03:00
Alexandros Naskos
558f5d5067 Updated README 2020-05-19 22:22:02 +03:00
Alexandros Naskos
7dcbc39d59 Added workspace folder support, read configs from there, use known-folders 2020-05-19 22:09:00 +03:00