News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Open partner file

Started by 280Z28, January 03, 2006, 06:20:17 AM

Previous topic - Next topic

280Z28

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]
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
Check out The Sam Zone :cool:

killerbot

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.

sethjackson

Quote from: 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.

Yup good idea.

Michael

Quote from: 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?

Yes :). A good and useful idea.

Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

280Z28

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).
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
Check out The Sam Zone :cool: