How to stop Eclipse from underlining functions?

Is there a way to disable underline code in Eclipse?

enter image description here

I use the eclipse-based IDE for a dynamic language, so it is annoying from time to time when it cannot find methods from classes in other folders, and it fills half of my screen with distracting yellow lines.

+4
source share
3 answers

Find "annotations" in the settings panel. Select "warnings" (if so) and uncheck the "text" box.

+5
source

Invalid reason methods are emphasized by the fact that eclipse automatically creates your project when editing code. The easiest way to stop the eclipse method from underlining is to automatically stop creating the project form by disabling this option. To do this, unselect from the project menu: Project → Automatically create

The Eclipse Wiki also has alternative ways to turn off auto-processing .

+1
source

You will also find syntax coloring in Eclipse for most languages. You will often find that you can turn on / off underlining and strikethrough in these sections.

For example, when viewing PHP files in Eclipse, you may find that parameter variables are underlined (for example, variables passed to a function). If you find this annoying (like me), go to "Settings" → "PHP-> Editor-> Syntax Coloring", select "Parametric Variables" and "Reject" to the right. I know embarrassment, since underlining is not syntax coloring.

Settings-> PHP-> Editor> Syntax Coloring

+1
source

All Articles