mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
* Initial implementation * Refactor code, add link to blame decoration * Add links to timeline hover * Saving my work * Update remote order for "Open on GitHub" action * Bug fixes * Add link provider for graph hover * Rename method
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);