Page 1 of 1
Split view for two source files aside
Posted: Fri Jun 14, 2013 11:10 pm
by mareb
Hello,
I just start to evaluate codelite IDE. For me a very important feature is, to split the source window into two parts. I love to edit the header on the left and the source on the right side. Also I often use a splitted view and edit to one file (look to the first 100 lines left and edit down the same file).
Is this possible?
Thank you
Re: Split view for two source files aside
Posted: Sat Jun 15, 2013 3:29 am
by Gibbon1
I don't think codelite supports vertical tiling,
Programmers Notepad (
http://www.pnotepad.org/) does have that feature. I think they are based on the same editing component, so maybe that could be added to codelite.
Re: Split view for two source files aside
Posted: Sat Jun 15, 2013 5:27 am
by Verax
Is this what you're looking for:
SplitPane.png
Just choose and open tab and drag it into position.
Re: Split view for two source files aside
Posted: Sat Jun 15, 2013 8:23 am
by mareb
Verax wrote:Is this what you're looking for:
Just choose and open tab and drag it into position.
Hi,
that sounds great, but it doesn't work. Is there are a trick for "choosing" and "open tab"?
I use codelite 5.1 on kubuntu 12.04
Re: Split view for two source files aside
Posted: Sat Jun 15, 2013 9:04 am
by Verax
Just choose and open tab and drag it into position.
That was supposed to say "choose any open tab". Sorry for the typo.
One you've opened a file, you'll see that tab for it appear across the top of the editor. Just left-click and hold on one of the tabs, and then move (drag) it to the left or right side of the editor. You can also drag it to the top or bottom to split the editor horizontally instead of vertically.
I haven't tested it in Linux, but it seems to work fine in Windows.
Update:
Just tried it in Linux Mint. You're right it doesn't work. Maybe one of the developers can comment.
Re: Split view for two source files aside
Posted: Sat Jun 15, 2013 10:10 am
by eranif
Verax wrote:I haven't tested it in Linux, but it seems to work fine in Windows.
This functionality is disabled on Linux.
You need to recompile codelite from sources to enable this behavior on Linux.
To build codelite:
Prerequisites:
http://codelite.org/Developers/Linux#toc1
Building:
http://codelite.org/Developers/Linux#toc4
To enable this feature, (wxAuiNotebook):
http://codelite.org/Developers/Linux#toc6
Eran
Re: Split view for two source files aside
Posted: Sat Jun 15, 2013 4:09 pm
by mareb
Thank you very much! I try to compile codelite with this feature.
Re: Split view for two source files aside
Posted: Sun Jun 16, 2013 12:30 pm
by mareb
Hm,
codelite need wxWidgets 2.9.4 but on my system (kubuntu 12.04) is 2.8.12.1-6ubuntu2 installed and needed by some software.
Code: Select all
:~/develop/CodeLite/codelitegit/build-release$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DGTK_USE_AUIBOOK=1 WITH_PCH=0 -DWITH_MYSQL=1 ..
-- OS name Linux
CMake Error at CMakeLists.txt:68 (message):
I'm afraid your wxWidgets version is too old.
Building CodeLite requires at least wxWidgets-2.9.4
-- Configuring incomplete, errors occurred!
Re: Split view for two source files aside
Posted: Sun Jun 16, 2013 4:58 pm
by eranif
Please read the instructions on the wiki more carefully:
http://codelite.org/Developers/Linux#toc1
Specifically this paragraph:
You should have wxWidgets 294 or later built on your machine. If you don't know how to build (or you just lazy ...) you can download
and install a wxwidgets package from codelite's repository
And here is the link to the wx repo we maintain:
http://www.codelite.org/LiteEditor/WxWidgets29Binaries
Eran
Re: Split view for two source files aside
Posted: Fri Jun 21, 2013 12:14 pm
by mareb
Hey eranif!
Thank you very much! You was right, I did'nt read carefully. With the codelite binary repo for wx it does compile.
Now I going to learn codelite...