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

Autocomplition of :: items does not work with help function: ? #478

Open
ltuijnder opened this issue May 24, 2024 · 0 comments
Open

Autocomplition of :: items does not work with help function: ? #478

ltuijnder opened this issue May 24, 2024 · 0 comments

Comments

@ltuijnder
Copy link

When typing in the console: {packageName}:: one then gets a list of items within the package namespace to possibly autocomplete on. Super handy!

Often when I am interactive developing I also want to check the documentation of a package function. So I start typing ? and then {packageName}:: but now the autocompletion does not show up. And when I start typing it as if it "reset" and starts autocompleting again on general items. See the screenshot example below:

Screenshots:

without ?

Correct autocompletion when typing tinytest::test
image

With ?:

After typing ?tinytest::test it starts autocompletion only based on the word "test" and it wants to autocomplete on the installed package testthat:

image

My current workaround is for me to type the literal ? function call:

`?`({packageName}::)

Probably the weird syntax of ? is making the autocompletion break.

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

No branches or pull requests

1 participant