I click CTRL-F to find a string in Eclipse Oxygen.2 (4.7.2) on Ubuntu 18.10, and the code gets grayed out.
See the code behind the Find dialog in the screenshot.
Since I typically need to step through a few instances of the target string, this is frustrating: I have to close the find dialog to see the text.
How can I keep the code from being "grayed out" while I Find text?
Related
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.
When I write scala code in IntelliJ. Sometimes IntelliJ shows me somethings which I can improve in my code. Ex
The moment i move my mouse the tooltip disappears.
This is very nasty because I can't copy the content of the tooltip into the clipboard and then google it.
I clicked on the event log windows of the IDE but even that doesn't show the content of the tooltip.
Any idea how I can copy the content into the clipboard?
I already tried Analyze -> Inspect code. even there the content of the tooltip in the screenshot is not available.
Try Alt+Click to copy as described here:
https://youtrack.jetbrains.com/issue/IDEA-65636
I use Eclipse Neon under Windows 10.
I installed a plugin (MonjaDB) using Eclipse Market Place. As I didn't find the plugin to be very useful I uninstalled it using Help->About->Installation Details->Installed Software->Uninstall. Sadly, however, this didn't seem to fully remove the plugin.
I now have a small red square on the right hand side of my workspace in the shortcut toolbar. This cannot be removed using the close option. I went so far as to remove my installation of Eclipse and the .eclipse directory in my home area but after a reinstall the square is still there.
Presumably this means that it is somehow associated with the project in my workspace?? Does anyone have any ideas how to remove this annoying square?
EDIT:
I have noticed two things
The MonjaDB perspective is hanging around somehow and
If I press the little red square on the right it opens an empty tab in the tab set to the right (where mylyn sits) with the title of DB Tree but I cannot remove it.
I have added three screen shots
MonjaDb perspective Partly Active
It seems like your current perspective is the one that was uninstalled. Just try opening a new one via the Open Perspective toolbar button that's close to thevred square, and then you can try right-click > Close on the red square.
At least a part of this is intentional...when the implementation class of a view no longer exists we leave the view 'open' but are supposed to show an "Error Part'. The reason to leave it up is to handle cases where a user has installed a new eclipse and opens his old workspace before installing the extensions. If we were to remove the views the user would have to set up their perspectives again once they had installed the extension.
Note that resetting the perspective won't work because the class implementing IPespectiveFactory no longer exists.
Closing the perspective and opening a new, different, one should work. If the perspective you open has visible views that are no longer available you should just close them.
I used to see the line and column (character count) in the status bar of Eclipse (actually Precision32's version of Eclipse), but somehow it went away. According to the Eclipse UI guidelines it's supposed to be there:
Editors with source lines of text should show the current line and
optionally column numbers the status line. It's optional for the
editor to show line numbers for each line in the editor itself.
But I can't find anything that tells how to turn it on. I didn't update my editor, AFAIK.
Edit:
The editor is active.
I have no idea what happened, but it started working again. Might be when I installed Juno eclipse, maybe some register settings in common were touched? I hate doing a re-install to fix a problem as you lose settings and it isn't getting to the root cause, but for this round I'll have to accept it.
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.