Skip to content

package::function() autocompletion doesn't include re-exported functions #590

@francisbarton

Description

@francisbarton

In RStudio, I can use autocomplete to complete function names such as:

purrr::set_names() and rvest::read_html().

These are functions that belong originally to other packages (rlang and xml2 respectively in these examples) but are also exported from purrr and rvest.

In R in VSCode, if I try to autocomplete rvest:: I don't get read_html() as a dropdown option. I can only get it by starting with xml2::. Is there a way that languageserver could read in these borrowed functions as options for autocomplete?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions