I am currently working through a Unity tutorial and one of the tasks I had to do is access the Unity API help documentation from within my code editor which happens to be Visual Studio 2015 which I am using on my Windows 10 PC. Unfortunately the API help documentation plugin is not installed by default.
To add the plugin browse to this link and download the Visual Studio 2015 Tools for Unity. Install the Unity Tools for Unity and then follow the below steps to setup a shortcut.
Keep in mind that I used ctrl + ‘ as the shortcut as used in Monodevelop. This will overwrite a teams shortcut. This was done for 2 reasons, to use the same shortcut from Visual Studio on my Windows PC and in Monodevelop on my Linux machines. Using ctrl + m and ctrl + h did not open the API documentation for me as described in the official documentation.
- Open Visual Studio
- Browse to: Debug -> Options
- Drop down Environment and click on Keyboard
- On the right hand side look for Help.UnityAPIReference
- Set your desired shortcut key and click on “OK”
I only tested this for Visual Studio 2015, not sure if later versions are supported.