I recently installed Eclipse Luna on Ubuntu 14.04 LTS.
For some reason the Navigator view shows no red cross icons to indicate errors. The icons are shown in the Project and Package views. I've looked through the view preferences but there appears to be no config parameter which controls the visibility of this icon.
This used to work in my previous Eclipse version (Helios).
However after scouring the web I can find nothing recent, related to this.
Anyone else getting this problem with Luna? Is this now normal behaviour for the Navigator view?
Thanks
Sadly, it is normal behavior for quite some time now. There is a bug resolved as WONTFIX - https://bugs.eclipse.org/bugs/show_bug.cgi?id=364660.
Below is some comments from this bug:
A little bit of explanation here. Having the decorations in navigator in Eclipse prior to Indigo SR1 was caused by using a wrong class as a problem decorator in java ee plugins. Further more the decorations were available only in Java EE distribution of eclipse (because of the location where the problem decorator definition was).
You can check for more details here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=291498
And
...note that the 'Navigator' view is no longer actively worked on and we, the Platform UI team, have no plans to add new features to that view.
Related
I have been using vscode with no problems until recently. Now no errors show up, some variables never change color. And I have a constant error message:
Project ... has no explicit encoding set
I have no idea what I need to do to fix it.
Just a few minutes earlier I was also having the same problem. Here is how I fixed it:
Click on the Gear Icon.
Click on Settings.
Click on Command Palette.
Type Clean java language server workspace.
Hit Restart and Delete.
After reloading is done, the issue will be fixed.
I believe this is a bug caused by v1.5.0 Red Hat's Language Support for Java extension. Nothing I tried fixed it, so the best solution may be to wait for the extension developers to fix it.
You can follow the issue on GitHub https://github.com/redhat-developer/vscode-java/issues/2416
Update 4/21/2022: Looks like it was caused by an upstream issue in the Eclipse JDT Language Server (which is used by the Visual Studio Code Java extension). Check the GitHub link above for details.
Update 5/13/2022: Upstream issue has finally been resolved and merged. Red Hat's Language Support for Java extension no longer has this bug for me as of v1.6.0.
I experienced the same problem after the Language Support for Java by Red Hat extension had been updated to v1.5.0. No code errors were reported and only the message about no explicit encoding was shown in the Problems tab.
I was able to resolve the issue by clicking the "..." next to "Java Projects" in the Explorer view, and selecting "Clean Workspace", then "Restart and delete".
After the application had reloaded, the issue was gone and language server started working as usual.
I have same problems before few minutes ago.
and I solved this problem.
File -> Save Workspace AS -> Choose Your directory -> Save
After upgrading to new eclipse Oxygen (4.7.0), I don't see code warnings or errors when I hover on the highlighted code element.
Also, I can't get variable values in debug mode when hovering on one.
For both cases, javadoc is being show.
I tried to reset hover preferences under Java and general section to its defaults, but it does not fix the problem.
Is there any workaround/fix for this, or as usual, we have to wait for the next eclipse service release?
I'm answering my own question, to help anyone with the same issue.
After reporting this to eclipse Bugzilla, I got a comment about possibility of conflict with an updated plugin. I then checked my newly installed plugins and found the guilty one: ZipEditor v1.1.3.201703012047
Deleting this plugin fixed my issue.
EDIT: It looks like the issue was layered and I had to remove eclipse Class Decompiler 2.9.11.20170710, too.
I've been living with a very annoying problem in Eclipse where if I declare a type that cannot be uniquely resolved, the tooltip that prompts me to choose the correct class sometimes does not display the full link.
As seen in the screenshot here, I have 9 different Version classes in my workspace, and only 3 of them display properly in the tooltip. The other 6 links still work, but I'd have to click on them first to see exactly which one gets imported.
I've had this problem for quite a while now, and updating to the latest Kepler release did not help. Has anyone else seen this problem or any idea how to debug this?
Specs:
Ubuntu x64 13.10
Eclipse 3.7.2 ~ 4.3.1
Anuparna provided the link in the comment which resolves my issue.
*Edit
Solution:
Go to General->Appearence->Colors and Fonts: Basic > Dialog Font and play around with the settings until you find something that works.
I am using the GAMA framework for agent based modeling, which relies on Eclipse Indigo SR2. I was not sure if this was a GAMA issue or an Eclipse issue, so I am posting to both the GAMA help as well as Stackoverflow.
So I am using Eclipse Indigo Modeling Framework and I cannot seem to load the .product file for the Plugin. Whenever I try and load it, it just shows "unable to open editor" in the Product Configuration Editor window. There is really no message or error indicated, so I am not sure how to debug this one. I thought I might be missing a plugin, but it seems that the GAMA svn project will download all of the plugins necessary. Any suggestions would be appreciated. I have included a picture to demonstrate the issue.
Figured this one out. In this case, you need to click on the Java perspective before it will work. So the omission was simply changing the perspective. Good lesson though.
I have a warning in my Java code that I fixed. However, it remains in the "Problems" view. I can't figure out how to get eclipse to refresh it. It's even highlighting the wrong line (it's an unchecked cast, and it's displaying on the method header line)
I'm using eclipse 3.7.2 with the android development kit and the git plugin installed in the workspace, although this project is not an android project.
The project does not have a builder associated with it; I am building at the command line. I have cleaned and rebuilt everything and refreshed the project.
I've also tried removing org.eclipse.jdt.core and org.eclipse.core.resources/.projects//.indexes, and I've tried closing and re-opening the project.
Any suggestions?
Does the "Source" column of the problems view say "Android lint" for this warning, even though it is no Android project? If so, please upgrade the Android Development Tools plugin to the current version. In ADT 20.0.2 a bug was fixed which held outdated Java warnings/errors active even after fixing them.
See suggestion by original requester in comments for How to update warnings in Eclipse?
"Take a look in the 'Problems' view and delete the warnings manually."
Once the 'stuck' warnings are deleted normal Eclipse service should resume.