Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

zigtools

Making free and open-source tooling for Zig users!
Collective - Host: opensource - https://opencollective.com/zigtools - Code: https://github.com/zigtools

selectionRange: include function parameters in the result (#1705)

github.com/zigtools/zls - b37fdc110df37953b4814fa5ffbfd25be854e294 authored 11 months ago by Alex Kladov <[email protected]>
search for include directories in imported modules (#1702)

A Module inherited the include directories of other modules
that it has imported.

github.com/zigtools/zls - abe83cf2291381291d4c20629a5018f124c4bed2 authored 11 months ago by Techatrix <[email protected]>
Merge pull request #1703 from zigtools/techatrix/update-master-18275

update to zig `0.12.0-dev.2138+828d23956`

github.com/zigtools/zls - f726e9e6c9a3fc016e67e4b18e33443e7d562704 authored 12 months ago by Auguste Rame <[email protected]>
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/63143ac2c9186be6d...

github.com/zigtools/zls - 33a07c7ae5e57770463c5082db12258ad879412f authored 12 months ago by Techatrix <[email protected]>
update min zig version

github.com/zigtools/zls - 2ef74332dbfea7528c4f74a3477d8873ee8f0367 authored 12 months ago by Techatrix <[email protected]>
only call `stackFallback(N).get` once

github.com/zigtools/zls - 5220ddde4296e32cbb79f5247fac131fed9a815a authored 12 months ago by Techatrix <[email protected]>
Merge `Type` and `TypeWithHandle` (#1678)

github.com/zigtools/zls - d29a62e5c701d2717ddeeb2cb45b05fa8a4f1c85 authored 12 months ago by fn ⌃ ⌥ <[email protected]>
Merge pull request #1689 from zigtools/techatrix/semantic-token-fixes

semantic token + analysis fixes

github.com/zigtools/zls - 02dd62e173fadb441ce6c20300b7c573f1cc6af1 authored 12 months ago by nullptrdevs <[email protected]>
flake.lock: update inputs (#1699)

github.com/zigtools/zls - 3471da593bc9d979c73b35c516e902c06781310b authored 12 months ago by Hanna <[email protected]>
move global error/enum completions to `completions.zig`

This removes dependency on any LSP types from the DocumentScope and DocumentStore.
Behavior is u...

github.com/zigtools/zls - 82deaadaa8093145a4bdec7badf2cbfea5673f36 authored 12 months ago by Techatrix <[email protected]>
correctly handle comments when creating discard code actions

I've also rewrote the logic in `handleUnusedCapture` to operate on the ast-token level instead o...

github.com/zigtools/zls - 991d69b670cf7f5751d759dedfbdbddf83729752 authored 12 months ago by Techatrix <[email protected]>
simplify `offsets.sourceIndexToTokenIndex`

This function contains a special case when the number of tokens is
under 600 which manually unro...

github.com/zigtools/zls - 9a4746857780ae5915df7f7ca89a393165d9f167 authored 12 months ago by Techatrix <[email protected]>
update to new module system

github.com/zigtools/zls - 3723311702494dbafb02df5a3e00d12a0f6ad8b3 authored 12 months ago by xdBronch <[email protected]>
update known-folders and diffz dependency

https://github.com/ziglibs/known-folders/pull/43
https://github.com/ziglibs/diffz/pull/19

github.com/zigtools/zls - 39429713295c1d3dfb7e13afcb35ab40dac4b897 authored 12 months ago by Techatrix <[email protected]>
handle `std.Build.LazyPath.generated_dirname` in build runner

See https://github.com/ziglang/zig/pull/18371

github.com/zigtools/zls - 540cfc509b7e8664d99965d61b45af8d28e1b358 authored 12 months ago by Techatrix <[email protected]>
update min zig version

github.com/zigtools/zls - 72d71ca9a02397aed897016d3c49c0abdf1d57b8 authored 12 months ago by Techatrix <[email protected]>
improve analysis around generic type function parameters

generic function parameters should now resolve to "unknown"
instead of incorrectly showing `type...

github.com/zigtools/zls - 842e8fc8cef8f6669cd61aac5efbfbb91875067c authored 12 months ago by Techatrix <[email protected]>
remove outdated check for self referential parameter

This check dates back to c8af53ef7a6468e84f11b139cb3757f806085ccd and is no longer needed.

github.com/zigtools/zls - 22b04f48f039f9bf9992afd749d6496cae026842 authored 12 months ago by Techatrix <[email protected]>
fix sorting behavior of ErrorBuilder

github.com/zigtools/zls - d3edf40a05d11cba6c2c68185294af09bb115822 authored 12 months ago by Techatrix <[email protected]>
unescape field identifier when resolving field access

github.com/zigtools/zls - ff658939811405f1b15360a10e862cbccaf8079c authored 12 months ago by Techatrix <[email protected]>
don't clear bound type params in `resolveTypeOfNode`

The current system that resolved generic type parameter
is to put it mildly, ein Verbrechen gege...

github.com/zigtools/zls - 3aa585a1bd50ae858acfff85000f966102f4d51a authored 12 months ago by Techatrix <[email protected]>
fix assertion failure on container field with broken type expression

github.com/zigtools/zls - 5cece56f8338eaae041484c5e5eef33e5bcc97c2 authored 12 months ago by Techatrix <[email protected]>
fix analysis issues related to primitive types (#1684)

I've outlined how I use the InternPool to store types and values here:
https://github.com/zigto...

github.com/zigtools/zls - 5c0bebe449579ce95ec827b0e17ad76b114c165e authored 12 months ago by Techatrix <[email protected]>
make coverage report only informational (#1685)

We shouldn't enforce code coverage targets.
yet...

github.com/zigtools/zls - 01da7f1b9ca73903bdb3a8540d964b11256daa04 authored 12 months ago by Techatrix <[email protected]>
Merge pull request #1594 from zigtools/techatrix/intern-pool

github.com/zigtools/zls - 43a905c8d5e54c22b416f20ae49efae62f85a26f authored 12 months ago by Techatrix <[email protected]>
Merge pull request #1679 from zigtools/techatrix/build-on-save-step

select build on save step

github.com/zigtools/zls - 6564a34fe9d4759444580c2d35289e70f440ac9a authored almost 1 year ago by nullptrdevs <[email protected]>
remove snippets for float and int types (#1681)

github.com/zigtools/zls - f0cb0ea1eb292fc22600691d3d1b8e72d97c3f9c authored almost 1 year ago by xdBronch <[email protected]>
don't use `std.Thread.RwLock.PthreadRwLock`

github.com/zigtools/zls - 7162c330ee850fd9d789c65f24d48b8c5bdeec8f authored almost 1 year ago by Techatrix <[email protected]>
add `anytype` snippet (#1680)

github.com/zigtools/zls - 29cd0bec81fac9093ef51d26e2261b51bf7255b0 authored almost 1 year ago by Ali Chraghi <[email protected]>
fix compile errors on unused InternPool functions

github.com/zigtools/zls - 320cc300d71eef18634c32df6cc97f794a023daa authored about 1 year ago by Techatrix <[email protected]>
add tests for intern pool completions + fixes

covered:
- primitives
- optionals
- pointers
- arrays

github.com/zigtools/zls - 140db6360319473fce14adcc27527493bc69873e authored about 1 year ago by Techatrix <[email protected]>
fix default value in json schema generation

github.com/zigtools/zls - 26981b61c3d2347c38761f96fe7a9322e8cd6bf2 authored about 1 year ago by Techatrix <[email protected]>
update config gen documentation on vscode config generation

github.com/zigtools/zls - bb022d7e5f2c0a97fd5c7661fad0ae0f856e6e38 authored about 1 year ago by Techatrix <[email protected]>
add `build_on_save_step` config option

This allows selecting which step should be executed when running
build-on-save like `zig build i...

github.com/zigtools/zls - a690caf7298d3faaa9636c0f5d8e856397b6df88 authored about 1 year ago by Techatrix <[email protected]>
add config support for non optional strings

github.com/zigtools/zls - a8267abd1c6f6e9c24630b95ee24512a2c45f94f authored about 1 year ago by Techatrix <[email protected]>
stop comptime interpreter from always crashing

Don't worry, it is still going to crash easily (just like ZLS in general)

github.com/zigtools/zls - f70cedba7bd1ba695fbce48f0ec117fe36377969 authored about 1 year ago by Techatrix <[email protected]>
another intern pool rewrite

- new `StringPool`
- most functions now operate on `InternPool.Index` instead of `ÌnternPool.Key...

github.com/zigtools/zls - ecb2f2e1db1441bc62ce035a0c7c468ea95567de authored about 1 year ago by Techatrix <[email protected]>
ErrorBuilder improvements

ErrorBuilder:
- new `unified` option
- new `file_name_visibility` option
- new `removeUnusedFile...

github.com/zigtools/zls - 06e785ccf50aa6081b42a6486111dc7cda63c96c authored about 1 year ago by Techatrix <[email protected]>
add thread safety to InternPool

github.com/zigtools/zls - 8391e8fa9e975a9a912c3c760bf5bcb6bd216def authored about 1 year ago by Techatrix <[email protected]>
update some documentation in InternPool

github.com/zigtools/zls - 201fc031ae008c888549ee902aba490010383e15 authored about 1 year ago by Techatrix <[email protected]>
replace `encoding.zig` with simpler u32 based encoding

github.com/zigtools/zls - d592eaad4b75f55b1cf1eef555689cc9be684a32 authored about 1 year ago by Techatrix <[email protected]>
remove usage of inline else from InternPool.get

github.com/zigtools/zls - 50d20be9f8fb39bcc6f2f8719e29392e65ffd583 authored about 1 year ago by Techatrix <[email protected]>
improve StringPool API, safety and documentation

- more doc comments
- compute string hash before acquiring lock
- add safety check for calling d...

github.com/zigtools/zls - 9a42f5d3d11887f255522987c88d24ea4b11668a authored about 1 year ago by Techatrix <[email protected]>
encode large floats as u32 integers

github.com/zigtools/zls - dab5cb7d417293ab36b37cb7299e033024d7a359 authored about 1 year ago by Techatrix <[email protected]>
remove some unnecessary calls to `@as` builtin

github.com/zigtools/zls - 7cff6bff15074391a589489bd0920bd968525574 authored about 1 year ago by Techatrix <[email protected]>
rework storage of BigInt limbs

github.com/zigtools/zls - be396db7940478d3686fc4dcf7ef8fde6a9ec6d8 authored about 1 year ago by Techatrix <[email protected]>
add `InternPool.Index.Slice` and `InternPool.StringSlice`

github.com/zigtools/zls - ddcd10625e2de88674aca83269ab2420e8a4e5cf authored about 1 year ago by Techatrix <[email protected]>
remove `InternPool.deepEql` and `InternPool.deepHash`

github.com/zigtools/zls - c9de3a059efbebf7c9636f27cff12cb4fb62a0d4 authored about 1 year ago by Techatrix <[email protected]>
add test for `StringPool.getOrPut` on existing string without allocation

github.com/zigtools/zls - 556f95c2b04ebf7c223e69d1e1505c0691a457db authored about 1 year ago by Techatrix <[email protected]>
pack pointer type struct

github.com/zigtools/zls - 03ea94912d92e8e91e8905cdbfeb3ca7e3ecbf71 authored about 1 year ago by Techatrix <[email protected]>
fix looking up `len` on a single pointer to array

github.com/zigtools/zls - 59282d14d0424ea95728048feb7e9d2512871e90 authored about 1 year ago by Techatrix <[email protected]>
add assertions to `InternPool.errorSetMerge`

github.com/zigtools/zls - 08c78958b18e6c1a35c21717b7b0adae5a23dc5c authored about 1 year ago by Techatrix <[email protected]>
detect wrong value for `extra_count` in `InternPool.init`

github.com/zigtools/zls - caf4e054bf63d2cac97f6c562472cb0f8a883acf authored about 1 year ago by Techatrix <[email protected]>
return null when integer doesn't fit in `InternPool.toInt`

github.com/zigtools/zls - 7c917b798946cb5d9926f9b8ec331f8f4a2abfab authored about 1 year ago by Techatrix <[email protected]>
include comptime_float in `InternPool.isFloat`

github.com/zigtools/zls - e6815d0a53c6cb23dc4d1a90ec42a02520e3b6f0 authored about 1 year ago by Techatrix <[email protected]>
move `InternPool.Key` sub-types into `InternPool.Key`

github.com/zigtools/zls - 83c54e6c9b27cf74cb0f04c9c4e08a51de0ee143 authored about 1 year ago by Techatrix <[email protected]>
pack function type struct

github.com/zigtools/zls - 8720d147d93ea0c93a657014530625108f9b5aca authored about 1 year ago by Techatrix <[email protected]>
add TODO for representing arrays and vectors with unknown length

github.com/zigtools/zls - 6129aa2475f64b6d1a30afe98d38c8c6c60dd011 authored about 1 year ago by Techatrix <[email protected]>
fix typo in `InternPool.deepHash`

github.com/zigtools/zls - be3321bb18223ca0bf9630a6588157c2c3495b80 authored about 1 year ago by Techatrix <[email protected]>
avoid calls to `extraData` in `InternPool.typeOf`

github.com/zigtools/zls - 8a852a1820ce1296bc77f4efe7c59bdbb3232c4d authored about 1 year ago by Techatrix <[email protected]>
add a degibberish function for Zig types

We may use this in the future to explain types to new Zig users.

github.com/zigtools/zls - dfd511a4fa52c80fa0382c084d6fc077d220636e authored about 1 year ago by Techatrix <[email protected]>
simplify `InternPool.isUnknown`

github.com/zigtools/zls - a73ca3a782ed80d6328eb7745ac52993c54477eb authored about 1 year ago by Techatrix <[email protected]>
Add some tests for completion snippets (#1676)

github.com/zigtools/zls - adaeabbe1ba888d74309d0a837d4abddc24cf638 authored about 1 year ago by fn ⌃ ⌥ <[email protected]>
Combine doc comments of declaration and definition (#1664)

* Combine doc comments of declaration and definition

github.com/zigtools/zls - 5202edfd709a92525032672103e112359c6d8a1a authored about 1 year ago by fn ⌃ ⌥ <[email protected]>
give filesystem completions on string literals in build files (#1668)

Many string literals in `build.zig` files refer to file system paths so
we can optimistically p...

github.com/zigtools/zls - 46de13c2c34c461406e7b6c79666167c854d2e20 authored about 1 year ago by Techatrix <[email protected]>
move goto and references request handlers out of `Server.zig` (#1670)

* move `referencesHandler` to `features/references.zig`

* move `gotohandler` to `features/got...

github.com/zigtools/zls - 7c27ca5f5bf6af31311206f8d08f7f0f83f17c97 authored about 1 year ago by Techatrix <[email protected]>
update document store documentation (#1667)

* improve documentation on some document-store functions

* fix code example for `translate_c....

github.com/zigtools/zls - c63763e0a8959b2fdca7e9f57ed362ec5277fb27 authored about 1 year ago by Techatrix <[email protected]>
type erase `iterateChildren` and `iterateChildrenTypeErased` (#1669)

This reduced binary size by about 32kb when building ReleaseSmall.

github.com/zigtools/zls - d9fba31f30099f726208bcc9d5509a21adf42d21 authored about 1 year ago by Techatrix <[email protected]>
update bug issue template (#1675)

- combine Steps to Reproduce and Actual Behavior
- add Client / Code Editor / Extensions
- add...

github.com/zigtools/zls - cc2054219a4d1349f4fa008fa93b4def9dfd1a9a authored about 1 year ago by Techatrix <[email protected]>
handle `offsets.positionToIndex` on more characters than line length (#1666)

The LSP specification says the following about the
`character` field of `Position`:
> If the c...

github.com/zigtools/zls - 126d633c4c40a42ad0b33db0f2afcbc560a40e40 authored about 1 year ago by Techatrix <[email protected]>
add autofix comments + diagnostic on discards (#1665)

* enforce a autofix comment when removing/adding discards

* show diagnostic on discard that w...

github.com/zigtools/zls - 091ad12ac49129cc510e1f0eca47f57e8d419168 authored about 1 year ago by Techatrix <[email protected]>
Disable autofix by default (#1657)

github.com/zigtools/zls - 9476a1d47034954367be026b6609062aaefa16ba authored about 1 year ago by Auguste Rame <[email protected]>
completions for re-exported functions (#1656)

closes #423

github.com/zigtools/zls - d1ad449a24ea77bacbeccd81d607fa0c11f87dd6 authored about 1 year ago by Christofer Nolander <[email protected]>
Redundant `inline`s in comptime scope (#1658)

github.com/zigtools/zls - a4c568df71820ed80149066c8b5c2b6a3ac0ab54 authored about 1 year ago by nullptrdevs <[email protected]>
disable autofix for var never mutated (#1652)

* disable autofix for var never mutated

* disable autofix and remove test

github.com/zigtools/zls - 128a161b87f4538e392d0f9b9a73dcf8093e4b5d authored about 1 year ago by xdBronch <[email protected]>
code_actions: autofix unused capture in while loop with continue stat… (#1654)

* code_actions: autofix unused capture in while loop with continue statement

* code_actions: ...

github.com/zigtools/zls - 287156eb15f468d6880169b61bbf89c8ae586df6 authored about 1 year ago by travisstaloch <[email protected]>
Fix JSON union parsing bug (#1653)

See this discussion for more details
https://discord.com/channels/605571803288698900/1181800430...

github.com/zigtools/zls - b45f7a8ae1c257f5298ae3356cf5cb83ff511ea7 authored about 1 year ago by Beyley Thomas <[email protected]>
callsite references related optimizations (#1644)

* don't compute callsite references recursively or in cimports

* don't use callsite reference...

github.com/zigtools/zls - 143b1b2a22b27654338268f58ca7db2d2e7ff6f7 authored about 1 year ago by Techatrix <[email protected]>
Some `.enum_literal` completions fixes (#1638)

github.com/zigtools/zls - b3285004f11b0a5f632a778685dcc8c1fcf50cf9 authored about 1 year ago by nullptrdevs <[email protected]>
only run autofix when invoking manually (#1642)

autofix should not be applied when saving because of
autosave or out of focus.

This applies ...

github.com/zigtools/zls - 5f6fd9837c55d0791bc01d92458f7252a4b615f0 authored about 1 year ago by Techatrix <[email protected]>
fix invalid unwrap when failing to create build file (#1636)

`getBuildFile` may return null when creating the build file failed.

github.com/zigtools/zls - c7e6adc32047877e5a14ad6dfbe9e20666818567 authored about 1 year ago by Techatrix <[email protected]>
Fix "autofix doesn't correctly remove lines when using tabs for indentation" (#1640)

github.com/zigtools/zls - 28efa6db511708f5bce2fea551646078762ef6d5 authored about 1 year ago by nullptrdevs <[email protected]>
Merge pull request #1643 from zigtools/techatrix/remove-mem-copy

update diffz dependency and bump minimum build version

github.com/zigtools/zls - a6dbca28ddb0754c1443f309407ca6c098d01b7f authored about 1 year ago by Auguste Rame <[email protected]>
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/0bd59c54ef06bc34e...

github.com/zigtools/zls - 2259c0db3ae8439c3b140e37fde0f71747821598 authored about 1 year ago by Techatrix <[email protected]>
set minimum build version to `0.12.0-dev.1767+1e42a3de89`

github.com/zigtools/zls - a6786e1c324d773f9315f44c0ad976ef192d5493 authored about 1 year ago by Techatrix <[email protected]>
update diffz dependency

https://github.com/ziglibs/diffz/pull/18

github.com/zigtools/zls - 3d564d8d523ab738e107b4f399691daf87591b4f authored about 1 year ago by Techatrix <[email protected]>
Merge pull request #1634 from zigtools/techatrix/test-coverage

more test coverage + minor fixes

github.com/zigtools/zls - a3145f64a8d4dfbb2e9f5b906405aa00a5c17602 authored about 1 year ago by nullptrdevs <[email protected]>
Fix build errors introduced from latest zig version

github.com/zigtools/zig-lsp-codegen - a98c5722e7cf6a7d2e23792d0748bd63a9bba37e authored about 1 year ago by micah <[email protected]>
fix position context on identifier after parens (#1633)

github.com/zigtools/zls - f16bfd3918358d85e04f297a6fbd20091117dcfa authored about 1 year ago by Techatrix <[email protected]>
test code actions with diagnostics from AstGen instead of ast-check

github.com/zigtools/zls - 3b24343ba2de34987c608b08f0f4c5c6e72064dd authored about 1 year ago by Techatrix <[email protected]>
fix semantic tokens on tagged union with explicitly sized enum

github.com/zigtools/zls - 03b80fe9fae79b5c41b9ab9a82585ddb87c6e065 authored about 1 year ago by Techatrix <[email protected]>
add signature help test for builtin functions

github.com/zigtools/zls - 5b4721c3048955c11d79a9954b8c1d4ab3f2a667 authored about 1 year ago by Techatrix <[email protected]>
add another semantic tokens assembly test

github.com/zigtools/zls - 1f0bd6e926a0315cf2b7912f2cd280c015e43516 authored about 1 year ago by Techatrix <[email protected]>
remove node out of bound check in semantic tokens `writeNodeTokens`

github.com/zigtools/zls - c7b6c1aa706074a0846e9a46249ab612e6196737 authored about 1 year ago by Techatrix <[email protected]>
fix semantic tokens for field access on unknown container or field

github.com/zigtools/zls - 7de10eb5851cf1afeb47c99adf8f4931fb86e1bc authored about 1 year ago by Techatrix <[email protected]>
add semantic tokens test for on try

github.com/zigtools/zls - c5f42032b6808c2968e63e6627aa38bb6af62e64 authored about 1 year ago by Techatrix <[email protected]>
remove unnecessary `@truncate`'s from semantic tokens `addDirect`

`delta.line` and `delta.character` were already a `u32`

github.com/zigtools/zls - b36e739ebbfc9e663195e171a76a3025947c0140 authored about 1 year ago by Techatrix <[email protected]>
add semantic tokens test for container field with align and default init

github.com/zigtools/zls - 289274170f4dd9eb668258a08984b5f31a068188 authored about 1 year ago by Techatrix <[email protected]>
add folding range test for multi switch case

github.com/zigtools/zls - 3e0edfdf03d0d65c5054f61ced5cc89d252a29c5 authored about 1 year ago by Techatrix <[email protected]>
allow testing goto declaration,definition and type definition in one

github.com/zigtools/zls - 467f3c15b369485536c0d5d55c82df1bb3def73e authored about 1 year ago by Techatrix <[email protected]>