Tips on docking editors
Posted: Wed Dec 24, 2008 12:31 am
Here are some usage tips on docking editor windows.
First, if you didn't know already, you can detach an editor window from the main frame. The command to do it is under the editor's tab right-click menu, called "Detach Tab". Then you can either leave it floating free, or dock it in the main frame alongside other panes.
Second, good places to put detached editors are:
- let them float off to the side of CL's main frame (if you have enough screen space), or
- dock them ABOVE the main editor area (just below the toolbar).
Depending on where you drop it, the editor will be right of the Workspace Pane, or above it.
Not a good place: at the bottom of the main editor area, because the editor will get pushed up whenever the Output Pane appears. However, you can dock below even that, so the editor extends across the full width of the CL frame. In that case, the Output Pane appears above it.
One thing I like to do if I'm working on class Foo in files foo.h and foo.cpp:
- Dock foo.h above the main editor area.
- Leave foo.cpp in it's normal location.
- Sometimes, if Foo has base class Bar, I will put bar.h up above too, either left or right of foo.h, so I can see them both at once.
If you want more than about two extra editors visible at once, dock the first one at the complete top, or complete bottom, so the editor extends the full with of the CL frame. Then drop the other editors on the first so they go side by side.
Another note: the Quick Find and Nav Bar controls still work on whichever editor the caret is in, even though the bars themselves always stay put in the main editor area.
Last, when you click the little 'x' in a docked or floating editor top right corner, it just sends the editor back to the main editor area. It does *not* close the file.
Scott
First, if you didn't know already, you can detach an editor window from the main frame. The command to do it is under the editor's tab right-click menu, called "Detach Tab". Then you can either leave it floating free, or dock it in the main frame alongside other panes.
Second, good places to put detached editors are:
- let them float off to the side of CL's main frame (if you have enough screen space), or
- dock them ABOVE the main editor area (just below the toolbar).
Depending on where you drop it, the editor will be right of the Workspace Pane, or above it.
Not a good place: at the bottom of the main editor area, because the editor will get pushed up whenever the Output Pane appears. However, you can dock below even that, so the editor extends across the full width of the CL frame. In that case, the Output Pane appears above it.
One thing I like to do if I'm working on class Foo in files foo.h and foo.cpp:
- Dock foo.h above the main editor area.
- Leave foo.cpp in it's normal location.
- Sometimes, if Foo has base class Bar, I will put bar.h up above too, either left or right of foo.h, so I can see them both at once.
If you want more than about two extra editors visible at once, dock the first one at the complete top, or complete bottom, so the editor extends the full with of the CL frame. Then drop the other editors on the first so they go side by side.
Another note: the Quick Find and Nav Bar controls still work on whichever editor the caret is in, even though the bars themselves always stay put in the main editor area.
Last, when you click the little 'x' in a docked or floating editor top right corner, it just sends the editor back to the main editor area. It does *not* close the file.
Scott