I was coding in eclipse when out of a sudden eclipse began to delete marked text that I wanted to tab. I was looking through all settings but didn't find anything. Is there a shortkey?
Related
I have a problem with Eclipse in Debian Buster.
Every time I activate autocomplete near a word, the same is highlighted in yellow and, if I confirm completion, it is replaced.
In Windows I didn't have this problem; I believe it is some Eclipse setting but I don't know how to disable it.
Thanks in advance.
In Eclipse 2020-12 (4.18) the default behavior for the Java content assist changed from Completion Inserts to Completion Overwrites, which can be configured in Window > Preferences: Java > Editor > Content Assist at the top.
See also my video showing this new default behavior of the content assist and how the old behavior can be restored.
I've noticed the following on Eclipse 2019-09 R (4.13.0) for macOS, but it might have happened before: I can't see the current line columns anymore on the status bar:
for the obvious reason that the box is too small and the abbreviation is triggered. But I can't find a way to extend it, I've already tried to click and drag with no luck. This is very annoying when I need it.
Is there some option to change this?
This is Eclipse bug 551387 which is marked as fixed in Eclipse 2019-12 (4.14)
A workaround is to turn off 'Show cursor position in the status line' in the 'General > Editors > Text Editors' page of the Preferences.
You can see in the image, the variable classId is marked with some special colors, this is very helpful in the case of knowing where and all that variable is used in a particular block, same in the case of methods also. But in my Eclipse Galileo only for a particular workspace these marks are not appearing. The above image is taken from a different workspace, there it is working fine, but in that particular workspace it is not working that too only sometimes.
Workspace image for which this is not working
I have clicked on reference to which is visible in other portions of code, but not highlighted
Can anybody explain how can I bring it back in my Eclipse IDE.
This is probably the 'Mark Occurences' setting. This is selected by the 'Toggle Mark Occurences' button on the toolbar:
You may have to customize the perspective to see this button.
There is also a keyboard shortcut - Alt+Shift+O (⌥+⌘+O on macOS).
For Java files there are also settings in the Preferences in 'Java > Editor > Mark Occurrences'. Some editors for other languages have similar preferences.
I recently moved to intellij-idea-12 from eclipse.
In eclipse if select a text and click 'ctrl+k' or 'ctrl+shift+k', it takes me to next/previous search text within the file.
In intellij if i do select text and click 'ctrl+l' or 'ctrl+shift+l' it is not taking me to the search text.
In intellij first i have to do 'ctrl+f', then only 'ctrl+l' or 'ctrl+shift+l' are working.
Is there any setting to make it work like eclipse searching.
Note: I am not talking about changing keymap in intellij.
With the caret on the word you want to search for (or with the text highlighted), press CTRL+F3. After that, you can just press F3 to find the next occurrence and SHIFT+F3 to find the previous occurrence.
Note that I am still using version 11.1.5
By default it's ALT+J to move down and shift+ALT+J to move up.
I've installed Eclipse Juno SR1 and switched to my old workspace. When I open a java file in the editor, it seems to be minimized (or hidden). The titlebar shows the current file and the outline displays all methods.
This is much as described in the Eclipse Invisible Editor, however, the suggested solution 'Window > Reset Perspective' does not work for me.
Any ideas on how I can get the editor back in the window?
I have the same problem with previous version of Eclipse Juno (not SR1).
"Windows" -> "New Window" seems to bring back the invisible editor view.
Then just close the old one and restart eclipse to make sure it "remembers" the configuration.
Try Window > Reset Perspective to get things back to normal.
There are times when the editor or other views starts behaving erratic. For such situations do:
"Windows" -> "New Window".
Close the old one.
I had this problem in STS and then it contaminated my regular Eclipse in the same workspace. "New Window" helped, thanks!
You don't need to restart eclipse.
Just double-click your file inside the Package Explorer view. You will see it's name in the title bar, but it won't appear in the editor:
Now, just type Ctrl + w (in case of Windows).
Reopen your file, and it will appear in the editor: