Help me escape the quotes!
June 7, 2009 4:26 AM
Subscribe
Visual Studio 2008 IDE Question
I'm hoping this will just be a simple answer (and that it exists). I do a lot of C# coding in Visual Studio 2008. Intellisense makes me life a whole lot easier, however I can't seem to figure out how to do something that should, I feel, be obvious.
Say I'm trying to set the value of an attribute. If I type "Col" I get a drop-down list and I can choose "Color" and press tab and it will auto complete to Color="" with my cursor inside the quotes where I can start typing. Now this attribute happens to have predefined values, so that when I start typing, I'll get another drop-down list, and I can highlight say "Green" and hit tab. It will auto complete to Color="Green" and my cursor will be outside of the quotes and I can continue on my merry way.
If, however, the attribute I'm writing doesn't have predefined values, I run into a problem. I'll type something like "Prop" and then highlight Property and hit tab. It will auto complete to Property="" with my cursor inside the quotes. I'll type whatever, say FontWeight, and now my cursor is still inside the quotes. The only way I can manage to continue is to hit the right arrow key, or click to the right of the quote with my mouse. Both actions move my hand away from homerow and significantly interrupt work flow. So I'm wondering if, once I'm at the point of finishing typing FontWeight (or whatever situation I don't have a drop-down list), is there a shortcut keypress to jump to the right of the quote?
I realize that's a little nit-picky, but pressing something like ctrl+enter is infinitely more preferable than trying to press the right cursor arrow.
For what it's worth, I've been trying to play around with shortcuts. ctrl+shift+enter escapes the quotes, but also jumps down to the next line, leaving to press backspace a lot :-\
Thanks for any help, how the question is clear.
posted by sepsis to computers & internet (6 comments total)
As I said, my guess is that it wouldn't put you outside of the quotes if they existed, but maybe it would...
posted by i love cheese at 6:08 AM on June 7