❇️ Add R language support

Open
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
tooling

Research direction

Start with the linked tree-sitter-r grammar and inspect how existing language parsers are integrated in CodeEditLanguages. Verify the reported syntax-highlighting and symbol-extraction behavior, including R operators and roxygen2 comments, then run the project's existing tests to confirm R support is integrated and working.

Written by the indexing model from the issue text.

Description

Language Name

R

Tree-Sitter Grammar

https://github.com/r-lib/tree-sitter-r

I will work on this

Yes

Additional Info (optional)

R is a widely-used programming language for statistical computing and data analysis. The tree-sitter-r grammar already has SPM support and includes comprehensive syntax highlighting queries.

This would enable R code editing with proper highlighting for functions, variables, operators (including R-specific <-, <<-, |>, pipe operators), keywords, and roxygen2 documentation comments (#').

Implementation is complete and tested - works for extracting symbols by name.

Dominant language
Swift
Stars
133
Forks
56
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodeEditApp/CodeEditLanguages

All issues in CodeEditApp/CodeEditLanguages

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.