informa
/
1 MIN READ
Blogs

Useful common Visual Studio shortcuts

Useful common Visual Studio shortcuts

If you develop on Visual studio these shortcuts are a must for you:
  • Comment:
    Ctrl + K,
    Ctrl + C
  • UnComment:
    Ctrl + K, Ctrl + U
  • Align the code properly:
    Ctrl + K, Ctrl + D
  • Rename:
    Ctrl + R, Ctrl + R
  • Extract Method:
    Ctrl + R, Ctrl +M
  • Surround with:
    Highlight the code, Then R-Click -> 
    Surround with -> select the statement you need (for, while, do, ...) then hit Enter & enjoy. 
  • Find Definition:
    F12
  • Auto-complete Syntax:While typing (for example: "for") we can hit "Tab" twice and visual studio will auto-complete the syntax for you. After that, by hitting on "Tab" it will keep navigating you between the arguments which you can edit.
Below are very common only for total Beginners with visual studio:
  • Duplicate Control:
    At Designer view,
    Press & Hold "Alt" then
    with mouse click & drag the control to create a duplicate.
  • Debugging:
    • Run With Debugging:
      F5
    • Stop Debugging
      Shift + F5
    • Insert Break Point
      F9
    • Step Over
      F10
      Execute the next line of code but not follow execution through any function calls
    • Step Into:
      F11
      Execute code one statement at a time, following execution into function calls
    • Step out:
      Shift + F11
      Execute the remaining lines of a function in which the current execution point lies.
  • Build:
    Ctrl + Shift + B
Soon I will Add Video shows above shortcuts and their out come.
 
Check My blog article I will keep it updated
 http://bit.ly/VS-Shortcuts
 

Latest Jobs

IO Interactive

Hybrid (Malmö, Sweden)
3.02.23
Gameplay Director (Project Fantasy)

Arizona State University

Los Angeles, CA, USA
2.27.23
Assistant Professor of XR Technologies

IO Interactive

Hybrid (Copenhagen, Denmark)
3.02.23
Animation Tech Programmer

Purdue University

West Lafayette, IN, USA
3.02.23
Assistant Professor in Game Design and Development
More Jobs   

CONNECT WITH US

Explore the
Advertise with
Follow us

Game Developer Job Board

Game Developer

@gamedevdotcom

Explore the

Game Developer Job Board

Browse open positions across the game industry or recruit new talent for your studio

Browse
Advertise with

Game Developer

Engage game professionals and drive sales using an array of Game Developer media solutions to meet your objectives.

Learn More
Follow us

@gamedevdotcom

Follow us @gamedevdotcom to stay up-to-date with the latest news & insider information about events & more