Commit Graph

1470 Commits

Author SHA1 Message Date
Alexandros Naskos
54f3590b6d Merge branch 'master' of https://github.com/SuperAuguste/zls into new_pos_context 2020-05-27 13:47:12 +03:00
Alexandros Naskos
a5958caccd Free handles before deleting them from the hashmap 2020-05-27 13:41:50 +03:00
Alexandros Naskos
f3974d2ff2 Removed unneeeded function 2020-05-27 13:09:50 +03:00
Alexandros Naskos
ad8c297a0e
Merge pull request #90 from data-man/kate_with_zls
Add usage instruction with Kate
2020-05-27 12:34:16 +03:00
data-man
33b453578f Add usage instruction with Kate 2020-05-27 12:48:22 +05:00
Alexandros Naskos
d2325df729 Removed comments 2020-05-27 02:00:22 +03:00
Alexandros Naskos
f6df35e069 Reworked position context to use tokenizer, works in more contexts 2020-05-27 01:45:18 +03:00
Alexandros Naskos
3c0ee21337 Removed comment 2020-05-26 21:39:39 +03:00
Alexandros Naskos
a330932b7c Copy scope nodes when cloning an analysis context 2020-05-26 17:19:16 +03:00
Alexandros Naskos
7d5d217e2f Merge branch 'master' of https://github.com/SuperAuguste/zls 2020-05-26 13:30:56 +03:00
Alexandros Naskos
6f23d8a053 Small fixes and code cleanup 2020-05-26 13:30:28 +03:00
Alexandros Naskos
ccb4c4877f
Merge pull request #87 from data-man/st3_fix
Sublime Text 3 fix
2020-05-26 13:16:15 +03:00
data-man
862d9af030 Sublime Text 3 fix 2020-05-26 15:06:13 +05:00
Alexandros Naskos
9bf0842697 Merge branch 'master' of https://github.com/SuperAuguste/zls 2020-05-26 01:52:25 +03:00
Alexandros Naskos
da6f43c46d Go to definition now resolved fn aliases, added hover 2020-05-26 01:51:50 +03:00
Alexandros Naskos
48ad1eccbf Fixed goto import, preparing for hover impl 2020-05-26 00:37:18 +03:00
SuperAuguste
f5b30cfd6c zig build config is here! 2020-05-25 17:12:08 -04:00
Alexandros Naskos
754a982be2 Make capabilities explicit, make hover capability true 2020-05-25 23:15:54 +03:00
Alexandros Naskos
9c931ec715
Merge pull request #83 from alexnask/master
Support custom package imports
2020-05-25 21:04:14 +03:00
Alexandros Naskos
8d9b96e749 Added build file ref counting and freeing 2020-05-25 20:42:58 +03:00
Alexandros Naskos
379891f937 Dont copy the build runner if a file with that name already exists 2020-05-25 20:21:53 +03:00
Alexandros Naskos
b82fb9c790 Added build_runner_path configuration option 2020-05-25 20:04:23 +03:00
Alexandros Naskos
02745f1472 Free build files in document store deinit 2020-05-25 19:49:04 +03:00
Alexandros Naskos
4bf97bebc9 Seems to work, needs cleanup 2020-05-25 19:33:08 +03:00
Alexandros Naskos
5fb68c9dc7 Do not try to find build files in a std and subdirectories 2020-05-25 17:48:25 +03:00
Alexandros Naskos
155c5b2a95 Started working on build file logic 2020-05-25 17:24:44 +03:00
Alexandros Naskos
4542abf145 Check for the existence of zig in PATH in main() 2020-05-25 16:18:00 +03:00
Alexandros Naskos
f008a776e2 Removed debug traces, added comment 2020-05-25 11:30:12 +03:00
Alexandros Naskos
1f23ba8490 Use new build.zig functions to get the correct steps 2020-05-25 11:28:38 +03:00
Alexandros Naskos
3b052372c2 Added custom build runner, install it along with the zls binary 2020-05-25 03:22:39 +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
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