Skip to content

Language server allows recognize column's name #814

@ntluong95

Description

@ntluong95

I dont know how possible to implement this feature, as currently the LSP is able to display column name in code completion. What I want is that they have their own token, which allow for syntax highlighting feature. My expectation is to display column name with different color, so when I scan code I can quickly recognize them

Example code

# create a sample data frame
my_data <- data.frame(
  id = 1:5,
  value = c(10, 20, 30, 40, 50)
)

my_data %>% 
  select(id, value) %>% 
  filter(value > 30) 

Expected behavior:
Color for id and value is displayed differently.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions