Skip to content

Add the ability to define custom completers to the parsed_cmd template #10007

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

Merged

Conversation

jimingham
Copy link

If your arguments or option values are of a type that naturally uses one of our common completion mechanisms, you will get completion for free. But if you have your own custom values or if you want to do fancy things like have break set -s foo.dylib -n ba<TAB> only complete on symbols in foo.dylib, you can use this new mechanism to achieve that.

(cherry picked from commit 04b443e)

…e. (llvm#109062)

If your arguments or option values are of a type that naturally uses one
of our common completion mechanisms, you will get completion for free.
But if you have your own custom values or if you want to do fancy things
like have `break set -s foo.dylib -n ba<TAB>` only complete on symbols
in foo.dylib, you can use this new mechanism to achieve that.

(cherry picked from commit 04b443e)
@jimingham jimingham requested a review from a team as a code owner February 11, 2025 22:16
@jimingham
Copy link
Author

@swift-ci please test

@jimingham
Copy link
Author

I have to regenerate the static LLDBWrapPython.cpp & lldb.py files.

@jimingham
Copy link
Author

@swift-ci please test

@JDevlieghere JDevlieghere merged commit 13aafb2 into swiftlang:stable/20240723 Feb 13, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants