Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css 颜色提示丢失 #4980

Open
VioSea-hub opened this issue Nov 4, 2024 · 2 comments
Open

css 颜色提示丢失 #4980

VioSea-hub opened this issue Nov 4, 2024 · 2 comments
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🍰 p2-nice-to-have

Comments

@VioSea-hub
Copy link

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和中文语言包没有其他扩展

@KazariEX
Copy link
Collaborator

KazariEX commented Nov 4, 2024

你看看消失之后在文件里随便输入一些字符会不会恢复。

@VioSea-hub
Copy link
Author

这个方法确实可以,但是但是我重启VS Code重复之前的操作提示还是会消失

@KazariEX KazariEX added bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🍰 p2-nice-to-have and removed pending triage labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🍰 p2-nice-to-have
Projects
None yet
Development

No branches or pull requests

2 participants