Eclipse 4.2 (Juno) - Drag tab from one editor region to another? - eclipse

It's very simple to drag an editor tab to create a split editor layout (2 editors side by side).
For example this may produce the following layout where | indicates the window vertical split to produce two horizontally adjacent editors:
[TabL1] [TabL2] [TabL3] | [TabR1]
Having done this once, I cannot drag a second TabL to sit next to a TabR. The only options that appear on hovering the TabL over the right editor region are for further splits, or to detach the tab entirely to reside in its own window.
The same problem arises when attempting to drag a detached tab (in its own window) into either editor region.
Could someone please indicate how to achieve the desired result?
Sincere thanks.

To drop a view/editor into an existing stack you need to hover on the tab strip adjacent to the existing tab where you want the new tab placed. You will see a short vertical drop feedback line next to an existing tab.

Related

Show file tree for current workspace in a separate window? VS Code

Is there a way/extension which makes it possible to show all open editors in the current workspace in a separate window? Or at least show both next to each other on the left side?
I am used to have both, the open editors and the file tree of the workspace on the left side on top of each other. But this gets confusing and narrow after time and I am not into changing my workflow that much.
Thank you!
The only option I know is moving one of them to the panel and display the panel on the left or right side:
Open the panel: View -> Appearance -> Show Panel
Move the Panel to the side: View -> Appearance -> Move Panel left
Drag & drop the "Open Editors" headline to the panel's tab-bar.
Now you should have "Open Editors" as a dedicated tab in your panel.
This, however, is only useful if you don't use your panel for anything else. If you do, you could still combine two panel tabs into one by splitting them vertically, though, but I assume this is not what you want.

Split windows in Netbeans

I'm trying to split my windows so I can have 2 different classes or whatever on 1 screen but it will only split the window of the same class/file/whatever. I've been using netbeans for years and still can't do this.
Is this possible?
You don't specifically mention which version of NetBeans you are using. I'm using version 8, and these instructions work for that version and version 7. I believe it is the same for version 6.
If you want to see two different source files on the screen at the same time (without floating), then open both source files. You will have two tabs in the editing area of the IDE. Click on the tab of one of the source files without releasing the mouse button (and without holding any additional keys), and drag toward either the right side of the editing area, or toward the bottom of the editing area (depending on whether you want them side-by-side or stacked). You will see an orange outline appear once you start dragging. If the orange box encloses the entire editing area, then the IDE thinks you want to reorder the tab. Keep dragging toward the edge (without going over) and eventually you will see the orange box change to fill either the right half or the lower half (or if you drag the other way, the left half or the top half) of the editing area. Releasing the mouse button at this point will drop the source file in that half of the editing area, leaving you with the two source files side-by-side or stacked.
Here's an example of what it looks like when stacking two source files, just before the mouse button is released:
And here is what it looks like after releasing the mouse button:
If you want to have the same source file duplicated on the screen, open the single source file and follow the instructions above, only hold the CTRL key while clicking-and-dragging.
You can repeat this procedure as many times as you want (as is practical for your screen size), so that you end up with source files in several columns, several rows, or any combination thereof.
When you next open a file, it will be opened in the tab group of the currently selected source file. If you end up with a source file opened in the "wrong" tab group, just drag it to where you want it using the procedure above (allowing the orange box to outline the whole tab group area if you want to drop it in as a tab).
Additional screen shots for reference...
Reordering a tab within the same tab group:
Side-By-Side instead of stacked (two images):
Get as crazy as you want...
Create the above by dragging the second file to the lower half, the third file to the right half of the top half, and the fourth file to the right half of the lower half.
At least in netbeans version 8.1, you can ctrl + i and write "move window".
This will allow you to move the window with the arrows, it is the same as some user posted before but using the keyboard instead of the mouse (I prefer keyboard for this kind of things while I am coding).

Eclipse: Create a group of tabs(Console, Servers, Problems … )

