[英]How to display Javadoc with parameter auto-prompt information in Intellij IDEA?
In Eclipse, when writing code, it prompts for all possible combinations and Javadocs associated with each combination. 在Eclipse中,编写代码时,它会提示所有可能的组合以及与每个组合关联的Javadocs。 However, in Intellij, JavaDocs can only be displayed after all parameters have been entered, and then performing a Control-Q on the method.
但是,在Intellij中,仅在输入所有参数然后对方法执行Control-Q后才能显示JavaDocs。 I can't make Javadocs appear as input like Eclipse.
我无法使Javadocs像Eclipse一样显示为输入。 This is a comparison of Eclipse and Intellij
这是Eclipse和Intellij的比较
Perhaps you are looking for this new feature to appear in IntelliJ 2018.2. 也许您正在寻找要在IntelliJ 2018.2中出现的新功能。 See the Early Access Program announcement for more discussion and screenshots.
有关更多讨论和屏幕截图,请参见抢先体验计划公告 。
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).
IntelliJ IDEA中的代码完成不断发展,现在IDE同时显示所有可能的自动完成和Javadoc(无需每次都直接调用Javadoc)。 Please be aware that you need to actually enable this cool new feature.
请注意,您实际上需要启用此超酷的新功能。 Go to
Preferences | Editor | General | Code Completion
转到
Preferences | Editor | General | Code Completion
Preferences | Editor | General | Code Completion
Preferences | Editor | General | Code Completion
and turn on theShow the documentation info pop-up in…
options.Preferences | Editor | General | Code Completion
,然后打开“在...中Show the documentation info pop-up in…
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.