Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Alt+O to switch Klass_Details1.cpp for Klass.h

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
rogojin Posted - Jun 01 2011 : 08:00:47 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
rogojin Posted - Jun 02 2011 : 03:01:07 AM
Thanks. That will work for me.
accord Posted - Jun 01 2011 : 9:01:29 PM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000