Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 How to switch between .aspx and .aspx.cs files?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Freddy
New Member

4 Posts

Posted - Apr 21 2007 :  12:17:26 PM  Show Profile  Reply with Quote
I using two type of projects: c++ projects and ASP.NET projects. In C++ projects I use Alt+O functionality for switch .cpp and .h files.
How I can do it for ASP.NET files? I want to switch between "designer" (.aspx files) and "code" (.aspx.cs files) by Alt+O. How can I do it?

I know about standard shortcuts, but it's not "user friendly"

feline
Whole Tomato Software

United Kingdom
18940 Posts

Posted - Apr 23 2007 :  07:55:14 AM  Show Profile  Reply with Quote
If you tell VA that .aspx and .aspx.cs files are C++ code then alt-o should work. However I am not sure what other, unexpected side effects this will have, plus there is a dot in the middle of ".aspx.cs" which might confuse this.

http://docs.wholetomato.com?W328

Doesn't CTRL-PAGE_DOWN work? I seem to remember this was an option for moving between design and code views for HTML.

There is a macro for swapping between .cpp and .h files in this code project article:

http://www.codeproject.com/macro/kingstools.asp

you should be able to adapt the macro to emulate alt-o in this case, and you can assign your own keyboard shortcut to the macro via the IDE.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000