Skip to content

Implement goto-definition, find-references, and rename with oak's symbol resolution #1149

@lionel-

Description

@lionel-

Requires #1141 and #1148. Augmented by #1146.

No need for Salsa here, we can just recompute on the fly for the time being.

Main user-visible behaviour change to discuss: Symbols are resolved from the scope. Currently we just piggyback on the workspace indexer for all files without any scope consideration. For scripts in particular, this means symbols will be isolated, unless you're explicit about the provenance, e.g. by calling source(). We'd also allow declarations like declare(source("foo.R")) in case the side effect of sourcing is not desirable for some reason.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions