Skip to content

CodeGraph currently only indexes Python files. I'm working on a large epidemiological research project with 30+ R scripts (.R files) and many Markdown documentation files, but CodeGraph can only see the single Python file in the project. #828

@raf-159357

Description

@raf-159357

Add tree-sitter R language support so CodeGraph can parse .R files and index:

  • Function definitions (function_name <- function(...))
  • Variable assignments (x <- value)
  • Function calls
  • Library imports (library(x), require(x))
  • Source references (source("file.R"))

A simple R file like:

x <- 1
y <- function(a) a + 1
z <- y(x)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions