Split view for two source files aside
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Fri Jun 14, 2013 11:04 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Split view for two source files aside
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
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
-
- CodeLite Expert
- Posts: 167
- Joined: Fri Jul 22, 2011 5:32 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Split view for two source files aside
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.
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.
-
- CodeLite Enthusiast
- Posts: 46
- Joined: Sat Jan 19, 2013 10:31 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Split view for two source files aside
Is this what you're looking for:
Just choose and open tab and drag it into position.You do not have the required permissions to view the files attached to this post.
Last edited by Verax on Sat Jun 15, 2013 9:08 am, edited 2 times in total.
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Fri Jun 14, 2013 11:04 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Split view for two source files aside
Hi,Verax wrote:Is this what you're looking for:
Just choose and open tab and drag it into position.
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
-
- CodeLite Enthusiast
- Posts: 46
- Joined: Sat Jan 19, 2013 10:31 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Split view for two source files aside
That was supposed to say "choose any open tab". Sorry for the typo.Just choose and open tab and drag it into position.
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.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Split view for two source files aside
This functionality is disabled on Linux.Verax wrote:I haven't tested it in Linux, but it seems to work fine in Windows.
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
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Fri Jun 14, 2013 11:04 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Split view for two source files aside
Thank you very much! I try to compile codelite with this feature.eranif wrote:This functionality is disabled on Linux.Verax wrote:I haven't tested it in Linux, but it seems to work fine in Windows.
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
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Fri Jun 14, 2013 11:04 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Split view for two source files aside
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.
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!
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Split view for two source files aside
Please read the instructions on the wiki more carefully:
http://codelite.org/Developers/Linux#toc1
Specifically this paragraph:
http://www.codelite.org/LiteEditor/WxWidgets29Binaries
Eran
http://codelite.org/Developers/Linux#toc1
Specifically this paragraph:
And here is the link to the wx repo we maintain: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
http://www.codelite.org/LiteEditor/WxWidgets29Binaries
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Fri Jun 14, 2013 11:04 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Split view for two source files aside
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...
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...