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
 Alt+O to switch Klass_Details1.cpp for Klass.h
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rogojin
Senior Member

South Africa
27 Posts

Posted - Jun 01 2011 :  08:00:47 AM  Show Profile  Reply with Quote
For really big classes, I split their implementations into several .cpp files named Klass_File1.cpp, Klass_File2.cpp, where the header is Klass.h.

It would be great if Alt+O could switch from Klass_File1.cpp to the corresponding header. And then Alt+O from the header would switch back to the most recent implementation file viewed.

Thanks,
Ben

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 01 2011 :  9:01:29 PM  Show Profile  Reply with Quote
Unfortunately, alt+o cannot determine which file to switch in this case. If it tried to make "guesses" about similar file names it would probably cause a lot of false match in other cases. But there is an alternative way you can do the job. You will find a macro after the jump which is something like a simplified version of alt+o. You can easily modify it to do what you would like it to do:

http://support.wholetomato.com?W439
Go to Top of Page

rogojin
Senior Member

South Africa
27 Posts

Posted - Jun 02 2011 :  03:01:07 AM  Show Profile  Reply with Quote
Thanks. That will work for me.
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