Skip to content

css 颜色提示丢失 #4980

Closed
Closed
@VioSea-hub

Description

@VioSea-hub

Vue - Official extension or vue-tsc version

v2.1.10

VSCode version

1.91.1

Vue version

3.4

TypeScript version

System Info

No response

package.json dependencies

{ "name": "testcolor", "private": true, "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview" }, "dependencies": { "vue": "^3.4.31" }, "devDependencies": { "@vitejs/plugin-vue": "^5.0.5", "vite": "^5.3.4" } }

Steps to reproduce

我示例项目是用vite创建的默认模版,直接使用 git init 然后在Vscode 右侧 ‘源代码管理’中查看 文件差异,查看过后css 色块提示就没了,只能重启VS code 才行
操作过程: vite 创建项目>根目录执行git init>打开VS Code 左侧源代码管理>点击文件查看差异> css 颜色色块提示消失

image
image
执行完第二张图的步骤,再返回回去文件提示就没了,需要重启VSCode才能再次出现

What is expected?

css #fff 等正确显示颜色

What is actually happening?

使用源代码管理中的比较差异之后色块提示消失
image

Link to minimal reproduction

No response

Any additional comments?

只安装了 Vue - Official和中文语言包没有其他扩展

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions