Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zigtools/zls
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: zigtools/zls
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: nullptrdevs/c012
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 17 commits
  • 12 files changed
  • 3 contributors

Commits on Apr 14, 2024

  1. Splice zig's parser into zls

    llogick committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    7267c43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d08b25a View commit details
    Browse the repository at this point in the history
  3. parser: port upstream changes

    llogick committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    6f53d5a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f51b5b8 View commit details
    Browse the repository at this point in the history
  5. parser: Handle .{.{. ,. .el}}

    llogick committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    3a9ce24 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ee2daf9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    37f77e2 View commit details
    Browse the repository at this point in the history
  8. completions: add result type based completions for builtin arguments

    When writing arguments to builtins like `@Type`, even when using
    inferred initialization syntax (i.e. `@Type(.{ .`), completions are now
    provided. This case is detected in exactly the same way as the
    corresponding case for a normal function argument.
    
    This logic has been implemented for the following builtins, since they
    use a non-trivial type from `std.builtin`:
    * `@Type`
    * `@typeInfo`
    * `@src`
    * `@setFloatMode`
    * `@prefetch`
    * `@reduce`
    * `@export`
    * `@extern`
    * `@fence`
    * `@cmpxchg*`
    * `@atomic*`
    mlugg authored and llogick committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    6641e70 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2451c69 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    96682be View commit details
    Browse the repository at this point in the history
  11. Tighten up getSwitchOrStructInitContext

    The previous logic was very forgiving and imprecise
    llogick committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    af9a75d View commit details
    Browse the repository at this point in the history
  12. add completions for parameters of 'keyword functions'

    eg `addrspace` and `callconv`
    llogick committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    8ef20d4 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d0121e7 View commit details
    Browse the repository at this point in the history
  14. dot completions: (partial) exclude fields/cases

    This excludes fields/switch cases that precede the current source_index, ie
    
    ```zig
    S{
        .a = 1,
        .b = 2,
        . // ^--- excluded from completions list
        .fields_here = 3,
        .are_shown = 4,
    };
    ```
    llogick committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    a5df1d0 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    13fcf59 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9d52a51 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8d1b8cf View commit details
    Browse the repository at this point in the history
Loading