Skip to content

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

@ltuijnder

Description

@ltuijnder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions