- Keyboard Shortcut For Commenting In Visual Studio Mac Download
- Keyboard Shortcut For Commenting In Visual Studio Mac Tutorial
My Top Five Shortcuts in Visual Studio Code. July 20, 2015 bsherwin 1 Comment. I have been using it on my MBP for most of the coding I do on the Mac. I found a number of things I really likeparticularly doing Node and JavaScript development. Helpful that it uses the bracket in the keyboard shortcut too. But it's the keyboard shortcuts that really rock! These will, predictably, comment or uncomment lines of code for you. So, let's say you have some code you want commented out. Program name: Visual Studio Code (Mac) (Developer tools) Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It has features such as debugging, Git control, syntax highlighting, smart code completion, snippets and refactoring. I tried changing keys in Tools / Options / Environment / Keyboard but Visual Studio studiously ignores any shortcuts which use the Windows key which just happens to be the Command key on the Mac keyboard which just happens to be a commonly used shortcut for navigation on the Mac. Program name: Visual Studio Code (Mac) (Developer tools) Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It has features such as debugging, Git control, syntax highlighting, smart code completion, snippets and refactoring.
Here’s five of my favorite keyboard shortcuts in Visual Studio, I think there’s a good chance there is at least one of them you haven’t seen before!
Find more Visual Studio tips and tricks here
This keyboard shortcut is new in Visual Studio 2013. If you put the cursor on a line of code and use the <ALT><UP ARROW> key the line of code you have selected moves up. If you use the <ALT><DOWN ARROW> the line of code selected moves down.
[View:https://www.youtube.com/watch?v=ys76IHPsuf0]
Chances are you have noticed the “+” and “-“ symbols in the margins that allow you to collapse and expand your classes and functions. Did you know you can create your own collapsible regions? If you select a section of code and then use the key sequence <CTRL><M><H> you turn that region into a collapsible/expandable region. The key sequence <CTRL><M><U> will remove the collapsible region (it doesn’t delete the code, it just removes the icon that allows you to expand and collapse.
Keyboard Shortcut For Commenting In Visual Studio Mac Download
![Visual studio zoom keyboard shortcut Visual studio zoom keyboard shortcut](/uploads/1/2/4/8/124811127/210721653.png)
[View:https://www.youtube.com/watch?v=xoFXTaWQtbo]
Whether it’s because you are trying to track down a but, or experimenting with code change, from time to time you will want to comment and uncomment blocks of code. If you select a block of code and use the key sequence <CTRL><K><C> will comment out the section of code. <CTRL><K><U> will uncomment the code.
[View:https://www.youtube.com/watch?v=ciEKiV31qQ8]
When you are going through your code and you want to examine the code in the method you are calling, many programmers will use the <F12> key or the pop-up menu option Go To Definition. Go To Definition will navigate to the called method, however many times you don’t need to navigate to the code. Sometimes, you just want a quick look at the method. If you have installed Visual Studio 2013 there is a new keyboard shortcut <ALT><F12> which will give you a preview of the method being called inline. You can use the <ESC> key to close the preview.
[View:https://www.youtube.com/watch?v=bUZgS8qeYBY]
When you have multiple files open at the same time you may want a way to quickly move back and forth between two or three different locations in your code. If you have moved from one location to another you can use the keyboard sequence <CTRL><-> to move to the previous location and then you can return using <CTRL><SHIFT><->
[View:https://www.youtube.com/watch?v=dvx7Mxc3RkA]
Students can download Visual Studio 2013 Professional at DreamSpark
MSDN subscribers can download it from MSDN
Anyone can get express versions of Visual Studio for free or 90 day trials of Visual Studio Professional, Premium, or Ultimate at the Visual Studio downloads center.
Keyboard Shortcut For Commenting In Visual Studio Mac Tutorial
Learn more about the new features of Visual Studio by watching the Visual Studio 2013 New Features at Microsoft Virtual Academy