[Bug/Enhancement] No highlight when selecting snippet placeholder
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- vscode
- 领域
- design
调研方向
使用 Dracula 主题和包含 $1 占位符的 snippet,在 VS Code 中复现该问题。检查主题配置中与选择相关的颜色,并验证在编辑 snippet 时,选中的文本在视觉上与周围文本有所区别。
由索引模型根据 Issue 内容生成。
描述
Description
When using the Dracula theme in VS Code, snippet placeholders (e.g. $1) can be filled normally. However, when selecting the inserted text with Shift + ←/→, the selected part has no visual distinction from the surrounding text. It looks like the selection is not applied.
https://github.com/user-attachments/assets/23ff244a-0c91-47c0-bcc0-804c4ab54f1c
https://github.com/user-attachments/assets/d7ded54e-fcff-4d85-bdeb-2958c51fd28f
Steps to Reproduce
- Enable the Dracula theme in VS Code.
- Insert a user snippet containing a
$1placeholder. - Type into the
$1position. - Use
Shift + ←/→to select the text. - Observe the selection effect.
Expected Behavior
The selected text should be visually highlighted and clearly distinguished from the surrounding text.
Actual Behavior
The selected text has no visible highlight, making it indistinguishable from unselected text.
- 主要语言
- JavaScript
- 星标
- 880
- 派生
- 225
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dracula/visual-studio-code 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
dracula/visual-studio-code#287 · 6 条评论 · 3 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 38/100
dracula/visual-studio-code#286 ·
-
难度 3/5 1-2 天 新手友好度 35/100
dracula/visual-studio-code#285 ·
-
难度 3/5 1-2 天 新手友好度 42/100
dracula/visual-studio-code#283 · 2 条评论 · 1 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 25/100
dracula/visual-studio-code#280 ·
查看 dracula/visual-studio-code 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
Spomky-Labs/pwa-bundle#476 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
c1overzz/dsh-bili-scroll#35 ·
维护者通常 1 天内回复
-
needs triage
难度 2/5 1-3 小时 新手友好度 68/100
pbakaus/impeccable#1077 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复