vscode/extensions/git-base
2023-03-29 21:07:09 +02:00
..
build Unfreeze Git Commit Message grammar II (#173195) 2023-02-07 13:40:16 +01:00
languages
resources/icons
src Git - remote picker should hide on blur (#178612) 2023-03-29 21:07:09 +02:00
syntaxes Unfreeze Git Commit Message grammar II (#173195) 2023-02-07 13:40:16 +01:00
.vscodeignore Make git-base a web extension 2022-04-25 21:03:41 +02:00
cgmanifest.json Update grammars (#175350) 2023-02-24 17:22:41 +01:00
extension-browser.webpack.config.js Make git-base a web extension 2022-04-25 21:03:41 +02:00
extension.webpack.config.js Make git-base a web extension 2022-04-25 21:03:41 +02:00
package.json Git-Base - Add syntax highlighting to the rebase-merge/done file (#171840) 2023-01-20 17:32:40 +01:00
package.nls.json
README.md
tsconfig.json
yarn.lock Engineering - adopt l10n for git-base/git/github extesions (#164566) 2022-10-28 11:27:08 +02: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);