Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Talk to Webmaster Tony John
Online Members
Pawan Awasthi
More...
Resources
»
Technical Tips
»
Visual Studio
Shortcuts to work with Visual Studio
Posted Date:
27-Jun-2012
Category:
Visual Studio
Author:
Somasekar N
Member Level:
Gold
Points
: 15
There are many shortcuts in Visual studio, that makes work easier to the .NET programmers. Below are some of them for editing, intellisense, debugging, navigation between different views, windows, snippets and to build programs in a solution.
Editing
Collapses existing regions view of the types and members
(CTRL + M + O)
Removes all outlining information in the document.
(CTRL + M + P)
selected collapsed region are Toggled.
(CTRL + M + M)
Inserts an element in the beginning of current line or currently selected lines.
(CTRL + K + C)
Removes an element in the beginning of current line or currently selected lines.
(CTRL + K + U)
Formats current document as per indentation and code formatting specified on the Formatting pane in Tools-> Options -> Text Editor -> C#.
(CTRL + K + D)
Pastes Clipboard ring text to the cursor location in a file. Further using the shortcut key iterates Clipboard ring to the end.
(CTRL + SHIFT + V)
Displays the smart tag menu options.
(CTRL + .)
Intellisense
Displays the smart tag menu options.
(CTRL + K + I)
Visible completion list becomes transparent.
(CTRL)
Debugging
Launches Debug Mode
(F5)
Launches without Debug Mode
(CTRL + F5)
Sets or removes a breakpoint in current line
(F9)
Removes all breakpoints
(CTRL + SHIFT + F9)
Navigation
Displays references for the symbol selected
(CTRL + K + R)
Moves the cursor to the matching brace in the source
(CTRL + ])
Navigates to the code declaration of the selected symbol
(F12)
Moves to the previously browsed code line
(CTRL + -)
Displays the Code view of selected item
(F7)
Switches to Design view from Source view
(SHIFT + F7)
Switches to Source view from in Design view
(SHIFT + F7)
Displays the Find and Replace dialog box
(CTRL + F)
To get the Go To Line dialog box
(CTRL + G)
Window
To display Class window
(CTRL + W + C)
To display Class Definition window
(CTRL + W + D)
To display the window Error List
(CTRL + W + E)
To get the Object Browser
(CTRL + W + J)
Displays Solution Explorer, with projects and files in the current solution
(CTRL + W + S)
Displays the window Task List
(CTRL + W + T)
Closes the tools window
(SHIFT + ESC)
To close the current tab
(CTRL + F4)
Displays IDE Navigator and selectes the first window
(CTRL + TAB)
Snippets
Class
(class | TAB | TAB)
Constructor
(ctor | TAB | TAB)
Windows - Message Box
(mbox | TAB |TAB)
Console – WriteLine
(cw | TAB | TAB)
Property –
(prop | TAB | TAB)
To get more snippets
( CTRL + K + X)
Build
To Build all projects in a solution
(F6 / CTRL + SHIFT + B)
To Build the selected project and its dependencies
(SHIFT + F6)
Did you like this resource? Share it with your friends and show your love!
Tweet
Responses to "Shortcuts to work with Visual Studio"
No responses found. Be the first to respond...
Feedbacks
Post Comment:
Notify me by email when others post comments to this article.
Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
No HTML formatting and links to other web sites are allowed.
This is a strictly moderated site. Absolutely no spam allowed.
Name:
Sign In
to fill automatically.
Email:
(Will not be published, but
required
to validate comment)
Type the numbers and letters shown on the left.
Next Resource:
How to get shared assemblies out of the GAC
Previous Resource:
How to use mbox in C#?
Return to Resources
Post New Resource
Category:
Visual Studio
Post resources and
earn money
!
More Resources
How to get shared assemblies out of the GAC
What is Interface Concepts in C#
A simple way to start with N-tier architecture
Visual Studio Shortcuts to add namespaces and use full screen mode
Making a form to set within the bounds of Parent Form
Get Field Explorer in Crystal Reports
Popular Tags
Tag posting guidelines
Search Tags
Tips for program in .net
.
Follow us on Twitter:
https://twitter.com/dotnetspider
Active Members
Today
Ultimaterengan
(42)
Priya jain
(16)
Asheej T K
(16)
Last 7 Days
baskar
(312)
naveensanagase...
(183)
Asheej T K
(179)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds