⌘= Zoom in/ ⇧⌘- /out ⌘B Toggle Sidebar visibility ⇧⌘E Show Explorer / Toggle focus ⇧⌘F Show Search ⌃⇧G Show Source Control ⇧⌘D Show Debug. Other operating systems’ keyboard shortcuts and additional unassigned shortcuts available at aka.ms/vscodekeybindings for macOS. Mar 25, 2018 - After I wrote this I wondered if we could edit multiple lines at once in Visual Studio Code. It turns out we can and there are two different ways to. ![]() Tax preparer software for mac. When we learn any programming language, one of the first thing we discover is the syntax how to comment our code. Some of you probably already have been using this shortcut key for awhile. Select multiple lines of code and press Ctrl+K,Ctrl+C, and you hard work is going to be ignored. To reverse just press Ctrl+K,Ctrl+U. These keystrokes will comment/uncomment your code only with line comment like // in C# or — in SQL. I’m not aware how to comment code with block comment (/**/) without using a plug-in for VS. ![]() One more thing. If you need to comment/uncomment a single line, you don’t need to select the whole line. Just move the cursor to any position on the line you want to comment, and let you fingers press the magic combination. If you like me (there’s nothing wrong to be different from me) and use, than you would like to use Ctrl+Alt+/ with line comment and Ctrl+Shift+/ with block comment.
0 Comments
Leave a Reply. |