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

Changes to Textmate scopes

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
r, typescript, vscode
领域
tooling

调研方向

使用报告中的 R 示例,通过 vscode-R 2.8.5 重现 scope 差异,并与升级前的行为进行比较。追踪负责此次变化的 TextMate scope 生成路径或 Rsyntax 升级路径。完成的标准是,<- 左侧的对象等 token 恢复预期的 variable.other.r 和 source.r scope,并恢复主题自定义。

由索引模型根据 Issue 内容生成。

描述

bug

Describe the bug
With v2.8.5, textmate scopes have changed and many tokens only have the 'source.r' scope (related to Rsyntax upgrade?). As a result, themes and customisation are affected with limited ability to fine tune.

To Reproduce

  1. Before upgrading to 2.8.5, observe that object on the left hand side of <- (e.g. dt <- data.table()) have two textmate scopes - variable.other.r and source.r
  2. Upgrade to 2.8.5
  3. Only 1 textmate scope left - source.r

Can you fix this issue by yourself? (We appreciate the help)

Yes / [No]

Expected behavior
Behaviour prior to upgrade where tokens have multiple textmate scope to fine tune customisation.

Environment (please complete the following information):

  • OS: macOS
  • VSCode Version: 1.99.2
  • R Version: 4.4.2
  • vscode-R version: 2.8.5

Thanks

主要语言
TypeScript
星标
1.2k
派生
139
平均合并
22 小时
30 天内合并 PR
23

环境准备

从这里开始

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

REditorSupport/vscode-R 的其他 Issue

查看 REditorSupport/vscode-R 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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