Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio keyboard shortcut for error description

So i have the following c# code snippet:

var accountModel = new AccountModel
{
    Email = "[email protected]"
}

If you notice carefully you will notice i am missing " ; "

Here is what happens when i hover over the little red squiggly line:

enter image description here

My question is: How can i show the " ; expected " by using the keyboard and without hovering over the squiggly line with the cursor?

Thanks!

like image 556
ZiGiUs Avatar asked Jan 06 '15 15:01

ZiGiUs


People also ask

How do I show errors in Visual Studio?

To display the Error List, choose View > Error List, or press Ctrl+\+E.

What is Ctrl Shift F in Visual Studio?

Ctrl-Shift-F is used to find all the ocuurance of a string with in entire solution and display find result window as shown below. Ctrl-F is used to find a string in the current document, project and all open documents one by one.

What is F12 in Visual Studio?

F12: Open File - Visual Studio Marketplace.


2 Answers

Visual Studio 2015

Ctrl + K, Ctrl + I

Hold down Windows Ctrl Key, keypress K and then keypress I

like image 91
Julius Depulla Avatar answered Oct 04 '22 16:10

Julius Depulla


You can hit CTRL\ and the E to view the Error List window (default out-of-the-box keyboard config).

I don't think there's a way to show the tooltip without the mousepointer.

like image 28
C-Pound Guru Avatar answered Oct 04 '22 15:10

C-Pound Guru