mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-23 11:16:01 +00:00
* Revert "chore: update to electron 16 (#137241)" This reverts commit01df559c18. This reverts commit46301339b7* 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>
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.
-
Copy
src/api/git-base.d.tsto your extension's sources; -
Include
git-base.d.tsin your extension's compilation. -
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);