void/extensions/git-base
Andrew Pareles 3b901ad60f init
2025-02-28 18:01:53 -08:00
..
build init commit 2024-09-10 19:37:36 -07:00
languages init commit 2024-09-10 19:37:36 -07:00
resources/icons init commit 2024-09-10 19:37:36 -07:00
src init 2025-02-28 18:01:53 -08:00
syntaxes init commit 2024-09-10 19:37:36 -07:00
.npmrc init 2025-02-28 18:01:53 -08:00
.vscodeignore init commit 2024-09-10 19:37:36 -07:00
cgmanifest.json init commit 2024-09-10 19:37:36 -07:00
extension-browser.webpack.config.js init commit 2024-09-10 19:37:36 -07:00
extension.webpack.config.js init commit 2024-09-10 19:37:36 -07:00
package-lock.json feat: swtich to npm as default package manager 2024-09-19 02:22:27 +02:00
package.json init commit 2024-09-10 19:37:36 -07:00
package.nls.json init commit 2024-09-10 19:37:36 -07:00
README.md init commit 2024-09-10 19:37:36 -07:00
tsconfig.json init commit 2024-09-10 19:37:36 -07:00

Git static contributions and remote repository picker

Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.

Features

Git static contributions and remote repository picker.

API

The Git extension exposes an API, reachable by any other extension.

  1. Copy src/api/git-base.d.ts to your extension's sources;
  2. Include git-base.d.ts in your extension's compilation.
  3. Get a hold of the API with the following snippet:
const gitBaseExtension = vscode.extensions.getExtension<GitBaseExtension>('vscode.git-base').exports;
const git = gitBaseExtension.getAPI(1);