Visual Studio not accessing the Unity API Documentation - workaround

Hi,

I might be a bit late to the party on this one but I couldn’t find a proper answer to getting it working so stumbled across the solution myself, which I am happy to share:

I’m just redoing the 2D unity course I first got part through in 2017. One thing that has been bugging me this time round is that I couldn’t get Visual Studio (VS) v 16.7.3 - (installed from 12th Sept 20 ) to bring up the unity documentation when highlighting keyword from the c# script.

The issue:

When highlighting c# unity commands in VS to bring up unity reference docs in a browser, I found that pushing ALT+CTRL+M (does nothing) and CTRL+H brings the VS search and replace function.
Both these key combinations are also listed under VS Menu Help> Unity API reference so I know its been installed properly.

Solution: Remap the Shortcut keys to something else:

Visual Studio > Tools> Options
Select Keyboard
Search unity
Select Help.UnityAPIReference
From: Use new shortcut in: and Add a different short cut & click assign

To test:
Highlight a unity command and push your preferred key combination. If all is OK it should work straight away.

interestin

Hmm, interesting. Thanks Jeremy, why did you call this decision only temporary? I found this thread via Web crawler API For Web Scrapers - ProxyCrawl because I was looking for a solution to my problem. That is, if I use it, it will only temporarily help? And another question, what could be the reason that the hotkeys do not work? I once had such a thing that there were some bugs in Windows, sometimes the computer just needs to reinstall the system so that it works efficiently again. I think it can also help, I’ll try to pull it off and write here how it turned out. I may be wrong, I’m just new to this business.

Haha - This was posted in 2020. If you asking why I said workaround that was because I never used to have that problem so assumed this was supposed to work and I had stumbled across a bug.