Mac Visual Code Studio Shortcut For Commenting Out

What are the best visual studio tips and shortcuts? Update Cancel. Ad by Atlassian. What features are missing in Visual Studio Mac vs. Visual Studio Windows? What is the difference between Visual Studio and Visual Studio Team Service? What's the best Ionic Visual Studio Code extension? Is Visual Studio worth it or not? To see the Visual Studio Code keyboard shortcut you do not need to visit a web or search anywhere else. You can find it inside Visual Studio Code itself. How to find out what specific key combination is bound to which command Press 'Ctrl+Shift+O'. The key combination 'Ctrl+Shift+O' is bound to Quick Outline. A complete list of all keyboard shortcuts in Visual Studio 2017. Visual Studio 2017 keyboard shortcuts The complete list. 2012; 2013; 2015; 2017; Build Build Solution Ctrl+Shift+B Cancel Ctrl+Break Run Code Analysison Solution Alt+F11 Class View Context Menus Properties Alt+Enter Misc Commit All Edits. Step Out Shift+F11 Step Out Current. The following table contains the keyboard shortcuts for the application. This shortcut does not work for the Log and Results tabs when you use Internet Explorer. This shortcut requires Internet Explorer 10 or later. Ensure that the focus is in the body of the code editor, and then press Ctrl+F.

As a consultant, I spent most of my time developing with Microsoft technologies for almost 20 years. I have loved Visual Studio (Interdev at one time) as my coding environment. Lately, I have been using a MacBook Pro to do some cross platform development, but never really found anything that fit well for what I was trying to do. Sure, TextMate was probably my best option…I just didn’t spend enough time in it to care to tweak it to my needs.

In April, Microsoft released Visual Studio Code as part of its //Build conference. 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 like…particularly doing Node and JavaScript development. Best part is that it is cross platform, so I can run it on my Mac, Linux and Windows machines, and I have the same editing experience. With Git support built in out of the box, what more could I ask for? Well, here are the things I find save me the most time.

Learn to Code at In this video I show you the best shortcuts I use in Visual Studio Code, as well as a few tips and tricks thrown in for good measure. This Quick 2 minute video shows you all about commenting, and uncommenting, and even has an added little trick to know about ASP.NET (ASPX) Commenting. [CTRL]+[K],[C] = Comment the current line, or selected lines of code.

When you are creating a website that is going to be using dynamic content (or just creating a demo), and you don’t quite have access to what that content is yet…what do you do? You fake it. You put in dummy text, and dummy images. Microsoft Word has the feature of using “=rand(10,10)” to generate random content, but that doesn’t help me in my code editor. The focus is on the design, not the content. But running your fingers around on the keyboard for random text is kind of a waste of time and it doesn’t really yield result that shows “for placement only” type look. Besides, you need tags in there to get what you really wanted.

Here’s where Emmet abbreviations come in handy. A simple:

This will get you four paragraphs of random length “lorem ipsum” text. You know good ol’ Lorem right? You can always look here if you need a history lesson on filler texts and the like. This can get more complex by chaining them together. For example:

Block Comment Visual Studio Shortcut

That will produce five <li> tags with three <paragraph class=”item”> tags containing a random ten word text. Like so: