When open a perspective, i want to show two editors in different floders.
But i don't know how to open editor in folder.
Anybody can help me?
Editors cannot be opened in folders; and perspective changes does not affect the list of opened editors. This is a basic constraint of the Eclipse GUI in the 3.x series. It might be possible to create a listener to perspective changes, and register it to the workbench sites, but it is a flaky solution, and in some cases it might not work. If you need to display some information, I suggest opening two views (which views can be used to refer some files from the workspace; and even open them as standard editors in the editor area).
In the Eclipse 4.x series, this constraint is limited, and editors and views are considered as equals wrt positioning.
Related
If I'm working on live branch as well as development branch at almost same time,
naturally the code in both the branches is similar,
my two eclipse instances are open at the same time,
I keep swapping between them and tend to commit mistake by adding code in the wrong workspace.
To distinguish between the two instances of eclipse if I could have different themes (colours), it could have been good fool proofing measure.
I would like different theme for the eclipse window than the code font or file background.
I use same eclipse (Helios) .exe for different workspaces.
Any simpler advice could also be helpful.
Thanks in advance.
You can also add a name for each workspace. Open Preferences>General>Workspace and enter a Workspace name. It will be shown at the beginning of the title in the shell and the task bar.
That's how I differentiate my 4.2 and 3.8 workspaces, since I often need them both open to compare behaviour.
You may right mouse click in the background of one of your files > Preferences > Text Editor and change background color.
I'd like to quickly see "hot" positions of the file I have been recently edited, so I can quickly jump between them without inserting manual bookmarks.
Does Aptana offer this kind of feature?
Are there any Eclipse plug-ins doing this?
Eclipse does it (I am running 3.7.1):
Window->Prefs->General->Editors->Text Editors->Quick Diff
(or just type quick diff into the preference page search)
Enable quick diff, show differences in rulers - you can change the colours to make it more visible.
Another possibility is utilizing Mylyn. Just activate a task and a context will automatically be created that tracks changes on a method level, even highlighting important changes in bold. You can switch off the "focusing" (i.e. only showing the active and edited classes / ressources) in the project / explorer view if that annoys you. But Mylyn is a little more intensive, it only shows its full potential with a little bit of familiarisation.
I'm using eclipse galileo. Is it possible to display the tabs of my open files on several lines instead of using the >> sign. I still want a unique window to view the code though.
If there is no such settings, do any plugin exists ?
No.
Bug 58945: CTabFolder should support multi row and vertical style options, opened since 2004! (other bugs exist on the same topic)
(Update Feb. 2017: it seems to be assigned, with Oxygen 4.7 as target!
Thank you specializt for mentioning that in the comments)
CTRL+F6 is one workaround for now.
Other "workarounds" are listed in this thread:
turn on the "close editors automatically" option (preferences > General > editors), which will close editors automatically when the limit is reached an a new editor is to be opened.
make use of multiple windows each with a set of editors for areas you are editing or browsing or searching
CTRL+Shift+W to close all tabs quickly
As mention by Big Chair in the comments:
Someone made a workaround here: "Eclipse multiple tab rows"
Wes explains:
I've discovered that while it is true that you cannot have multiple rows of tabs for the same code-space, it is possible to have multiple rows of tabs showing on your window at the same time:
To accomplish this, simply drag a tab up to your title bar and release. It will create another row of tabs.
ctrl+shift+e gives a nice dialog with all open windows.
ctrl+e gives the "quick" version of this dialog.
I found this plugin, which lists all open windows in a separate tab, and lets you open windows with a single click:
http://sourceforge.net/projects/editorviewer/
As far as I know, there is neither such setting nor plug-in (at least freely available). But if there is, I'd like to be corrected.
The Open-Editor plugin does it. But it has issue.
I often end up with lots of empty panes in Eclipse that can only be minimized but not destroyed. How do I close these?
Update:
In this screenshot you can see two minimized on the upper left and several on the right hand side. In the center are four more. They only seem to be restorable in the Debug mode.
http://img406.imageshack.us/img406/9900/eclipse1.png
this happened to me, too. What worked for me (based on FilmJ and douncon's comments) was to open a class file, then drag that tab over the top of the empty pane.
Select Window -> Reset Perspective. That should reset the current perspective (what you call "mode") to its' initial state, (hopefully) closing all irrelevant views.
Something seems terribly wrong with your Eclipse. Maybe you should reinstall it. It is possible that you installed a buggy plugin.
First of all, what do you mean by pane? Eclipse has:
Windows (Eclipse itself, e.g. instance)
Documents (tabs)
Views (properties, tasks, explorer, etc)
If by 'pane' you mean document editors, you have problems either with your Eclipse version or most likely one of the installed plugins.
Each View also can be closed (except maybe some project types (perspectives) of which I'm not aware). For CDT (C/C++) you can close practically everything.
I'll recommend you download latest Eclipse version with no plugins, extract it to different folder, and check if that happens again. If yes, please explain more in details (like Eclipse version, perspective you are using, any side plugins, etc).
Also a good places are Eclipse community forum, mailing list and bugz :-)
I had the same problem. For me it helped to go into the right perspective and activate the functionality that caused the window in the first place. Once I reactivated the functionality, in my case "QNX Memory Analysis perspective", I was able to close all the windows one by one.
The conclusion is you have to refill the empty windows with content and then you will be able to close them properly.
So, it's really very easy for this to happen, if you open an editor that's incompatible with the existing editor, you can often end up having to place it outside of the tab list in one of your editor panes, then you might clear or copy that, typically while trying to add that view to a tab list.
In any case, what it's done is create a new editor, and all you need to do is drag some file to that empty editor window giving it some form of context, then close it.
I had the same issue. I followed #zvikico, but instead of just resetting, I first reset and then closed all the perspectives. Please follow the following to fix the problem. It worked for me:
Window -> Perspective -> Reset perspective..
After resetting follow below:
Window -> Perspective -> Close All Perspectives
Is anyone aware of any method (or external plugin) that would allow for nested editor tabs? It would be nice to be able to group related open files into their own "master" tabs, but I'm not sure if this is even possible. Any ideas?
This is totally non-obvious, and I discovered it by accident, but...
If you click on a tab and start dragging it downwards, once you get more than half-way down the editor pane, a horizontal line will appear. Let go, and now you'll have two different editor panes, each with tabs of documents. Now you can drag tabs up and down between the two panes to see different documents at the same time.
I think that's as close as you can get.
I think the best you can currently do is "Window->New Window" and then use each new window as a separate "tab" of related editors. Not exactly ideal, I admit.
It's a cool idea though, especially if you could have shortcuts or something that open groups of editors with a single command.
This definitely isn't possible in the current RCP. You might be able to construct an editor component which created a CTabFolder and delegated to other editor components, but I'm not sure how well that would work.
There are Perspectives in Eclipse that you might use to achieve something close, they are more global things though...
But I agree with you, I would like this feature as well! This would be also very useful when editing many files that have the same name but come from different packages, because now it's a mess >_<
For me the utility of such a feature is to reduce context switching time. I'm working on project A, have lots of editors open, now I need to drop that and work on project B. I want to keep all the editors open associated with project A but hide them while I work on B. When I'm done with B, I can pick up right where I left off in A without having to find and open all those A files again; I can even leave them unsaved indefinitely, since Juno never crashes!! :)
I have used the New Window feature, and it's great, but the new window needs a bunch of configuration (closing Views I don't need, moving stuff around to where I want it, opening Views I had open in the old window, and so on) before I can get to work. It also uses a lot more memory than a simple tab group would since it seems to be a complete new copy of Eclipse.
The split-window feature is great and I use it all the time. It is indeed tab groups, and if there were a way to hide a tab group, and for each tab group to have its own tab list (the thing you get when you click ">>5" so you can see editors you have open that don't fit in the tab header), it would totally fill the bill.