Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio shortcut for "quick fix"

Does Visual Studio 2010 have a shortcut for quick fix?

I'm tired of grabbing the mouse, hovering over this red line, waiting for the little clipboard icon to appear, clicking on the first menu item. It would be so much fast to just open that dialog with some keys and confirming the first (i.e. selected) item.

like image 912
DerMike Avatar asked Mar 20 '12 11:03

DerMike


People also ask

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 does Ctrl S do in Visual Studio?

Bookmark this question. Show activity on this post. I am working on a React project using a Visual Studio Code. When I press Ctrl + S in the Visual Studio Code to save file, it removes all the JavaScript formatting or scatters all the code in the file.


1 Answers

The feature is called the "Smart Tag".

  1. Default Keyboard Shortcut Schemes (ReSharper documentation)

  2. Stack Overflow question How does one set Visual Studio 2010 keyboard shortcuts comfortably, especially when using ReSharper?

  3. Stack Overflow question Visual Studio keyboard shortcut to automatically add the needed 'using' statement

They can usually be invoked via the keyboard using either:

  1. Ctrl+. (on a standard QWERTY keyboard)
  2. Alt+Shift+F10 (if you've not got Function Lock enabled)
like image 102
Rohit Vipin Mathews Avatar answered Sep 22 '22 21:09

Rohit Vipin Mathews