posit-dev / posit-dev/positron

R: Consider ignoring `.o` and `.so` files in the file explorer

Open
#2,941 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

You can do that with this setting

    "files.exclude": {
        "**/*.o": true,
        "**/*.so": true
    }

We would also include whatever the Windows equivalent of .so is.

This would probably be a positron-r configuration setting. I'm trying to think of a way that we can make it only apply to the src/ folder of an R package, but I'm not sure how.

These files are generally just pretty noisy and we never show them in RStudio

Screenshot 2024-04-30 at 3 05 31 PM Screenshot 2024-04-30 at 3 05 19 PM

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 with the files.exclude setting and the file explorer behavior described in the issue. Determine how a Positron-R setting could limit exclusion to an R package's src/ folder, include the Windows shared-library extension, and verify that the resulting explorer no longer shows these files.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
desktop, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.