-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
repl: add completion preview #30907
Closed
Closed
repl: add completion preview #30907
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
19dac98
repl: remove dead code
BridgeAR c65f3f1
repl: simplify repl autocompletion
BridgeAR ec47482
repl: simplify code
BridgeAR 43ae689
readline: update ansi-regex
BridgeAR 1426e6c
repl,readline: refactor common code
BridgeAR 42d3590
repl,readline: refactor for simplicity
BridgeAR ca14259
repl: improve completion
BridgeAR 1cbef42
repl: add completion preview
BridgeAR 707cba4
repl: fix preview bug in case of long lines
BridgeAR ca4c894
test: add multiple repl preview tests
BridgeAR 0cd4153
fixup: repl: add completion preview
BridgeAR 2138fd7
fixup: test: add multiple repl preview tests
BridgeAR File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that mean the default is
true
if terminal is truthy andfalse
ifterminal
is falsy? If that's the case then I think the text can be clarified a little, but that's a nit and not a blocking comment.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's actually not only about the default. If the terminal is false, the preview is always deactivated. I am happy for suggestions to better word this :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe instead of this
...this?: