我只是从eclipse换成IntelliJ,我找不到这个特殊的功能 .
在Eclipse中,当光标位于方法调用的括号内并按Ctrl空间时,它会告诉我此方法采用哪些参数 . IDEA中有类似的东西吗?
是的 - 只需按CTRL-P即可 .
使用CTRL P(Mac的CMD P),它应该显示类似的东西 . 你也可以找到reference card (PDF)方便 .
CTRL P除外(或Mac的CMD P)
IntelliJ IDEA EAP中有新功能:
Parameter name hints
设置>编辑器>常规>外观
预览:
JetBrains关于此功能的视频:https://youtu.be/ZfYOddEmaRw
相关问题 - IntelliJ shows method parameter hints on usage - How to disable it
我正在使用:
IntelliJ IDEA 2016.3 EAP Build #IU-163.5219.11, built on September 27, 2016
通过调整IntelliJ / PhpStorm设置中的“Autopopup”-timer,自动显示参数助手 .
导航:
File -> Settings -> Editor -> General -> Code Completion -> Autopopup in (ms)
把它设置为你喜欢的任何东西 . 等等5毫秒 .
如果键绑定设置为“默认”,则按Ctrl P.
5 回答
是的 - 只需按CTRL-P即可 .
使用CTRL P(Mac的CMD P),它应该显示类似的东西 . 你也可以找到reference card (PDF)方便 .
CTRL P除外(或Mac的CMD P)
IntelliJ IDEA EAP中有新功能:
Parameter name hints
预览:
JetBrains关于此功能的视频:https://youtu.be/ZfYOddEmaRw
相关问题 - IntelliJ shows method parameter hints on usage - How to disable it
我正在使用:
通过调整IntelliJ / PhpStorm设置中的“Autopopup”-timer,自动显示参数助手 .
导航:
把它设置为你喜欢的任何东西 . 等等5毫秒 .
如果键绑定设置为“默认”,则按Ctrl P.