Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add test codebase for shell completions #14681

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Oct 13, 2024

  1. refactor: Make custom completers testable and reuse `new_gctx_for_com…

    …pletions`
    
    Passing `cwd` to custom completion functions makes that we could generate completions in the template project.
    shannmu committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    e1e43f4 View commit details
    Browse the repository at this point in the history
  2. test: Add a test codebase for shell completions

    - Add an empty template project, which is used for building test cases
    - Add a format function used for completions result
    shannmu committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    ae0363c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9d09f0 View commit details
    Browse the repository at this point in the history
  4. test: Add test case for get_example_candidates

    - Sort the order of example candidates by the way
    shannmu committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    64b9b0d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    95d9be2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9ebdd49 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1ba0169 View commit details
    Browse the repository at this point in the history