Open a GitHub repository in Visual Studio Code in your browser

  • Open a GitHub repository (try one of yours first)
  • Type a period character
  • This starts VS Code
  • On the left is a menu followed by code explorer
  • Drill down to a source file (note under options auto-save is enabled)


Copy code without clicking the Raw button
To the right, two icons over click on there double monitor to copy only code to the Windows Clipboard

Not GitHub

  • Open a new window in your browser (only tested with Chrome)
  • Type in https://vscode.dev/
  • Click the Open Folder in Explorer side bar
  • Select a folder with a Visual Studio solution on your local drive
  • View or edit as desire