Robinhood
Robinhood

Reputation: 899

How to find out "Problems in this file" errors in VS Code?

In my project, I have a file that has turned red and it says it has 8 errors. How do I find these errors?

I'm attaching my screenshots below:

red file name

error markers

Upvotes: 75

Views: 70595

Answers (2)

titoih
titoih

Reputation: 602

You can use this command:

Ctrl+Shift+M

By the way, you can quickly jump to errors and warnings in the project.

Cycle through errors with:

F8 or Shift+F8

You can filter problems either by type ('errors', 'warnings') or text matching with the above search bar you'll see.

Another useful filter is 'Show Active File Only'

Reference here

Upvotes: 21

Danny Elliott
Danny Elliott

Reputation: 1056

Bit late to the punch, however you can use the shortcut Ctrl + Shift + M, which will open the problems pane.

Upvotes: 104

Related Questions