Eclipse Disable Warnings inside Java Editor - eclipse

Usually, Eclipse shows the warning light bulbs on the left side of the Java editor.
That is fine.
Now, suddenly I see the light bulb and the warning also INSIDE THE CODE of text editor, what is sort of annoying. I must have changed some configuration, but I can remember which one.
Any idea of how to remove the warning from the editor?

The following Eclipse forum thread talks about this: https://www.eclipse.org/forums/index.php/t/1102047/ .
If you follow the link to the page to https://www.eclipse.org/eclipse/news/4.14/platform.php#show-markers-as-code-minings , it shows how to turn it off.

Related

Eclipse Fix all Problems?

I am in making of an analog Clock in Eclipse. After very hard struggle I am unable to create it. The reason is Error/Problems in Eclipse I want to know how to clear all Error one by one or all in once ?
The main documentation for the latest Eclipse Luna 4.4 is: "Quick Fix "
Left click on the light bulb or invoking Ctrl+1 (Edit > Quick Fix) brings up the proposals for the problem at the cursor position.
Each quick fix shows a preview when selected in the proposal window.
Some quick fixes offer to fix all problems of the same kind in the current file at once.
The information text in the proposal window contains this information for all applicable proposals. To fix all problems of the same kind, press Ctrl+Enter.
Remember: this won't apply to all types of errors, only to certain errors.

Eclipse IDE lost popup menu suggestions

I've seem to have lost the ability in my Eclipse to auto-correct errors in my source code lines.
For example, a line like this:
Date date = new Date();
has red jagged lines beneath the Date() part. Previously I could mouse hover over it see a popup menu of options to fix it. Now I all I ever get is a popup with the text "Cannot resolve to a type".
The only change I can think of that I've made and I don't know if it has anything to do with this problem, is that I started editing my .java files with an outside editor. Then focusing back into Eclipse I get a popup saying the source has changed and do I want to update so I say OK.
Sometimes I will edit inside Eclipse and sometimes i will edit the source outside of Eclipse. I'm not sure if this is a bad practice or not?
Its your wish to edit Java files outside or inside eclipse. But Java editor has many features which are very helpful to developers. I suggest to edit Java files inside eclipse only.If you find other editors are good or you used to it then no problem you can edit Java files out side eclipse also. The problem you mentioned in not related to it. But make sure that changes are applied before building project in eclipse.
Solution
This occurs whenever there are multiple classes are available with the same name in you build path then eclipse don't know which one to import by default. So keep the caret on the error line and press Ctrl+1. Then a eclipse gives options to user to import one among these. See the picture below. Choose the right one then error will disappear.

Eclipse: Edit code parser

I am using a plugin for Eclipse (The Eclipse plugin of SDCC).
This works fine (so far) but the problem is the inline assembly..
it is pretty annoying that the parser marks this code as syntax error
and furthermore that it marks symbols which are defined in a header file.
Therefore I want to extend the plugin a little bit such that the parser(s)
ignore the inline assembly part since the SDCC compiler will complain about it
anyway if it finds an error.
I've seen that there is an error parse since CDT 7.0 but I am not sure if this is
the right place to look at.
Can anyone help?
Place mouse pointer over highlighted code, then press F2 to have focus in popup suggestion window. At left corner of this window exists icon, click on such icon opens problematic item.
By setting/removing checkbox 'Text As', editor with highlighted code will be change view as well.
Usually they are all accessible through Window->Preferences->General->Editors->-Text Editors-> Annotations.
I used it on kepler CDT.

Eclipse Syntax Coloring Not Showing Correctly

I have a bit of a problem with Eclipse. I haven't had any issues with this until now, so I'm willing to be it's some broken settings somewhere. What happened is I moved form Sublime Text 2 to Eclipse. (I REALLY wanted to stay, but couldn't.) I attempted to import the Sublime Text 2 theme into Eclipse, and it seemed to work. But I can make any changes to the settings for Javascript now.
I go to Preferences -> Javascript -> Syntax Coloring and put in all of the colors I want. It works just fine. I close Eclipse and open it and they're all gone. I go back to the preferences and the colors are still there, they're just not showing up. I change one color and it shows up. Close, reopen, repeat. I don't know what's wrong, but I just want the colors I put in to stay. What could possibly be causing this?
EDIT: Completely forgot. Running the latest version of Eclipse (20120614-1722) on Windows 7. I started with Eclipse for Java Developers and installed the Web Page Editor plugin.

Disable Netbeans exception report window

I need to disable the "Exceptions" window that pops when you encounter an IDE error in Netbeans - I always report when I can but is driving me crazy right now.
Don't get me wrong, I love the application, but I'm getting tired of the errors on my screen, sometimes needing to delete a file and create him again to enable me to continue.
I can drag it to the side but my mouse loses focus.
I'm using Windows 7 and latest version of Java (netbeans PHP ide)
Is this possible?
You need to modify <netbeans-install-dir>/etc/netbeans.conf
Add
-J-Dnetbeans.exception.alert.min.level=99999 -J-Dnetbeans.exception.report.min.level=99999
to the netbeans_default_options entry.
You have to set some properties when launching Netbeans. Modify your application configuration in "nbproject/platform.properties" by finding a line run.args.extra=... and adding at the end:
-J-Dnetbeans.exception.alert.min.level=99999 -J-Dnetbeans.exception.report.min.level=99999
You'll find the details in Netbeans' wiki.
I would recommend using -J-Dnetbeans.exception.report.min.level=99999 but not the other one. This means the error icon will still appear when there is a problem, and you can report the error if you have a moment, but no dialog will pop up without your asking it to.