在 Eclipse 中,编写代码时,它会提示所有可能的组合以及与每个组合关联的 Javadoc。 但是,在 Intellij 中,只有输入所有参数,然后对该方法执行 Control-Q 后才能显示 JavaDoc。我无法让 Javadocs 像 Eclipse 一样显示为输入。 This is a comparison of Eclipse and Intellij
最佳答案
新功能,2018.2
也许您正在寻找 IntelliJ 2018.2 中出现的这一新功能。请参阅Early Access Program announcement了解更多讨论和屏幕截图。
The code completion in IntelliJ IDEA continues to evolve, and now the IDE shows both all the possible auto-completions and Javadoc, at the same time (without the need to directly invoke Javadoc each time). Please be aware that you need to actually enable this cool new feature. Go to
Preferences | Editor | General | Code Completion
and turn on theShow the documentation info pop-up in…
options.
(来源:cloudfront.net)
关于java - Intellij IDEA中如何显示带有参数自动提示信息的Javadoc?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50556429/