Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Tab out of brackets/quotes?

I'm primarily a Java developer and I've recently started developing apps for Windows Store using Visual Studio 2012. When I started coding several years ago, I used Visual Studio 2008. I didn't think anything of certain features until I started doing Java in Eclipse. Anyway, in Eclipse, I can press "tab" to jump out of quotes or brackets. The only Visual Studio 2012 feature I could find remotely similar to this was included in Visual Studio 2012 Productivity Power Tools. It allows me to do Shift+Enter anywhere on a line, and it'll add a semicolon to the end of the line and go to the next one. While this is useful, it's not ideal in many situations. I am also using Resharper and have found no such setting in there. Thanks

like image 837
snotyak Avatar asked Dec 29 '12 19:12

snotyak


People also ask

How do you get out of quotes in VS code?

README. Tab out of quotes, brackets, etc for Visual Studio Code. You can toggle the extension with the 'Toggle TabOut' command.

How do I change the tab code in Visual Studio?

When using Visual Studio Code on Windows, you can use CTRL + PAGE_UP to switch to the previous tab, and CTRL + PAGE_DN to switch to the next tab. You also have the ability to switch to tabs based on their (non-zero relative) index. You can do so, by pressing and holding ALT , followed by a number (1 through 9).


1 Answers

The easiest way to jump out of the automatically inserted quote or bracket is to type the closing quote or bracket, i.e.: " followed by " or ( followed by ). You could also use the right arrow key. If you have resharper then you can use CTRL+SHIFT+ENTER to auto complete the current statement.

If you are a fan of keyboard shortcuts to move around your code then try the VsVim Extension.

like image 120
Piers Myers Avatar answered Sep 22 '22 04:09

Piers Myers