VS 代码包含强调项但没有错误 [英] VS code containes emphasized items but no error

查看:102
本文介绍了VS 代码包含强调项但没有错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用 VS 代码编写一个 React 项目.我在 VS 代码中遇到了这个问题.在我的项目中,此文件夹显示包含强调的项目,我知道这意味着我的文件中存在错误.但在图片中

I'm writing a React project in VS code. I met this problem in VS code. In my project, this folder shows Contains emphasized items and I know it means there is a error in my files. But in the picture

,

我检查了所有文件,但没有发现错误.所以这让我感到困惑.

I have checked all files but no error found. So this makes me feel confused.

我在谷歌搜索过这个问题,发现了一个类似的 github 问题.https://github.com/Microsoft/vscode/issues/54960

I have search this problem in google and found a similiar github issue. https://github.com/Microsoft/vscode/issues/54960

希望有人能帮助我.谢谢

Hope someone can help me. Thanks

推荐答案

用git提交一次即可解决.

Committing once with git can be resolved.

这篇关于VS 代码包含强调项但没有错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