posit-dev / posit-dev/positron

ark: configure project with external sources

Open
#29 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: kernels lang: r
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

More of a nice-to-have, but it would be handy if we could tell Positron where the R sources live, so that Cmd + Clicking on e.g. rnorm opened the source in the stats package for that function, rather than the deparsed function body.

We could imagine something similar for users who are working on multiple R packages at once, where e.g. following the definition for dplyr::mutate() would look for a definition in some folder that we've been asked to index.

Contributor guide

Open the contributing guide

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.

Research direction

Start by tracing how Positron currently resolves Cmd-click definitions for R symbols and how project settings are loaded. Determine where external R source folders and package-indexing roots would be configured, then verify that rnorm and dplyr::mutate() resolve to source files rather than deparsed function bodies.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.