Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I set the default double click action in Visual Studio?

How can I make Visual Studio default to View Source when you double-click the Form1.cs. I prefer to make View Source the default of double-click than View Designer.

like image 422
Hao Avatar asked Mar 11 '09 03:03

Hao


People also ask

Which event of a form will be generated when user double click on the form?

The Click event is raised every time a control is double-clicked. For example, if you have event handlers for the Click and DoubleClick events of a Form, the Click and DoubleClick events are raised when the form is double-clicked and both methods are called.

How do I go back and forth in Visual Studio?

By default, Alt+Left navigates back, and if you remove the Alt+Right shortcut for Edit. CompleteWord in Microsoft Visual Studio, Alt+Right navigates forward.


1 Answers

Right click the file in the Solution Explorer, choose "Open With...", select the CSharp Editor, and click the "Set as Default" button.

like image 51
Paul Stovell Avatar answered Sep 20 '22 21:09

Paul Stovell