Showing posts with label ShortCut Keys. Show all posts
Showing posts with label ShortCut Keys. Show all posts

Monday, January 10, 2011

Import and Export Break Points in VS 2010

 

VS2010 has so many features. One of the best thing is import and export the break point.

Steps to Follow

Step 1: Put the break point

1

 

Step 2: Click on Export all Break Points

2

Step 3:  Select the location and save the XML

3

Step 4: Remove all break points and Click on Import Breakpoints from a file

4

Step 5: Select the saved XML File.

5

 

All the breakpoints will reappear Smile

Sunday, July 19, 2009

Visual Studio Short Cut Keys

Shortcut keys are easy to navigate,Increase productivity ,etc .... :)

These are the short cut keys i like in visual studio

  • To understanding the code
Class view : [ctrl-w] ,[ctrl -c]
Note : helps to see the class view.
Create Class diagram (by adding .cd file to the project)
Note : This will display the class diagram created.copy and paste the necessary methods ,properties from one class to another class.

  • Navigate through code

F12 : GoTODefinition
shift -F12 : Show all the reference to a symbol
F8:Cycle through list of items in the currently active output window
shift - F8 : same as F8 but opposite in direction

ctrl - m ,ctrl- m: collapses /expand the method the cursor is currently in
ctrl -m,ctrl-o : collapse all methods to the outline view

ctrl - -(minus) : moves to the cursor previous location
ctrl - shift - -(minus) :moves to the cursor last location

ctrl - F :find menu
ctrl - H : find and replace
ctrl - i :incremental search
ctrl - shift - F : find in all files

  • Modify code

ctrl -k, ctrl - c : command out the selected code
ctrl -k ,ctrl - u : uncommand out the selected code
ctrl-k ,ctrl -f :auto format the selected code

ctrl - R ,ctrl - M :extract method
ctrl -R,ctrl - E :encapsulate field
ctrl- R ,ctrl -l :extract interface
F2 :Rename

  • Debugging code

F10 :step over
ctrl - F10 :Run to cursor
F11 :step into
shift - F11 : step out
F9:toggle a break point
F5 :Run with debugging
Shift - F5 :stop debugging
ctrl-F5 :Run without Debugging


Tuesday, July 7, 2009

Command Line Tips

open command prompt and type the following ,Makes your work easy

enable firewall: netsh firewall set opmode mode = enable
disable firewall : netsh firewall set opmode mode =disable
change command line title :title new_window
computer name :hostname
os version :ver
logoff system :logoff
to see date :date

Windows XP Shortcut Keys

In Run

Devenv : Open visual studio
ssmsee : Open sql server management studio expression edition
Control : Open control panel
services.msc : open windows services
appwiz.cpl : add/Remove programs
mspaint : Open paint
iexplore.exe : open internet explore
safari : open safari browser
firefox : open mizilla browser
chrome : open chrome browser
perfmon.exe : Open performance moniter
shutdown -s -t 01 : Shutdown xp in 01 second
shutdown -s :shutdown
shutdown -r :restart
shutdown -a :abort shutdown
nero : open nero
outlook : open outlook express
winword : open word
assembly : Open GAC
cliconfg : open SQL Server Client Network
cleanmgr:open Cleanup Tool
userinit:open documents




 
Counter