vscode-extension-samples/github-authentication-sample
Matt Bierner 73e249b3c1 Migrate all samples to eslint 9
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
2024-10-26 17:44:03 -07:00
..
.vscode
src Await `setOctokit` (#929) 2023-12-05 11:26:53 -08:00
.gitignore
.vscodeignore
README.md
demo.gif
eslint.config.mjs Migrate all samples to eslint 9 2024-10-26 17:44:03 -07:00
package-lock.json Migrate all samples to eslint 9 2024-10-26 17:44:03 -07:00
package.json Migrate all samples to eslint 9 2024-10-26 17:44:03 -07:00
tsconfig.json

README.md

GitHub Authentication Sample

This is a GitHub authentication example that shows you how to use the VS Code authentication API.

Demo

demo

VS Code API

vscode module

Running the Sample

  • Run npm install in terminal to install dependencies
  • Run the Run Extension target in the Debug View. This will:
    • Start a task npm: watch to compile the code
    • Run the extension in a new VS Code window