vscode/extensions/git-base
Robo df645f1450
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
..
build Extract git static contributions into a separate extension 2021-11-12 11:35:35 +01:00
languages Extract git static contributions into a separate extension 2021-11-12 11:35:35 +01:00
resources/icons Extract remote source provider registry into the vscode.git-base extension (#137656) 2021-11-24 20:48:44 +01:00
src enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
syntaxes Extract git static contributions into a separate extension 2021-11-12 11:35:35 +01:00
.vscodeignore remove unecessary files in build 2022-02-18 20:38:55 +01:00
cgmanifest.json Update grammars 2021-12-07 15:12:01 +01:00
extension.webpack.config.js Extract remote source provider registry into the vscode.git-base extension (#137656) 2021-11-24 20:48:44 +01:00
package.json chore: revert to electron@13 (#143851) 2022-02-24 17:49:49 +01:00
package.nls.json Extract remote source provider registry into the vscode.git-base extension (#137656) 2021-11-24 20:48:44 +01:00
README.md Add extension readme file 2021-12-02 17:07:55 +01:00
tsconfig.json Extract remote source provider registry into the vscode.git-base extension (#137656) 2021-11-24 20:48:44 +01:00
yarn.lock chore: revert to electron@13 (#143851) 2022-02-24 17:49:49 +01: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);