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.
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
When trying to install eclipse, when I run the installer I just get a blank box with no packages to select. Image Link
Any idea on how I could fix it, I have my java environment variable and java_home both set to the \bin location for both my java installations. The versions of java I currently am using are jdk 8 and I got jdk 16 to see if that might fix the issue but it didn't. As well, there weren't any errors or anything it just shows the empty box and shows that there's an update but I'm not sure what it's trying to update. Any idea how I could fix it?
Solution that worked for me:
Ok so after some fiddling around I had to search "eclipse" in the search all bar in windows. Then after some scrolling I was able to find the file "eclipse-isnt.exe" and after running that it showed the stuff to download and solved my problem. The "eclipse-isnt.exe" ended up being located in "C:/Users/(user)/AppData/Local/Temp/(random temp file)/eclipse-inst.exe".
Hope this helps out
Also running the file as administrator worked
I am very new with netbeans. I was following an introduction course which shows how to Bind jLabel to a jslidebar.
The course shows netbeans 7 and I found similar samples with 8.x.
Steps
Add jslidebar to a form.
Add jLabel
Right click on jLabel
Click on Bind
I have installed netbeans 9 and 10 in two different machines but "bind" option is not in the menu or in another menu. Or at least, is not easy to be found.
Was it option renamed or removed on ver 9/10? Is anything missing in my installation?
Thank in advance for all.
Regards
The first results of my investigation are that Netbeans 9+ has dropped the use of beansbindings.
This is what pull request #300 on the netbeans github repository seems to indicate.
You can still compile an older (Netbeans 8) project after downloading the org.jdesktop.beansbinding jar from the maven repository for example, and adding it as a JAR dependency to your project. However, you won't be able to edit the bindings themselves using the Netbeans 9+ UI.
I haven't yet found a way to replace this with an equivalent solution. I tried reproducing what PR#300 mentioned above is doing, but that doesn't seem to work properly (at least with Netbeans 9 and JDK 9.0.4).
I'll edit this response if I do find a neat way of doing this.
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.
So I'm using Eclipse for Java development but I'm getting annoyed that the "Quick-Fix" context menu is incomplete. In the Eclipse documentation, there's a full list of all the quick fixes for different common problems. If I press Ctrl+1 over an error, I get an incomplete list of "Quick-Fixes".
For Example, I know for a fact that "Create setters and getters" is a quick fix for instances where private variables in a class are never called.
However, this is not an option when I use the Quick Fix command for the item.
Also, quick fixes are NOT showing up in the context menu for items marked with errors. I have confirmed in Preferences > Java > Editor > Content Assist: that "Insert common prefixes automatically" is checked to True.
Is there possibly a problem with the JRE? (I DID have an issue earlier where the context menu wouldn't appear at all because eclipse couldn't find the .rt file. I had to decompress it and point eclipse to the folder containing the JRE before it would show anything.)
Any help would be greatly appreciated. Thanks in advance!!
So I feel so stupid but found the issue. Somehow, I installed the 2008, 3.3.2 version of Eclipse. Stumps me how it happened by it did. Lol. So After uninstalling and reinstalling the newest version of Eclipse, everything worked as expected. Thanks.