I just installed the Scala IDE Eclipse plugin with a fresh install of Eclipse Indigo. I followed the getting started youtube video on the scala-ide.org main page on a fresh installation of Indigo. Instead of showing the complete documentation for the String Java class, it shows "type String = String"
I did notice incidentally by looking at the project properties, that in the scala-library.jar and others in the project, under "javadoc location," they show "(None) - non modifiable." I'm not sure if this is the problem, or if the Scala editor gets its documentation somewhere else.
Has anyone else experienced this and/or figured out how to fix it? Thanks!
In addition to the bug that you've raised (Mouse hover doesn't show documentation), there
are the following issues:
Hovering on a type should show its javadoc
Javadoc view regression
As you can see, the issue is a real bug, so there aren't any workarounds at the minute. Sorry.
You could always fix it if you like :-)
So there are updates to this question
The issues stated above are fixed in the latest release.
Hovering on type should show fix
Scaladoc integration with code completion
Please use the latest release of ScalaIDE(post 3.0.4-211) to work with them
Related
Edit: I am a dumbass who repeatedly went into CA for JavaScript instead of Java. This is what happens when you blindly use the search box, folks.
I know this question has been asked and answered here before, but there's a problem. The solution just isn't there anymore.
I have the exact same problem as this good fella. I saw the answers, they say it's been patched in the 2018-12 release, which I assume is about 18 months old (I've only recently started using eclipse). I'm on the 2020-03 release and, as I said, the Disable insertion triggers except 'Enter' just isn't there anymore. See below:
Eclipse Preferences->Editor->Content Assist Window in 2020-03 release:
I tried looking for it elsewhere in Preferences but I can't find it. When I try to google it all that comes is this same solution, and nothing useful comes up if I filter the searches for time. Does someone know where this option went or if there is another way I can fix this? It's driving me nuts.
Your screenshot shows the JavaScript, not the Java content assist preference page where this setting has never existed:
Window (macOS: Eclipse) > Prefences: JavaScript > Editor > Content Assist
The Java content assist setting described in the mentioned answer can still be found at the same place:
Window (macOS: Eclipse) > Prefences: Java > Editor > Content Assist
I can't see any documentation when I press "Ctrl + space" to see all the available functions.
For instance, in a Java class I can see the javadoc associated with each method:
But when I try to view the same information in a Scala worksheet, I can't see anything:
However, if I make a hover with my mouse over the method once it has been written I can see the documentation:
This behaviour is very annoying. Does anyone know how to do it in scalaIDE? Do I need to configure anything?
Perhaps you are using a non built-in compiler. In my case I was using as an installed compiler scala-2.12.0-M5.
If that is the case, try using a built-in one.
See also my last comment to the previous answer.
The new version should have the scaladoc integration working. Can you check if the Scala->Run Setup Diagonostics window and see if the two JDT options are checked?
ScalaIDE
I use Eclipse Luna with PyDev for Eclipse 4.0.0.201504132356.
My function returns a list, which is a list of objects from one class.
So i use it like this:
List = ListMaker()
print List[0].Stuff.Stuff
and this works(!); i see exactly what should be in the list.
However, when making a new new line of code and writing:
List[0].
i get immediately a Problem Occured Message:
No Message gotten (null message)
Java.lang.StackOverflowError
which is clearly wrong; since i see the output is fine and simply clicking the message away. I used the same project in Visual Studio with Python Tools for Visual Studio and never had this Problem either.
Clicking this message away is although pretty annoying. Does someone know how to fix this?
EDIT: The error occures in org.python.pydev.shared_core
I faced the same issue. I upgraded to Pydev 4.1.0 and it was resolved.
http://pydev.org/history_pydev.html
The the list of fixes that went in 4.1.0
This really seems like some recursion issue on the type inference analysis for PyDev.
Can you please report that as a bug at https://sw-brainwy.rhcloud.com/tracker/PyDev/ so that I can take a look to fix it?
If you could create a github repo with sources where I can reproduce the issue, that'd be awesome.
Also, your error log probably contains the stack trace where this happened... At http://pydev.org/faq.html#PyDevFAQ-HowdoIReportaBUG%3F there are instructions on how to get it (please include that in the bug report).
I have this bug in my eclipse which causes the screen to go black when moving unfocused tab around, it's really annoying and I'm trying to figure out how do I apply the fix mentioned in the above link. I tried to understand this answer and I also saw this answer but these didn't help, and trying to google for it brings up either info about how to fix the bugs themselves, or how to create patches.
I just want to fix my eclipse, the bug has been already fixed and I want to apply that fix to my eclipse, any thorough and detailed answers are welcome,
thanks
Just upgrade your Eclipse installation to 4.3. The bug has been fixed in that version and that version was released in June 2013.
I just updated to the latest Scala-IDE version on Eclipse, and it's highlighting loads of spurious "illegal cyclic inheritance" errors in code I know to be OK (it was before, and it still compiles and runs OK).
Any way to fix this? If not, how do I roll back to the previous version? I don't see any options to roll back or download earlier versions on the Scala IDE website.
Thanks.
edit: Never mind, it spontaneously sorted itself out after about 10 minutes sitting there showing errors. Will leave question here in case else anyone gets this.
"Project -> Clean Project" always helps me when Scala-IDE is showing weird error messages.
Sometimes errors will show in the editor, but not in the package explorer. Things still appear to compile ok when that occurs.