At some point Eclipse has decided to add a load of whitespace when dragging one editor tab to the side of another.
Is it possible to get the old behaviour back in newer versions of Eclipse?
Eclipse 4.4, with nasty whitespace:
Eclipse 3.7, without the pointless whitespace above the tabs:
Update
After #GGrec's suggestion, the white bar is much smaller, but still present. Is this at all avoidable, or is this just the way Eclipse 4.4 is?
That is a workspace metadata bug. You're using your old workspace with the new Eclipse.
You can also notice the ugly black thick line under your workbench actions.
To fix this, go to Preferences -> General -> Appearance. Change your theme, then change it back. Do an Eclipse restart with -clean while you're at it.
Step 1. Uninstall,
Step 2. Clean application data:
For example, In my computer: %userprofile% == C:\Users\vy.vy-pc\
Delete folder: C:\Users\vy.vy-pc\AppData\Roaming\Spring Tool Suite and
C:\Users\vy.vy-pc\AppData\Local\Spring Tool Suite
Step 3. Reinstall your Eclipse.
Related
The files in Navigator and editor tabs keeps disappearing in eclipse workbench.
Eclipse seems to be not interested in fixing the
https://bugs.eclipse.org/bugs/show_bug.cgi?id=458015
due to the fight between titans, does anyone know the root cause and a patch. Also, directions to build the appropriate plugin jar would be appreciated.
It is also affecting the git staging view so, it should be common problem.
Reference:
Eclipse 4.3 - kepler is working very well with good performance, this bug is introduced from 4.4.
Here is the plugin versions and download link
https://www.eclipse.org/downloads/packages/release/Kepler/SR2
https://projects.eclipse.org/releases/kepler
SourceLink: https://git.eclipse.org/c/platform/eclipse.platform.ui.git/
EDIT: Steps to reproduce
Get any version of Eclipse-Windows-64-bit (i used J2ee) from Luna to Oxygen(latest)
create a git project and add multiple files(any files).
You should see these files in git-staging.
Double-click on any file.
You should see only 1 file visible and others will be invisible.
Steps for Editor tabs disappearing
Open multiple files.
Move your mouse over the editor tabs.
You should see tabs disappearing.
ProjectExplorer has a weird issue (Same file shows up twice).
I am running Windows XP and Eclipse 4.2.2 Build id: M20130204-1200 and I have lost my Debug and Launch tool bars. I have tried Windows>Reset Perspective (original values) and Window>Customize Perspective's (Tool Bar Visibility and Command Groups Availability) tab options. I have tried the Layout option on Debug view. All failed to bring them back. Right now, I am looking at Tool Bar Visibility tab and a message that says: <"Debug" cannot be made available because it is in the unavailable "null" command group.> However, the Debug checkbox in Command Group Availability is checked.
I have also tried right-click and Reset on the perspective buttons.
Switching to another eclipse installation (same machine) did not help either.
Rebooting does not help.
Are there any text configuration files where this data is stored that can be manipulated outside eclipse?
I had this problem in Eclipse Kepler, it turns out it was caused by PyDev plugin. I fixed it by uninstalling the plugin and right-clicking on the Debug perspective button and selecting Reset.
I had already installed a fresh copy and the problems persisted. But, encouraged by user714965 comments, I tried again but that did not resolve the issue. Then, I threw away all eclipse installation folders (to recycle bin), re-installed fresh copy, and the problem persisted. Then I started a new workspace, and it seemed like the tool bars were back. Then restored previous eclipse installations and they had the Debug toolbar as well!
I am thinking somehow the customization config files were broken. It would be nice to know where the these files are stored (my original question): Are they global for each user on the machine or are they workspace specific? It seems to me that some customizations are global, while others are project specific.
May be it is time to try the new Android Studio :-)
Seems as your eclipse is broken. The fastest way to get it back running will be downloading a fresh copy from eclipse.org. You can continue using your current workspace so your settings will remain. But you have to re-install all plug-ins... I'm always keeping a backup of a fresh release with the plug-ins I'm using. I would suggest you to do the same in the future.
any way I can bring back the tab style of indigo? I don't like the new white and block tabs!
Windows -> Preferences -> Appearance -> Theme. Select "Classic".
Afterwards restart once, as some changes cannot be applied immediately.
For those who wish to move to using the Eclipse Indigo looks, a version prior, simply, rename the folder,
plugins\org.eclipse.platform_4.2.0.v201206081400\css
to something like,
plugins\org.eclipse.platform_4.2.0.v201206081400\css.old
And you are done! Launch your eclipse and enjoy the old theme.
Note:
Make sure Eclipse is not-running when making this change.
In Eclipse juno SR1 the folder is org.eclipse.platform_4.2.1.v201209141800
I'm new to Eclipse and downloaded the following version:
Eclipse Java EE IDE for Web Developers.
Version: Indigo Release
Build id: 20110615-0604
[edit] Eclipse Platform Version 3.7
I have edited Java > Editor > Save Actions to do the following: Remove trailing white spaces on all lines, Correct indentation
When I save the .java file, those actions are not applied... is this a bug?
Found this that might be related: https://bugs.eclipse.org/bugs/show_bug.cgi?id=350475
Assuming that this relates to JavaScript files, then the related Eclipse bug could be helpful.
The problem (as I've just experienced) is that you can edit the JavaScript -> Save Actions preferences via the context menu when editing a JavaScript file, but the actions will not be run.
The solution is to right click on the project containing the .js file, and select Configure -> Convert to JavaScript project.
The bad news is that this will then will also enable Eclipse's not-so-great JavaScript validation, therefore telling you that libraries such as moment.min.js are broken.
Well for those of you who have found this topic... I did find 2 solutions, no thanks to Eclipse, other than the fact that it is open source and people can write plugins.
Eclipse Platform Version 3.7
AnyEdit - plugin that does it for you when you Save file (I believe this is what eclipse SHOULD be doing)
Go to: Window > Preferences. Then under General > Keys. Make sure drop down for Scheme: is Default and enter 'remove trailing' in the filter. You should then see "Remove Trailing Whitespace" under the command column. Bind it to your own key command.
The only drawback to #2 is that you have to actually press the key binding while editing the file, kindof like a cleanup action.
Too bad Eclipse hasn't taken the approach that ALL file types should be configurable in this way... sometimes I miss TextPad.
Old question, but at least for newer Eclipse versions there's a better solution: Go to the project properties, then to Project Facets. If it tells you that your project isn't in faceted form yet, then convert it. Afterwards (or if it already was faceted), just enable the JavaScript checkbox.
I had the same issue with Eclipse 4.4 (Luna) and this fixed it for me, the save actions are now executed on save.
Adding to jlh's answer, I also had to configure the JavaScript include path of the project to enable save actions. Before that even a manual "Clean Up ..." from the source menu wouldn't work.
I'm running Eclipse Europa (3.3). I leave the "Build Automatically" setting, under the Project menu, on all the time. Once in awhile my code isn't compiling, and I puzzle over it and then pull down the Project menu ... lo and behold, it's not set anymore. What gives? Is this a bug, or is there something else I'm doing that could cause it?
Edit: I am running the regular Java developer installation, plus Subversive and its connectors, Jetty Launcher, and I believe no other plugins. Other people at my workplace have had the same problem.
Edit: I am still having this problem once in a blue moon, only now I'm using Eclipse Galileo (3.5) for Windows. I haven't had this problem in Galileo for OS X, neither in Cocoa nor Carbon, but I have not used that for as long.
With Eclipise Mars.1 (4.5.1), Oomph may be the culprit. Eclipse Oomph supports automatically disabling Build Automatically with entries in
On Windows
%USERPROFILE%\.eclipse\org.eclipse.oomph.setup\setups\user.setup
If you want to disable this Oomph behavior try deleting the following setting
"Eclipse->Navigate Menu-> Open Setup menu entry-> Open User menu entry", a Preference Task under "User Preferences -> org.eclipse.core.resources -> description.autobuilding"
I learned about this setting by posting to the Oomph Eclipse Community Forum on Feb 8th, 2016. I posted a question titled "Oomph Defect? Build Automatically Keeps Getting Disabled". Ed Marks replied the same day with details about Oomph's support for managing the Eclipse "Build Automatically" setting.
https://www.eclipse.org/forums/index.php/m/1722751/#msg_1722751
I don't have eclipse right here to test and make sure but here is an idea.
Is any of the project or even workspace file in SVN ? if they are and they were uploaded with auto build disabled that might explain it
You update and overwrite your settings. This doesn't become apparent until you restart eclipse. this would also explain why other people at your workplace experienc this. it would even explain why some don't : thay are the ones who are careful what they update and don't allow eclipse to overwrite their own settings plus the ones who actually prefer to have autobuild disabled :)
I had the same problem and when I looked at the Source tab under Java Build Path (under the menu Project > Properties ) there were some source directories that didn't exist anymore (marked with a red X). After I deleted them, compilation worked fine and all new .class files are under the bin folder.
Strange. Is there perhaps a plugin installed that turns this off without your knowledge?
Maybe there is some conflicting shortcut. For example, some duplicated shortcut may be toggling it.
I am running 3.4 and I also have this mysterious behavior. I had it in 3.3 as well. I use CVS not SVN. Does not seem to follow a pattern just once in a while it gets switched off and then weird confusing stuff happens until I remember to check it and switch it back on. I am almost to the point where I want to write a plugin to always turn it on when eclipse loads.
When installing Google Plugin for Eclipse, 'Google App Engine for Android' is also installed.
For me, I uninstalled 'Google App Engine for Android', which I didn't need, and solved this problem.