Hi all
I've been using codelite for some time now and have to say it's working really well. Great job Eran & Contributors!
As I've already said on SF feature request facility one of the things I like the most in IDEs is the capability to do almost evertything without touching the mouse (yes, I'm an old school fart), so I asked for the "Open project settings" shortcut.
Besides that another feature I'd find really useful is the capability to switch the focus to different panes with the keyboard.
In this way I can quickly switch to the file list, select a new file to edit, press Return to open it in the Editor.
I requested and helped to implement a similar feature in Editra, a programmers editor:
http://svn.wxwidgets.org/svn/wx/wxPytho ... auinavi.py
I'd like to have something like that in codelite, and I am willing to help.
Comments / suggestions are welcome
Pane navigation
-
- CodeLite Curious
- Posts: 2
- Joined: Fri Nov 27, 2009 12:12 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Pane navigation
I also misses this feature (I am also keyboard fan) and misses it from the days I used Eclipse
I am not sure how easy it is to implement it, since i think that this should come from wxAUI (as you already mentioned)
Other than that we could hack codelite to more focus to controls instead of the pane, but this is something I would like to avoid if possible.
Have you posted this on the wx-users/wx-devl mailing list?
Btw:
Eran
I am not sure how easy it is to implement it, since i think that this should come from wxAUI (as you already mentioned)
Other than that we could hack codelite to more focus to controls instead of the pane, but this is something I would like to avoid if possible.
Have you posted this on the wx-users/wx-devl mailing list?
Btw:
This one is already implemented in the current trunk version.I asked for the "Open project settings" shortcut.
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Fri Nov 27, 2009 12:12 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Pane navigation
Basically it's:eranif wrote: I am not sure how easy it is to implement it, since i think that this should come from wxAUI (as you already mentioned)
- Create a popup dialog with a list
- Populate it using wxAuiManager::GetAllPanes
- Maybe filter out some unneeded stuff
- Use SetFocus on the selected pane
Could be necessary to overload the SetFocus for some pane to explicitly focus the desired control. Think about the file list: I need the focus on the actual tree, not the tabbar.
Quite a hack, yes. Since there's the layout manager I'd use it.eranif wrote: Other than that we could hack codelite to more focus to controls instead of the pane, but this is something I would like to avoid if possible.
Nope, I'm not subscribed to the list. I posted Editra code as a suggestion since I'm happy the way it works. Give it a try and see if you like it. It's Alt+1 to navigate in panes.eranif wrote: Have you posted this on the wx-users/wx-devl mailing list?
Works just fine. Thanks!eranif wrote:This one is already implemented in the current trunk version.I asked for the "Open project settings" shortcut.