Intellij Smart Parameter Annotation

Answered

Hi,

What is this feature called that automatically shows the parameter name, e.g. `name:` below?

and why does it show up like so for code that I created:

where the paramter names are replaced with things like: s, aBoolean, aBoolean1, etc.

0
3 comments

See https://stackoverflow.com/a/42346608/104891.

Your code probably uses the library that has no sources, so it's not possible to detect the actual parameter names.

0

Thank you that helped me a lot. I published a source jar. When I import it through "Choose Sources..." it works fine.

But when I am trying to "Download..." from IntelliJ, it says: "Sources not found: Sources for library-0.x.x.jar" not found. My source jar is published as "library-0.x.x-sources.jar"

What should be name of the published JAR that IntelliJ is looking for?

0

Check idea.log (https://intellij-support.jetbrains.com/hc/articles/207241085) for details, it may have a link that fails to download, test it in the browser.

0

Please sign in to leave a comment.