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

[REPLCompletions] improved handling of completions #43865

Merged
merged 5 commits into from
Jan 26, 2022

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Jan 19, 2022

Inspired by (replaces) #43572 @Liozou

This tries to improve the REPLCompletions method lookup, replacing a custom implementation with our standard one. It also seeks to improve and fix a variety of other outstanding deficiencies that were previously unhandled.

@vtjnash vtjnash force-pushed the jn/replcompletemethods branch 4 times, most recently from f92dbe2 to 31ce47d Compare January 20, 2022 03:20
NEWS.md Outdated Show resolved Hide resolved
Caused `foo).<tab>` to crash, for example.
Now we can fully handle all type signatures in ml_matches and give back
the complete list (though potentially slowly).
- Restrict method completion to ignore strictly less specific ones
- Fix various lookup bugs
- Improve slurping of final expression

Inspired by #43572
Co-authored-by: Lionel Zoubritzky <lionel.zoubritzky@gmail.com>
@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Jan 24, 2022
@vtjnash
Copy link
Member Author

vtjnash commented Jan 24, 2022

(reviewed in-person with Jeff)

@vtjnash vtjnash merged commit 8bdb045 into master Jan 26, 2022
@vtjnash vtjnash deleted the jn/replcompletemethods branch January 26, 2022 17:37
aviatesk added a commit that referenced this pull request Jan 27, 2022
…ompletion`

`MethodCompletion.tt` is being used by an external consumer like Juno or
VSCode's runtime completion features to get additional information like
return type, etc.
aviatesk added a commit that referenced this pull request Jan 27, 2022
…ompletion`

`MethodCompletion.tt` is being used by an external consumer like Juno or
VSCode's runtime completion features to get additional information like
return type, etc.

Co-Authored-By: Jameson Nash <vtjnash@gmail.com>
aviatesk added a commit that referenced this pull request Jan 28, 2022
…ompletion` (#43946)

`MethodCompletion.tt` is being used by an external consumer like Juno or
VSCode's runtime completion features to get additional information like
return type, etc.
aviatesk added a commit to JunoLab/FuzzyCompletions.jl that referenced this pull request Jan 28, 2022
aviatesk added a commit to JunoLab/FuzzyCompletions.jl that referenced this pull request Jan 28, 2022
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Jan 30, 2022
@vtjnash vtjnash mentioned this pull request Feb 8, 2022
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
… `MethodCompletion` (JuliaLang#43946)

`MethodCompletion.tt` is being used by an external consumer like Juno or
VSCode's runtime completion features to get additional information like
return type, etc.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
… `MethodCompletion` (JuliaLang#43946)

`MethodCompletion.tt` is being used by an external consumer like Juno or
VSCode's runtime completion features to get additional information like
return type, etc.
@KristofferC
Copy link
Member

julia> convert(<TAB>
convert( too many methods to show )

👎

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.

3 participants