Effective Use of Visual Studio 2005 - Keyboard Shortcuts
- Get link
- Other Apps
As a hardcore developer I found that typing is easy to me then using mouse. Mouse is an obstacle. Taking hands off the keyboard is time consuning. It takes me out of comfort zone. I like to use keyboard where ever possible and efficient. Thanks to the developers of Visual studio 2005, they provided keyboard shortcuts to the most frequest tasks.
Though the use of named commands is always recommended instead of keyboard shortcuts. But I found that these key strokes are most common and no one reassign these to custome actions. Its safe to get used to these shortcuts.
Here is a list of my favourite shortcusts.
Tool Boxes And Windows
- CTRL+ALT+L: View Solution Explorer. I use Auto Hide for all of my tool windows to maximize screen real estate. Whenever I need to open the Solution Explorer, it’s just a shortcut away.
- CTRL+ALT+X: Toolbox Window
- CTRL+ALT+O: Output Window
- CTRL+\, E: Error List Window
- CTRL+\, T: Task List Window
- F7: Toggle between Designer and Source views.
- CTRL+PgDn: Toggle between Design and Source View in HTML editor.
- SHIFT+ALT+Enter: Toggle full screen mode. This is especially useful if you have a small monitor. Since I upgraded to dual 17? monitors, I no longer needed to use full screen mode.
- CTRL+SHIFT+A: Add New Item Window
- ALT+F+F: Recent Files List
Building, Running And Debugging
- F10: Debug - Step over.
- F5: debug - Start
- F11: debug - Step into
- SHIFT+F11: Debug - step out
- CTRL+F10: Debug - run to cursor
- F9: Toggle Breakpoint
- CTRL+SHIF+B: Build Solution. Related shortcuts:
- ALT+B, U: Build selected Project
- ALT+B, R: Rebuild Solution
Code Window
- CTRL+D or CTRL+/: Find combo
- CTRL+M, O: Collapse to Definitions.
- CTRL+M, M: Toggle Outline Expension. Collapsed will become expanded and expanded will become collapsed.
- CTRL+K, CTRL+C: Comment block.
- CTRL+K, CTRL-U: Uncomment selected block
- CTRL+-: Go back to the previous location in the navigation history.
- CTRL+SHIFT+-: Go to the next location in the navigation history.
- CTRL++: Select from last mouse pointer position to current mouse pointer position.
- CTRL+ALT+Down Arrow: Show dropdown of currently open files. Type the first few letters of the file you want to select.
- CTRL+K, D: Format code.
- CTRL+L: Delete entire line.
- CTRL+G: Go to line number. This is useful when you are looking at an exception stack trace and want to go to the offending line number.
- CTRL+K, X: Insert "surrounds with" code snippet.
- CTRL+K, K: Toggle bookmark.
- CTRL+K, N: Next bookmark.
- CTRL+K, P: Previous bookmark.
- CTRL+K, L: Clear bookmark.
CTRL+K, I: Quick Info - F12: Go to definition of a variable, object, or function.
- SHIFT+F12: Find all references of a function or variable.
- Get link
- Other Apps
Popular posts from this blog
CBSE Class X Result 2010 – How to Calculate Percentage
Today, CBSE Board, India declared class X result for year 2010. But here is a catch – this year they changed the rating from numbers to grades. Most of the students are apparently confused how to get percentage from their GPA. How to convert CGPA to Percentage Here is the simple method to convert GPA into percentage: Percentage = 9.5 × CGPA Example: CGPA = 6.8 Percentage = 9.5 x CGPA = 9.5 x 6.8 = 64.60% The percentage calculated by this manner is the overall percentage. How to convert GP to Percentage Here is the simple method to calculate percentage from GP: Percentage = 9.5 x GP Example: GP = 06 Percentage = 9.5 x 6 = 57.6%. The percentage calculated in this manner is the percentage in that particular subject. Technorati Tags: CBSE , CBSE Result , CBSE Result 2010 , Percentage from GPA SUBJECT WISE GRADE POINT: Marks Range Grade Grade Point
Redirecting to new window in c#
As a developer, many time I wished to redirect user to a new URL into a new browser window. I wanted to use response.redirect at server side and open the new web page into a new window. But the way redirection works makes it impossible to open a new window from server side. The common solution to this problem is to use java script's window.open statement at client side and then fetch the new URL into the new window. To me, this is totally unacceptable while I am writing server side code. So I decided to write some code to do this. But before writing, I googled for the same. I found a good solution for the problem. I would like to give proper credit to the author, who chose not to publish his/her name. As they say a code worth one thousand words, here is the code: ResponseHelper Class: The ResponseHelper class does all the magic. It adds a client side script to the response which opens the new window. Use this class in place of response class if you want to open new window. Yo