API reference from source
Sorry if has been asked before I am a migratory use from Eclipse.
When highlighting a method and using CTRL-P (parameter info) I see a basic arglist (very rudimentary) which quite frankly isn't that useful, even then it does not seem to work all of the time, and effectively is pretty useless.
How can I, when highlighting/selecting a method pull up immediately on-screen the relevant Android/Java doc for that method?
This really is quite essential for me and would really help.
Other than that a great product but this issue essential to me!
Spasiba bolshoi/Many thanks
请先登录再写评论。
Use the Quick Documentation (Ctrl+Q or View > Quick Documentation) to view the javadoc. For this to work, you need to have one of the following configured for the library in question: source jar/zip/directory, javadoc jar/zip/directory, or javadoc URL. (See below.) You can have the quick documentation auto popup after a specified delay whenever you explicitly invoke auto completion. Go to File > Settings (Ctrl + Alt +S) > [IDE Settings] > Editor > Code Completion > "Autopopup documentation in (ms)". The quick documentation window can be docked if desired.While viewing the quick documentation, Shift +F1 (or the up arrow button) will open the documentation in your browser.
If you do not have sources or javadoc attached for the member in question, it will only show the parameter types. For example: new Rectangle(int, int). This is because it does not have the source or documentation to determine the parameter names. If you have one or the other (or both) attached, you will see the parameter names. For example: new Rectangle(int width, int height).
To attach sources and or javadoc:
Many thanks Mark, this has been a great help.
I really appreciate the time you took to reply and the answer pretty much sorts out all my issues.
Thanks again.