Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: DJMaze on March 19, 2006, 03:20:29 am

Title: Put "Projects" tab popup-menu also on source tabs?
Post by: DJMaze on March 19, 2006, 03:20:29 am
I'm used to popup-menu's when i right-click a tab (firefox, IE7, BCB, you name it)
Can C::B have this same feature implemented on the sourcefile tabs?
Title: Re: Put "Projects" tab popup-menu also on source tabs?
Post by: Pecan on March 19, 2006, 03:42:55 am
I'm used to popup-menu's when i right-click a tab (firefox, IE7, BCB, you name it)
Can C::B have this same feature implemented on the sourcefile tabs?

Nightly Builds and SVN versions of CodeBlocks provide the following:

(http://img296.imageshack.us/img296/2205/graphic318200693716pm1fg.png)

Could you specify what more you would prefer added?
(http://img240.imageshack.us/img240/1760/graphic318200695032pm3ag.png)

Which do you think are appropriate?
Title: Re: Put "Projects" tab popup-menu also on source tabs?
Post by: TheNullinator on March 19, 2006, 11:25:49 am
Could you specify what more you would prefer added?

I think he may be using RC2 which, IIRC, didn't have a context menu on the editor tabs.

@DJMaze:  You can get such functionality by using a nightly build available at http://forums.codeblocks.org/index.php?board=20.0 (http://forums.codeblocks.org/index.php?board=20.0) or by building Code::Blocks from SVN source (quite enjoyable and satisfying IMHO  :)).
Title: Re: Put "Projects" tab popup-menu also on source tabs?
Post by: DJMaze on March 19, 2006, 04:19:52 pm
Cool i will check a snapshot.

I ment the menu used in "opened Files" tree.

So 2 additional options to that menu is great: swap header/source and Add to-do item
Title: Re: Put "Projects" tab popup-menu also on source tabs?
Post by: TheNullinator on March 19, 2006, 10:17:43 pm
The Opened Files list has those options in recent versions.
Title: Re: Put "Projects" tab popup-menu also on source tabs?
Post by: DJMaze on March 19, 2006, 10:53:37 pm
Pfff shortsighted in here so i will rephrase

I ment A COPY OF the menu used in "opened Files" tree ... NOT the menu in "default workspace"

So 2 additional options IN THE TAB menu is great: swap header/source and Add to-do item
Title: Re: Put "Projects" tab popup-menu also on source tabs?
Post by: TheNullinator on March 20, 2006, 12:39:44 am
I'm sorry, I misunderstood.   :oops:

I've just uploaded a patch to https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=945&group_id=5358 (https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=945&group_id=5358) that adds "Swap header/source" to the editor tab context menu.  I'd never really minded not having that feature, but now it is there, it is very handy.   :)  Thanks for pointing it out.

Cheers
Title: Re: Put "Projects" tab popup-menu also on source tabs?
Post by: DJMaze on March 20, 2006, 03:19:25 pm
incredible thanks a lot!