Let's say I have the following line of Android code:
MyClass myClass = (MyClass) intent.getExtras().getSerializable("SomeKey");
How can I make IntelliJ/Android Studio open a browser and navigate to the following URI when hitting F1 while the cursor has marked "getSerializable"?
http://developer.android.com/reference/android/os/Bundle.html#getSerializable(java.lang.String)
Is there a plugin for this maybe?
Are Android Studio projects compatible with IntelliJ IDEA? Yes, the two IDEs use the same project format.
Android Studio may be a better choice for businesses that develop primarily Android Applications. It is worth noting that Android Studio is based on IntelliJ IDEA, so for businesses that develop for multiple platforms, IntelliJ IDEA still offers some support for Android development in addition to other platforms.
TL;DR: Android Studio (3.0 version and after) takes a lot of RAM and it's lagging, IntelliJ IDEA is way faster.
Open up Project Structure
window and then go to Libraries
and point to the android jar:
Now press the green plus sign:
Choose the Specify Documentation URL...
option:
Enter the Android SDK API url:
Press OK
all the way back so you end up in the editor again. Now place the caret at the method and press Shift+F1:
The browser will open up and navigate to the correct page.
In my Android Studio 1.5.1 installation, the libraries are listed in the Structure View
once I select my module from the Project View
and select Android
from the drop-down as shown in this link:
Click >> Project View and Project Structure View
Now right-clink on the library you want to add URL to and select Library Properties
. A window will popup with a button Specify Documentation URL
and you can paste your URL there.
Click >> Library Properties windows and Documentation URL popup
Now you can go to the code editor, select any element you want to see documentation for and press Shift+F1
and browser will open up with the corresponding URL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With