Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: 280Z28 on January 03, 2006, 06:20:17 am

Title: Open partner file
Post by: 280Z28 on January 03, 2006, 06:20:17 am
Right click on a .cpp (.c, .cxx, etc) and you have a context menu to open the partner .h header file. The reverse goes for headers.

Do y'all like this idea?

Applies in codeblocks/src to 1651 if you want to try it out.

[attachment deleted by admin]
Title: Re: Open partner file
Post by: killerbot on January 03, 2006, 07:24:10 am
I like it, mostly I open the cpp, and then do swap header sources.
Ok, I know, down there in the project manager they are also available in the headers, but .....

Good idea.
Title: Re: Open partner file
Post by: sethjackson on January 03, 2006, 08:44:27 pm
Right click on a .cpp (.c, .cxx, etc) and you have a context menu to open the partner .h header file. The reverse goes for headers.

Do y'all like this idea?

Applies in codeblocks/src to 1651 if you want to try it out.

Yup good idea.
Title: Re: Open partner file
Post by: Michael on January 03, 2006, 08:50:41 pm
Right click on a .cpp (.c, .cxx, etc) and you have a context menu to open the partner .h header file. The reverse goes for headers.

Do y'all like this idea?

Yes :). A good and useful idea.

Michael
Title: Re: Open partner file
Post by: 280Z28 on January 03, 2006, 10:42:26 pm
I also made it so it always shows "Open _____", even if the file is already open. If you want to close the file, that's what the top pane is for. Sometimes I don't know where the page is in the editor and want to go back to the tree to open it again (which just switches to the already open page).