Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#1,480 0 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

这个 Issue 还没有评估数据。

描述

feature-request

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.

主要语言
TypeScript
星标
1.2k
派生
147
平均合并
1 天 7 小时
30 天内合并 PR
75

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

REditorSupport/vscode-R 的其他 Issue

查看 REditorSupport/vscode-R 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。