Is there a way to create a hotkey to hide and show the entire bottom tab group? The one that normally contains Console, Problems, Servers and so on...
I want to have it a fastview but as far as I know this is only possible per tab within that group.
I want the entire group to appear on a hotkey and as a fast view.
I am hoping for a miracle here. Perhaps there is a plugin for this? Eclipse 3.4
Thanks!
If your goal is just to maximize editor space, you can double-click on an editor tab and it will grow to fill the entire window. Double-click again and it will restore back down, showing all the other view tab groups.
This might be an ok solution:
Minimise the tag group (minimise button on top left).
Whenever you want to access a view from that group use Cntrl+F7 - this brings up a view menu.
Hold down cntrl and keep hitting f7 to go to the view you want to display, let go. If the view was hidden it is now shown as a fast view.

How can I enable vertical split views in the Xcode IDE?

I'm diving into iOS development and I'm using Xcode on a multi-monitor setup.
Obviously I want to take advantage of the multiple monitors to view and edit multiple panes of source code, but I'm having a hard time figuring out how to enable vertical split views. In other IDEs, it's just an option you click in the "Window" menu.
How do I enable vertical split views in Xcode?
Xcode 4
Check out the options in the Navigate file menu item. I like Command+J. Also, while the Editor is active, i.e., you're editing code or your cursor is blinking in the Editor, press Command+Option+,. Or, you can Option-click (or Option+Shift-click) a file in the Navigator. Then, to make more room for editing, I like to press Command+0 to hide the Navigator and, if they're not already hidden, Command+Option+0 to hide the Utilities. Press Command+Enter to go back to the Standard Editor view.
Xcode 3
Hold down alt and click the little tiny box (with a horizontal line through it) in the upper-right-hand corner of the screen. It's underneath the tiny little lock icon.
Xcode 9 for those coming from a search engine:
Click and hold on the Assistant Editor button for an options menu. Choosing "Assistant Editors on Right" will cause the view to be split vertically.
This has changed in Xcode 12, maybe earlier. All my Option-Clicks go to open second view appearing below rather than size by side. The solution is to go to Views -> Change Editor Orientation
respect to mattdipasquale
Command+J --------Check out the options in the Navigate file menu item
Command+Option+,------editing code or your cursor is blinking in the Editor
Option-click (or Option+Shift-click)------open a file in the Navigator
Command+Enter----------reset
Use the dropdown on the split icon to choose between different views
For Xcode 14 you just have to click this icon:

Changing number of rows of tabs visible in NetBeans

There are times when I have a decent number of source files open at once. Is there a way to change the number of rows of tabs that are visible while working in NetBeans?
Also, I have a dual monitor setup here. I could span NetBeans across the two monitors if it were possible to have multiple NetBeans editor windows open at the same time. This is something that I use in the VS Express editions. I tend to group my source files on one monitor and the designer windows in the other. Can I do this in NetBeans?
for versions 8.0.2+:
Tools -> Options -> Appearance -> Document Tabs -> Multi-row tabs
You can also maximum row count if you wish (the default is 3).
There are 2 way's I have done this:
Drag a tab from the editor panel to the side of the editor window until the red outline shows a rectangle running from top to bottom. Drop the tab there and you get another editor pane. Opening from Project or Files will still use the original panel, but you can drag tabs between the panels.
Right click on a tab and choose "Undock Window". This will create a top-level window independent of the main NB window.
When you create files with keyboard shortcuts (eg, Ctrl-N for new file) they will open in the current panel. Likewise, navigating to other files (eg, Ctrl-Shift-B for go to source).
It's not perfect though. Some keyboard actions will dump you back to the main window, then it's Alt-Tab or fiddle with the mouse to get back.
You can control the number of rows of Tabs in Netbeans by going to (on Windows):
Tools>Options>Miscellaneous>Windows> check the multi-row tabs checkbox.
See the maximum row count with the radio button and set your number.