Author Topic: Open partner file  (Read 6180 times)

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Open partner file
« 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]
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5496
Re: Open partner file
« Reply #1 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.

sethjackson

  • Guest
Re: Open partner file
« Reply #2 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.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Open partner file
« Reply #3 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

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: Open partner file
« Reply #4 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).
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool: