Community
Participate
Working Groups
Build ID: M20080911-1700 CDT Steps To Reproduce: 1. Create file.cpp, file.hpp, & file.h 2. Open file.cpp in editor 3. Navigate->Toggle Source/header Notice it opens file.h 4. Navigate->Toggle Source/header It goes back to the file.cpp instead of file.hpp Bug: It should also open file.hpp in the toggle loop More information: The 3 tier file layout .cpp/.hpp/.h is being recommended and used more by various programmers in large c++ applications. The .h files contain only the individual class specification without any implementation. The .hpp files contain the class-hierarchy specific implementation. The .cpp files contain the modular implementation. It would be nice if the "Toggle Source/Header" would toggle between each .cpp/.hpp/.h if any of them exist instead of only just two of them. Also note, if only .hpp/.h exists (without .cpp), then it should toggle between those two, too. Thank you
Marked as enhancement.
(In reply to Dzonatas Sol from comment #0) > The 3 tier file layout .cpp/.hpp/.h is being recommended and used more by > various programmers in large c++ applications. The .h files contain only the > individual class specification without any implementation. The .hpp files > contain the class-hierarchy specific implementation. The .cpp files contain > the modular implementation. This is the first I hear of this way of organizing code. Could you point me to a reference about it?