Learn R Programming

languageserver (version 0.3.0)

workspace_completion: complete any object in the workspace

Description

This function works by first checking if full_token is of the form object, package::object or package:::object. In the first two cases, it will look into all exported objects of loaded packages (or just package for the second case) and return any mathching objects. For the last case, it will look at the unexported objects of package.

Usage

workspace_completion(workspace, full_token)

Arguments

workspace

a Workspace object

full_token

a character, the object to identify

Value

a list of candidates