Commit Graph

1005 Commits

Author SHA1 Message Date
Luuk de Gram
53c37765c0
Fix inferred error set return types 2021-03-07 18:45:37 +01:00
Luuk de Gram
e2f4bbf2f3
Implement semantic tokens for regular comments 2021-03-07 14:51:47 +01:00
Luuk de Gram
ac8a00342e
All functionalities implemented. Also implemented ability to skip searching for references through std 2021-03-06 20:55:59 +01:00
Luuk de Gram
3d8a9732fc
Calculate correct token locations and ensure all semantic highlighting matches 2021-03-05 22:38:42 +01:00
Luuk de Gram
acc45b4efe
Use the correct tree to display semantic tokens 2021-03-04 22:53:54 +01:00
Luuk de Gram
9224bbd4dc
Implement all of the semantic tokens 2021-03-04 22:30:25 +01:00
Luuk de Gram
08075a1261
Start fixing semantic tokens 2021-03-04 16:14:30 +01:00
Luuk de Gram
a80e9b262e
Implement usingnamespace and fix function snippets 2021-03-04 13:26:11 +01:00
Luuk de Gram
7495aab28b
Start implementing usingnamespace 2021-03-03 21:02:31 +01:00
Luuk de Gram
d7ccf6a3c2
References working for current file 2021-03-03 20:38:52 +01:00
Auguste Rame
487e22d3ce
Merge pull request #239 from jedisct1/remove-tagtype
Regen data for master - @TagType is gone
2021-03-03 13:00:50 -05:00
Luuk de Gram
a699dab2f7
Referencing fixes and more 2021-03-03 16:34:24 +01:00
Frank Denis
3431b7afaa Regen data for master - @TagType is gone 2021-03-03 13:46:23 +01:00
Luuk de Gram
92adeb8826
Completion fixes 2021-03-02 22:01:13 +01:00
Luuk de Gram
1dd39914ec
Hovering fixes 2021-03-02 15:32:38 +01:00
Luuk de Gram
c8a2467fac
Compiles without errors. Still needs improvement 2021-03-01 22:18:38 +01:00
Luuk de Gram
ada0d13ba9
Fix symbolReferencesInternal 2021-03-01 19:34:28 +01:00
Luuk de Gram
e82ea30e6f
Last fixes in src/analysis.zig 2021-03-01 16:30:43 +01:00
Luuk de Gram
4645638434
Fixes and completions 2021-03-01 16:02:24 +01:00
Luuk de Gram
1c9da7053c
More type resolving 2021-03-01 14:32:19 +01:00
Luuk de Gram
b651a79380
Type resolving fixes 2021-02-28 21:57:15 +01:00
Luuk de Gram
96fcac89a4
Complete resolveTypeOfNodeInternal 2021-02-28 20:37:21 +01:00
Luuk de Gram
b175a01fce
Progress in resolveTypeOfNodeInternal 2021-02-28 17:42:34 +01:00
Luuk de Gram
709c1a70fd
Implement makeScopeInternal logic 2021-02-28 13:09:10 +01:00
Luuk de Gram
5f5d6ce4ea
Progress in makeScopeInternal 2021-02-27 21:55:39 +01:00
Luuk de Gram
72605c7549
A lot of fixes 2021-02-27 16:38:06 +01:00
Luuk de Gram
0133f0d863
First set of changes to work with new std's ast 2021-02-26 21:26:52 +01:00
Stephen Gutekanst
6bffbd034d
README: describe how to quickly install ZLS
I have had these commands in my personal docs for a while now because I find them useful when setting up the Zig language server, especially because remembering the right tar options and that `xz` needs to be installed can be difficult to recall. I thought maybe they'd make a good addition to the README.
2021-02-21 15:03:55 -07:00
Alexandros Naskos
a886ecddd9
Fixed for zig master 2021-02-15 12:04:22 +02:00
Alexandros Naskos
fa496936f5
Always find the closest existing candidate build file before looking in the directory structure 2021-01-31 12:35:08 +02:00
Alexandros Naskos
ca6598572e
Reworked the build file searching method
Instead of looking for any existing build file in the store that fits
  in the directory structure of a new document, we now always look
  for the closest build.zig file in the directory structure.
2021-01-31 12:24:55 +02:00
Alexandros Naskos
1408aa733b
Merge pull request #227 from matipan/languageclient-neovim
Add instructions for LanguageClient-neovim
2021-01-31 11:54:15 +02:00
Matias Pan
8998c342b8 Add instructions for LanguageClient-neovim 2021-01-30 14:44:08 -03:00
Alexandros Naskos
c98c44460c
Fixed session tests 2021-01-28 11:20:13 +02:00
Alexandros Naskos
004c935c89
Merge pull request #226 from S0urc3C0de/master
Update to latest zig.
2021-01-28 11:11:42 +02:00
S0urc3C0de
acab137c99 Update to latest zig.
Fix change for changing zig.ast name attribute to be optional.
2021-01-27 21:53:02 +01:00
Alexandros Naskos
6a66a7eb43
Merge pull request #221 from GrayJack/highlight-patch0
Semantic Highlight changes
2021-01-17 12:34:31 +02:00
GrayJack
30e3572cee
Rename tagField to enumMember 2021-01-16 03:46:35 -03:00
GrayJack
4f5af38031
Use declaration modifier instead of definition 2021-01-16 03:33:35 -03:00
Alexandros Naskos
2a968f51d7
Merge pull request #218 from nyaa8/github-readme
GitHub README improvements and assets clean-ups
2021-01-15 11:26:58 +02:00
nyaa8
03ce7a07e1
Update the Zigtools badge
* It's fully vectorized now
    - replaced the raster logo of Zigtools with an SVG remake
    - made it more similar to the one provided by GitHub CI
* Doesn't rely on shields.io anymore
* Left the text as is, without converting it to paths to make editing it easier
2021-01-15 04:45:05 +01:00
nyaa8
15c590bc57
Optimize the ZLS logo
* Removed unnecessary metadata left by Inkscape
* Cleaned up <font> tag by removing redundant properties
2021-01-15 04:21:43 +01:00
nyaa8
3cf1beab4d
Make use of a special .github directory for README
* Moved .assets to .github/assets, as they are supposed to be used in web-based
  viewers
* Removed images from the project level README file

Utilizes GitHub's features for a special directory ".github". GitHub overrides
the project level README if it finds one in the ".github" directory, allowing to
make a separate READMEs for terminals and the web.
2021-01-15 03:58:31 +01:00
Alexandros Naskos
87b7954669
Fixed semantic token hihglighting issue when a regular comment was following a doc comment 2021-01-12 14:05:08 +02:00
Alexandros Naskos
e7f8a8dcd9
zls will now run the package extraction build runner without copying it
in the destination folder. Instead, it will use a specific cache folder
  and run from the default cwd it was run from.
Added build_runner_cache_path to the configuration file.
2021-01-12 13:10:51 +02:00
Auguste Rame
e1ec1ac12d
Merge pull request #217 from truemedian/patch-1
fix inStream deprecation
2021-01-10 21:29:19 -05:00
Nameless
966a6068cc
fix inStream deprecation 2021-01-10 19:49:21 -06:00
Auguste Rame
25faf150be
Merge pull request #216 from katesuyu/update-zinput
Update zinput version
2021-01-10 12:13:28 -05:00
Kate Tsuyu
44c93d5454
update zinput version 2021-01-10 12:02:00 -05:00
Auguste Rame
797c018d57
Merge pull request #215 from vesim987/master
Fix inStream/outStream removal
2021-01-10 10:58:38 -05:00