We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to be able to see the documentation of asInstanceOf. Most likely it is not shown since Any.class is a synthetic class and not present in the scala-library.jar neither in scala-library-sources.jar. See also https://youtrack.jetbrains.com/issue/SCL-22167/documentation-missing-for-methods-defined-in-Any
I can see the documentation as for any other method
Linux
VS Code
v1.29.0
No response
The text was updated successfully, but these errors were encountered:
Thanks for reporting! Looks like the sources might not contain them. We could try getting documentation from https://github.com/scala/scala/blob/fcc67cd56c67851bf31019ec25ccb09d08b9561b/src/library-aux/scala/Any.scala#L150 somehow
Sorry, something went wrong.
Yes, the sources.jar does not contain it. Jetbrains suggested to add it to the sources.jar. Would that be enough for metals to pick it up?
I think so. We do index everything there. We could possibly download it additionally ourselves if needed and is published
in Scala 3 at least they should be available in the ctx.docCtx in the compiler
ctx.docCtx
will be in sources.jar with scala/bug#12958
No branches or pull requests
Describe the bug
I would like to be able to see the documentation of asInstanceOf.
Most likely it is not shown since Any.class is a synthetic class and not present in the scala-library.jar neither in scala-library-sources.jar.
See also https://youtrack.jetbrains.com/issue/SCL-22167/documentation-missing-for-methods-defined-in-Any
Expected behavior
I can see the documentation as for any other method
Operating system
Linux
Editor/Extension
VS Code
Version of Metals
v1.29.0
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: