Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS code containes emphasized items but no error

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 an error in my files. But in the picture:

vs code project,

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

I have searched this problem on google and found a similar GitHub issue. https://github.com/Microsoft/vscode/issues/54960

Hope someone can help me.

like image 518
KimYu Avatar asked Dec 17 '19 02:12

KimYu


People also ask

What is the meaning of Contains emphasized items?

The message "Contains Emphasized Items" means that there is any kind of decoration in any of the children. The color of the dot is the one with the highest priority, usually errors or warnings.

How do I disable source control in Visual Studio?

In the Project Explorer, select the file to remove. If you select a folder, project, or solution, any eligible child items will also be removed. choose Source Control > Remove or press Ctrl+R, R.

How do I ignore warnings in VS Code?

To disable TypeScript warnings in VS Code, we can set a few options in our VS Code settings to disable them. { //... "typescript. validate. enable": false, "javascript.

Why my VS Code is not working?

Try uninstalling and reinstalling VS Code. If code is still not found, consult the platform-specific setup topics for Windows and Linux. On macOS, you need to manually run the Shell Command: Install 'code' command in PATH command (available through the Command Palette Ctrl+Shift+P).


1 Answers

Use the command, CTRL+SHIFT+P on windows or COMMAND+SHIFT+P on mac, then search "Developer: reload window", click on it, your vs will reload and enjoy your stress-free coding.

like image 171
Rhinolamer Avatar answered Oct 10 '22 15:10

Rhinolamer