Visual Studio
Return focus to the document
The Visual Studio shortcut for return focus to the document is Esc. It is listed for Windows, and no Mac version is documented here.
Where it works: Tool window focused
These are the defaults for Visual Studio's General settings profile. Other profiles change them.
Where this comes from
Keyboard shortcuts in Visual Studio - Microsoft Learn
Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.