Error indicators in file margin in eclipse indigo - eclipse

I just switched to eclipse indigo and mac osx lion. Everything works fine but errors don't show up in the right file margin like they did in past versions. The code is being built and squiglies are showing up on errors but not in the right file margin. How do I set those errors to show up?

Open Preferences, select General/Editors/Text editors/Annotations, and make sure that the errors/warnings are selected to be displayed in the Vertical and Overview rulers.

From Running Eclipse on Mac OS X Lion: 'Figured it out, if you go to system preferences > general > click the "when scrolling" button, to only show the scroll bar when scrolling it fixes it. Mine was previously on "always". I restarted eclipse and it shows the errors/warning message etc now.'

Related

Eclipse window relocation on Sierra

I've just updated my MacBook to macOS Sierra. I've got this weird problem with Eclipse where every time I try to open anything with autocomplete (Cmd+Mouse Hover) or even if I just hover over an element that has attached Javadoc, the console window which I keep on my second monitor, snaps over to my primary monitor and covers whatever it is that I've hovered over.
Before Hover:
After Hover:
For reference I hovered over list.add on line 23.
Does anyone know why the Sierra update causes this behaviour? I can dock the console window inside Eclipse and it doesn't do it but it's a right pain because it makes my code editing window smaller. Normally I have the package explorer and Ant tabs open as well so docking the console makes my code window positively minuscule.
Any fixes or even reproductions would be heartening, just so I know I'm not going completely mad.
Update: It's not just the console, any window that's not attached to the main Eclipse window will exhibit this behaviour.
Uncheck last check box (Displays have separate Spaces), it has other drawbacks but it fixes 2 windows eclipse on multiple monitors.
EDIT : Still works on High Sierra

Eclipse in Ubuntu starting without any window visible (only menu bar)

I'm running Ubuntu 14.04 and Eclipse Kepler. Since yesterday I've been experiencing a strange issue: when I open up Eclipse, all that I'm seeing is the menu bar on the upper Ubuntu bar. No code editor, window whatsoever.
In order to see a window I go to Window -> New window, but this is just a workaround. It starts up a new window with no preferences set, no last edited files etc. Moreover it shows that I have 2 Eclipse windows opened, while I can only see 1.
Any ideas on how to fix that?
I agree with Gorka, it looks like it was related with window size.
Here my solution (worked for me on Ubuntu 14.04):
1) Switch to Eclipse so that menu header is visible (you can use Alt+Tab or click on Eclipse icon in the list of applications)
2) Press Ctrl+Super+ArrowUp (Super=Windows button usually between Ctrl and Alt)
This combination maximizes active window, so it restores Eclipse to full screen.
Go to Window -> Show Toolbar. That should fix your issue.
Edit: Also try Window -> Close All Perspectives. Now, Window -> Open Perspective -> Other... and select Java (default).
I had exactly the same problem, the only solution I could find was to download the newest Eclipse version from www.eclipse.org instead of from the Ubuntu repository.
I had the same issue and I've found out what was happening:
The problem was that the size of the eclipse window had been reduced to the minimum, see my desktop in http://i.imgur.com/lTlgOvb.jpg and notice the small vertical line in the top-left corner. This small line is the eclipse window, so just go with the cursor and make the it bigger.
I had exactly the same problem happening on only one workspace I had setup within Eclipse. I pressed some keyboard shortcut to make it happen but didn't know what that shortcut was (fat fingers meant I pressed a key I didn't mean to) and now can't reverse it! All other workspaces loaded up fine.
Managed to resolve it by Clicking on Window -> New Window!
I was having the same issue and got to fix it by just maximizing the windows (window button + up arrow key).. lol
stupid, but worked.

Eclipse Debug View pops up on a breakpoint in full screen mode

I just got Eclipse Kepler a couple of days ago - pretty nice! Unfortunately the Debug view gets focused while encountering a break point in full screen mode. Afterwards I need to click somewhere to make it disappear.
I made a screen shot:
Can this be customized? I wasn't able to find anything in the preferences. I also had the same issue with the Console view but these two nice buttons made it work.
Thank you!
Yes, you can disable using a setting, from eclipse Window-> Preferences -> Run/Debug -> uncheck Activate the debug view when a breakpoint is hit.

When opening java files in Eclipse Juno, the editor seems to be minimised or hidden

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:

Running Eclipse on Mac OS X Lion

Eclipse runs fine, but I lost the error/warning/todo vertical bar on the right (right next to the new scroll bar). Does anyone has the same problem? Thanks!
Same, ahhhh how do you fix this, SOOO annoying
Figured it out, if you go to system preferences > general > click the "when scrolling" button, to only show the scroll bar when scrolling it fixes it. Mine was previously on "always". I restarted eclipse and it shows the errors/warning message etc now.
Now that the Eclipse team fixed the issue, you can also go to "Help" > "Check for updates" and install the platform updates. It fixed the issue without having to change the MacOS Scrollbar settings for me.