


To bring it back, I used to delete a comma and then type it again but this is easier. When giving parameters for functions, I often need to escape the suggestions window to check another part of code. Press Ctrl+Shift+Space to bring up the intellisense suggestions window. Intellisense suggestions may pop up a window if there is more than one possibility. Press Ctrl+Space or Alt+RightArrow to auto-complete the word. This will add the current line to the task list. Add Task List ShortcutĪdd a shortcut to the task list with Ctrl+K, Ctrl+H. You can change the priority appearance of each comment token too. Goto Tools|Options|Environment|Task List|Comment Tokens and make your changes. You can add your own set of comment tokens (like the TODO comment token). Ctrl+Shift+F12 to cycle through your list of tasks.īy default, comments marked with a TODO will appear in the task list. Right click on the Task List window and choose Show Tasks|All to see a list of tasks. The Task List window ( Ctrl+Alt+K) allows you to keep track of the things you have to do. Track things you have to do with Task List You can add more files to this new tab group and also move files back to the previous group by choosing Move To Previous Tab Group. This will move the window into a split window, allowing you to see both files. Right click the tab of the code window and choose New Horizontal Tab Group.
VISUAL STUDIO VS CODE BLOCKS WINDOWS
If you have many source code windows open, you can group them logically using tab groups. The window will dock in whenever your mouse is not hovering over it. Right click on its title and choose Auto Hide. An easy way around this is to use the auto hide feature. There are a bunch of necessary/useful windows in the Visual Studio IDE like Properties ( F4), Solution Explorer ( Ctrl+Alt+L), Output Window ( Ctrl+Alt+O), Task List ( Ctrl+Alt+K) etc. Press Alt and then select the area you want with your mouse. It also takes you to the matching comment, region or quote depending on what is at the cursor now. Matching brace/comment/region/quoteĬtrl+] takes you to the matching brace. search for the next occurrence of previous search.Ĭtrl+i - Ctrl+i works like F3. Pressing F3 after this will work as usual, i.e. Hit backspace to clear a character and enter to finish. To incrementally search for text as you type, first press Ctrl+i.

This cycles you through the code positions you visited.Ĭtrl+Shift+- to navigate in the opposite direction. Some tabs do not allow dropping code into them those that allow will have the appropriate icon. You can drag and drop code onto this window and copy it elsewhere. The Toolbox (Ctrl+Alt+X) window has multiple tabs. You can copy/cut multiple times from one area of code, then go to another area and paste them one after another. Multiple copy/pastesĬtrl+Shift+V cycles through the clipboard ring. If you think you are going to be repeating a set of keyboard keys, then record them once and play them each time after. This works similar to *recording* in Vim. Record and play temporary macroĬtrl+Shift+R to record a new temporary macro. :-) By the way, I do not take credit for these hints but I will take credit for putting them together from various sources on the net. If you have any more, please do send them and I'll add them here with due recognition to the contributor. So here is a list of useful hints that I gathered. Some others are very obvious, but when I show them to some people, they are amazed that I can do that so I have included some of those too. Many of them are out there in the open in the menus but I did not see them for long until I went hunting for them.

Which is why I try to see if any editor provides all the functionality provided by Vim. And the power it gives is almost corrupting. A compendium of short cuts, tips and tricks, features, whatcha-may-callits for the Visual Studio.
