views:

119

answers:

1

Is there any equivalent of the VS7/8/9/10 Edit -> Advanced -> Format Document (Ctrl+K,Ctrl+D) function in the Visual Basic 6 IDE?

I've inherited an old codebase and it is messy in places so I'd like to tidy it up.

+2  A: 

Update: this is not applicable to the VB IDE.

In MSDev 6.0 for Visual C++, the command binding for Format Selection is Alt+F8. However, I don't know if the VB IDE kept the same binding. In VC, the command is in the menu: Edit | Advanced | Format Selection. There is no equivalent to Format Document other than combining Ctrl+A with Alt+F8.

sean e
I'll try this tomorrow when I'm back in work
Shevek
@sean This option is not available in VB6... There is no `Advanced` submenu on `Edit` and `Alt+F8` does nothing...
Shevek
@Shevek - sorry to hear. I'll update my response but not delete it so that no one else suggests it.
sean e