Is it possible in Eclipse to set longer time to show hints? - eclipse

I want to know if it's possible to set a longer time to show hints in eclipse?
Eclipse has many hints(tooltips) for suggesting about error corrections or description about classes.
It makes me nervous, when I want to select my code with mouse to copy or doing something else, this ugly hint appears so fast.

This is what i've found:
eclipse hint, maybe it can help you.
You can go to the editor preferences:
Window -> Preferences -> "your language" -> Editor -> Content Assist
and choose how many delay you want

Related

Eclipse - compiler errors showing in the code. Looking for preference to remove it

I just installed a new Eclipse version (2020-12 with Wild Web Dev), and now Java compilation errors, in addition to being highlighted, also show up as text in the source file. That makes the lines to jump around, and is pretty annoying. I cannot figure out how to switch that feature off in Preferences.
Thank you very much for help.
It turned out to be a Code Mining setting. This particular one is in General -> Editors -> Text Editors -> 'Show code minings for problem annotations.' Changing it to 'None' removed the problem.

How to change eclipse suggestions order and content

I installed the Eclipse Neon but feels bad with its code suggestions.
Take the code template as an example, usually I type main and press <ALT> + / to show the suggestions. In the old versions, the main method template shows at the first one. However, the top N is occupied by many Main* class main, it doesn't make sense for me.
Is there any way to change it ?
how to remove any Main* class's suggestions
how to let the code template move to top
Not exactly what you need, but the most approximate solution I know is that you can press CTRL+SPACE repeatedly to browse the content assist list. The first list Eclipse shows is the default proposals. But if you press CTRL+SPACE again and again, Eclipse will show a more specific list each time.
Go to Window > Preferences > Java > Editor > Content assist > Advanced.
The upper list allows you to select (not to sort, sorry!) the contents that will show up as default proposals. This is where you read this unordered, unpractical list of contents. Then, if you press CTRL+SPACE again, Eclipse will show the poposals by categories. The order for these categories to show can be set by the lower list in this window: Content assist cycling.
Don't know if this will be relevant any more, but i ended up here looking exactly for this, and later found out a solution. This might be linked to a specific Eclipse version (i use Oxygen right now)
Go to Window > Preferences > Java > Editor > Content assist and you will find an option that let you select between relevance and alphabetically.

Eclipse Color Theme - Hard to read javascript in jsp editor

I've been using the Eclipse color theme plugin, and it's been great so far - However there's one problem/setting I can't seem to figure out how to change - it's occurring when I try to edit javascript in a jsp page - when I choose a dark color theme (Monokai in this case), Eclipse highlights the code with a javascript tag with a light highlight (see attached pic).
Does anyone know if there's a setting I can change in eclipse to change or remove this, or if it's even possible to change?
I ran into this problem as well.
Short Answer:
Window -> Preferences-> MyEclipse -> Files and Editors -> Javascript -> Editor -> Syntax Coloring -> Background
More Answer:
You have to poke around for a while, but it seems like everything is somewhere in the Window -> Preferences path, and not necessarily where other related things are.
There's one section for html, one for jsps, and another for all the javascript inside of both of those, for example. One for global defaults (which others inherit... sometimes), etc. The key phrase to look for is "Editor"- then you know you're probably going to be able to configure the color of something.

Ctrl-Space in Eclipse without Pressing Ctrl-Space

I've just started using Eclipse and I noticed that when I start typing a local variable name it doesn't come up with suggestions like Visual Studio does until I press Ctrl+Space. Is there any way to get it to do this automatically? I find Ctrl+Space an awkward key press.
These bugs (and a solution if you use Eclipse >3.4) may be of interest to you:
A. Allow more character triggers as #Samuel said (fixed in 3.4 onwards):
https://bugs.eclipse.org/bugs/show_bug.cgi?id=159157
Change the default in Auto activation triggers for Java to ._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
B. Allow content assist everywhere automatically (not fixed):
https://bugs.eclipse.org/bugs/show_bug.cgi?id=101420
What works:
Change the Auto activation triggers to .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
You're unlikely to type anything else to get assist started.
Window -> Preferences
Java -> Editor -> Content Assist
Change auto-activation to suit your preferences
You will probably want to set the delay to 0.
Also to make Auto Complete work in XML files do the following changes in
Preferences -> XML -> XML Files -> Editor -> Content Assist
Under Auto Activation section, provide the following values
Make Auto activation delay (ms): 0
Prompt when these characters are inserted: <=:._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
Following screenshot explains the same

PHPEclipse weird highlight

This is not a technical problem, but very annoying.
Does anyone know how to turn off or change the color for the name highlight in phpEclipse?
I use white-on-black scheme and this highlight has a white background which makes it unreadable and very ugly.
To better explain which highlight I'm refering to, it's when I move the cursor to a variable/function/method/constant, all other places that name is typed get highlighted.
I've spent a few days going thru the settings many, many times and I haven't found one that changes that specific annoying highligh.
Anyone? please? :)
For Java in Eclipse it is:
Window > Preferences > Java > Editor > Mark Occurrences.
My ruby plug-in has the same option. Do a search in the preferences window for 'Mark Occurrences' and hopefully the php plug-in has the same option.
Thanks, that was it, Mark Occurences.
When I searched thru the options I was looking for color pickers instead of checkboxes :)
It would be nicer to be able to change the highlight color for that, but even removing it is of huge help.
From Eclipse, go to Window > Preference, use the filter field ("type filter text") to search for "color". It will show all the config options related to the colors.
I suppose it's not a problem with phpEclipse, but an incompatibility with another Eclipse plugin.
PS: When you fix the problem please tell us what that setting!