REditorSupport / REditorSupport/vscode-R

Migrating ~/vscode-R directory to XDG appropiate locations - Linux

Open
#1,480 0 comments 1 reaction 1 assignee View on GitHub

@ElianHugh is already working on this.

Since Feb 14, 2024.

feature-request
Dominant language
TypeScript
Stars
1.2k
Forks
139
Avg merge
2h 46m
Merged PRs (30d)
5

Description

Is your feature request related to a problem? Please describe.
The home folder is populated by the vscode-R folder containing all the data for the extension, with the main drawback of cluttering it.

Describe the solution you'd like
Following the XDG specification (more readable version of the spec in the arch wiki article)
is a very popular and generally recommended way to handle program related configuration, cache, and data.

Describe alternatives you've considered
I am not entirely sure what the contents of the directory are. There's also the possibility of just moving the entire folder into one somewhat appropiate XDG folder such as XDG_DATA_HOME or XDG_STATE_HOME and just leaving the entire thing there. This solves the annoying folder in the home directory and requires, I presume, significantly less development effort.

Additional context
Related issues: #495 is the earliest, citing the spec. Later, #1149, leading to more conversation. It seems there is some consensus around doing this.

For a Windows version of this, this stack overflow answer gives some options, and for MacOS there is this other SO answer, though I do not know their state of affairs.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.