-
Notifications
You must be signed in to change notification settings - Fork 133
Closed as duplicate of#1325
Labels
area: diagnosticsIssues related to DiagnosticsIssues related to Diagnosticsarea: kernelsIssues related to Jupyter kernels and LSP serversIssues related to Jupyter kernels and LSP serversbugSomething isn't workingSomething isn't workinglang: r
Milestone
Description
Currently we inspect the runtime state of the search path to determine if a symbol is in scope. This has all sorts of downsides, the biggest one being that scripts get decorated with distracting diagnostics until the user has evaluated all library calls:
Instead of inspecting the current state of R, we should determine symbols in scope from lexical analysis. This way each line of code will get correct diagnostics independently from the state of the runtime. This will also allow to flag this as problematic even when the user has attached ggplot2:
ggplot(data) # <-- not in scope
library(ggplot2)Part of #2321
philiporlando, dblodgett-usgs, eribul and jennybc
Metadata
Metadata
Assignees
Labels
area: diagnosticsIssues related to DiagnosticsIssues related to Diagnosticsarea: kernelsIssues related to Jupyter kernels and LSP serversIssues related to Jupyter kernels and LSP serversbugSomething isn't workingSomething isn't workinglang: r