VS IDE keyboard shortcuts...

homercles337

Diamond Member
Dec 29, 2004
6,340
3
71
I have recently decided to move from Builder to Studio for windows development (truth be told im a scientific programmer first and foremost--ie, matlab). There seems to be a few things missing from the keyboard shortcuts (the ones that actually work). This is a short list of what im looking for:

1) Format selection (ie, make pretty) from a highlighted section. This is under the Edit->Advanced tab, but neither suggestion works.
2) Comment section. Again this is under Edit->Advanced tab, but i cant see a keyboard shortcut for it.
3) Parenthesis/brace open and close highlight. That is when you click on one it will highlight where its partner is located.

Short list, but i have found most of the other options i prefer. Its just that i use those 3 all the time and to be deprived is starting to get to me. Suggestions? Grazie.

Edit: D'OH! I just figured out 1 & 2. Ctrl+K && Ctrl+F. I was reading the comma as Ctrl+K || Ctrl+F. :eek:
 

homercles337

Diamond Member
Dec 29, 2004
6,340
3
71
Originally posted by: ArmchairAthlete
Hold CTRL and press K then C to comment by default I believe.

K then F to format.

Thanks, but check out the edit.

What about #3?
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Much may also depend on which version of VS you are using.

Changes (drastic) were made from 6 to 7

I know in VS 7, if you edit the brace, the opposing brace will show up bolded.

Try to place the cursor just before the desired reference brace. Then use Ctrl+K to detect the sibling.
 

homercles337

Diamond Member
Dec 29, 2004
6,340
3
71
Originally posted by: EagleKeeper
Much may also depend on which version of VS you are using.

Changes (drastic) were made from 6 to 7

I know in VS 7, if you edit the brace, the opposing brase will show up bolded.

Im using v8 (2005). I see what you mean about the bolding. However, i wish that there was something more obvious and easy to navigate. I also wish there was something to highlight the open or close paren pairs. :( Something like notepad++ which handles the parens and braces much better.