user1941537
user1941537

Reputation: 6675

How can I show code error in VSCode by hovering over it

Today, I was watching a video tutorial. The tutor did a minor mistake in his code and while he was trying to find out what the mistake was, he hoverd over the code and exactly at the place, where his error was, VSCode popped up with an Error message like this:

enter image description here

Does any one know how can I activate this in my VSCode? Do I need to install an extension?

Upvotes: 4

Views: 4070

Answers (2)

rj3005
rj3005

Reputation: 181

The setting is called "Editor > Hover: Enabled". You can search for it in the VSCode settings and make sure the box is checked to enable it.

Upvotes: 9

Krunal Barot
Krunal Barot

Reputation: 932

this should be a built in feature but may need enabling it.. more info at https://developercommunity.visualstudio.com/content/problem/249839/vs2017-1571-no-values-on-hover.html

Upvotes: 0

Related Questions