Detach Tabs

General questions regarding the usage of CodeLite
nighthawk2400
CodeLite Curious
Posts: 2
Joined: Sun Sep 11, 2011 11:38 am
Genuine User: Yes
IDE Question: C++
Contact:

Detach Tabs

Post by nighthawk2400 »

Hi,

I recently updated to v3.0.5041 from v2.6.0.4189 (currently available from debian repo).
I'm running Crunchbang Linux (Based on Debian with OpenBox WM).

In the old version I could drag tabs off to the side so that it was split screen, now dragging just slides the tab along the bar. In addition, the is no 'detach' in the right click menu. (see http://i.imgur.com/sBYga.png)

Is there anything I can do to get that functionality back? I like the new version, I'd rather not have to go back to the older one.

Thanks for you time.

Clayton Rogers
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Detach Tabs

Post by eranif »

One of the changes of codelite 3.0 was the removal of the wxAUI tabs from codelite (Linux only). There were many reason for this change which I will not go into the details here. However, one drawback is that you can no longer split the tabs

If you wish to have the wxAuiNotebook tab enabled in the current version

You will have to build codelite from sources

Before starting the build process:
Open the file "codelite-src/Interfaces/cl_defs.h" and change the line:

Code: Select all

#    define CL_USE_NATIVEBOOK 1
into

Code: Select all

#    define CL_USE_NATIVEBOOK 0
compile codelite as usual.

A detailed build instructions can be found here:
http://codelite.org/forum/viewtopic.php ... 1145#p4612

Eran
Make sure you have read the HOW TO POST thread
nighthawk2400
CodeLite Curious
Posts: 2
Joined: Sun Sep 11, 2011 11:38 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Detach Tabs

Post by nighthawk2400 »

Wow, thanks for the quick reply. :)
toran
CodeLite Curious
Posts: 1
Joined: Thu Jul 02, 2009 10:40 am
Contact:

Re: Detach Tabs

Post by toran »

Is there any plans to re-enable this feature for Linux again in the binary releases?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Detach Tabs

Post by eranif »

toran wrote:Is there any plans to re-enable this feature for Linux again in the binary releases?
You can build codelite from sources after modifying the macro: CL_USE_NATIVEBOOK (defined in cl_defs.h) and set it to 0 under __WXGTK__

Note that this is not supported

In any case, this change will not be included in any official release of codelite
Eran
Make sure you have read the HOW TO POST thread
Post Reply