showing in popup window method implementation in intellij

ぐ巨炮叔叔 提交于 2019-12-01 13:58:47

问题


I'm using Intellij 2016.1 and I was wondering if there's a shortcut to see the method body in a popup window , instead of jumping to source code like Ctrl + Left Mouse Button does .


回答1:


The feature is called "Quick Definition Lookup" (Main menu > View > Tool Windows in the keymap settings). The default combination is Ctrl+Shift+I (or +Q for Mac).

It appears like

Any editing actions in the popup window lead to jumping into the file where the code is defined.




回答2:


Not to my knowledge,

Why would you just want to see the code in a popup? The signature yes, if you hover over the method it will show you the parameter types but if you are looking at body code then Ctrl-Click to jump to the code. Then you can CTRL-ALT Left Arrow to return to the original location



来源:https://stackoverflow.com/questions/37097919/showing-in-popup-window-method-implementation-in-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!