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

avoid returning empty completion when aborting to not have it inline directories #3917

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

KristofferC
Copy link
Sponsor Member

Should fix #3916 (haven't tested)

@kimikage
Copy link

kimikage commented Jun 5, 2024

I believe I still lack the composure to review this PR.

As a matter of fact, my REPL did not hint "Documents/" when "Doc" was typed, and hinted "DocumenterTools" when "DocumenterT" was typed.
pkg_3917

@KristofferC KristofferC merged commit 7f6eb8b into master Jun 13, 2024
7 checks passed
@KristofferC KristofferC deleted the KristofferC-patch-8 branch June 13, 2024 10:35
KristofferC added a commit that referenced this pull request Jun 13, 2024
…complete directories (#3917)

(cherry picked from commit 7f6eb8b)
@kimikage
Copy link

kimikage commented Jun 24, 2024

This is definitely an improvement, but I realized that this is not a perfect solution after looking at JuliaLang/julia#54906 (unrelated to this PR).

If you type "add Cha", "ChainRules" and "ChainRulesCore" will be candidates, and "ChainRules" will be displayed as a hint. Given the existence of "Chairmarks", the hint is somewhat misleading.

@KristofferC
Copy link
Sponsor Member Author

KristofferC commented Jun 24, 2024

I didn't know that the inline auto complete did partial completions like that. I even thought I tried it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent preference of local directories over package names in auto hints
2 participants