Visual Studio for quick access to error descriptions

So, I have the following C # code snippet:

var accountModel = new AccountModel { Email = " iDontExist@gmail.com " } 

If you notice carefully, you will notice that I am missing ";"

Here's what happens when I hang over a little red damn line:

enter image description here

My question is: how can I show the "expected" using the keyboard and without the freezing of the italic line with the cursor?

Thanks!

+6
source share
2 answers

You can press CTRL \ and E to view the error list window (standard default keyboard configuration).

I don't think there is a way to show a tooltip without a mouse pointer.

+2
source

Visual studio 2015

Ctrl + K , Ctrl + I

While holding down the Windows Ctrl key, press K, and then press I

+9
source

Source: https://habr.com/ru/post/980595/


All Articles