Hello @Javango ,
Thank you for taking time to post this issue in Microsoft Q&A forum.
If you didn’t install the Help Viewer, when you press F1, a web page should be opened. If you installed the Help Viewer, then Help Viewer should be opened.
Both of above conditions should happen when you focus the cursor on Class… and press F1.
Please first try the suggestion that shared by Viorel. Try to directly click Help > View Help to see if Help Viewer can be correctly opened.
If Help Viewer can be opened when you click Help > View Help, then please go to Tools > Options… > Environment > Keyboard > Press shortcut keys > press F1 and confirm that in "Shortcut currently used by:" box, Help.F1Help(F1 (Global))
has been assigned.
- If the command wasn’t assigned, please try to assign it by searching
Help.F1Help
command in "Show commands containing:" box, select it and press F1 in "Press shortcut keys:" box > click Assign > click OK. - If the command has been assigned, please try following:
-
- Assign another shortcut key to
Help.F1Help
command just for testing. For example, assign Alt + Z. If it works for newly assigned shortcut key, then the issue may be related to the conflicts aboutF1
on your side.
- Assign another shortcut key to
-
- Please click Win + Ctrl + O to turn on on-screen keyboard, choose one keyword in your project in VS, for example
class
, make sure that the cursor focusses onclass
in VS. Use on-screen keyboard, click Fn then click F1, check if the Help Viewer opens.
- Please click Win + Ctrl + O to turn on on-screen keyboard, choose one keyword in your project in VS, for example
If Help Viewer cannot be opened when you click Help > View Help, then please try following:
- Reset Visual Studio settings by opening Developer Command Prompt for Visual Studio 2022 Community > typing
devenv /ResetSettings
. - Repair Visual Studio from VS Installer > More > Repair.
- Reinstall Help Viewer from VS Installer > Modify > Individual components > Code tools > Help Viewer(uncheck > Modify > check it again > Modify).
Besides, please also try these methods to troubleshoot the issue:
- Clean web browser’s cache.
- Disable any extension/antivirus temporarily and test again.
If it is acceptable, you can assign a new shortcut key to Help.F1Help
command as a workaround currently.
Please feel free to let us know if it works.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.