Git Product home page Git Product logo

vscode-gitextensions's Introduction

Visual Studio Code extension for GitExtensions

This is the Visual Studio Code extension to use Git Extensions (on GitHub).

It integrates all the Git Extensions command line features available in Visual Studio Code.

... ... ...

Features

Integration in the Command Palette

All the GitExtensions commands are available via the Command Palette:

  • GitExtensions: Blame current file
  • GitExtensions: Create a branch
  • GitExtensions: Browse repository
  • GitExtensions: Commit
  • GitExtensions: Checkout a branch
  • GitExtensions: Checkout a revision
  • GitExtensions: See in Diff Tool
  • GitExtensions: See File History
  • GitExtensions: Init a repository
  • GitExtensions: Resolve merge in GitExtensions
  • GitExtensions: Pull commits
  • GitExtensions: Push commits
  • GitExtensions: Reset changes
  • GitExtensions: Open settings
  • GitExtensions: Manage stashs
  • GitExtensions: Synchronize (Commit / Pull / Push)
  • GitExtensions: Create a tag
  • GitExtensions: Manage remotes

Preview of the commands in the Command Palette:

In command palette

Integration in the Status Bar

Commands available via the icons in the Status Bar (see VSCode settings to hide them):

  • GitExtensions: Browse repository
  • GitExtensions: See File History

Icons in the status bar:

In status bar

Integration in the File Explorer

Commands available via the explorer contextual menus :

  • GitExtensions: See in Diff Tool
  • GitExtensions: See File History
  • GitExtensions: Revert changes

Commands in the explorer:

In explorer

Integration in the File Editor window

Commands available via the editor and the editor title contextual menus :

  • GitExtensions: See in Diff Tool
  • GitExtensions: See File History
  • GitExtensions: Revert changes

Commands in the editor:

In editor

Integration in the Source Code Management (SCM) menu

Commands available via the Source Control Management title menu :

  • GitExtensions: Browse repository
  • GitExtensions: Commit

Commands in the SCM menu:

SCM integration

Settings to customize the integrations

All the settings available to customize Git Extentions integration to fit your needs by disabling the integration in some place of VSCode: Settings

Requirements

  • GitExtensions should be accessible in the PATH or configured in VSCode setting gitExtensions.exe.path.
  • Visual Studio Code v1.79

Known Issues

None known.

vscode-gitextensions's People

Contributors

dependabot[bot] avatar kahlkevin avatar pmiossec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vscode-gitextensions's Issues

Files or paths containing space character fail to open on Windows.

In windows if a path contains spaces it needs to be surrounded by double quotes.
Example:
%repo%\my path\my file.ts will fail to open
"%repo%\my path\my file.ts" will succeed.

problem code is here:
const registerCommandOnFile = (context: vscode.ExtensionContext, gitExtensionsPath: string, commandKey: string, command: string) => { context.subscriptions.push( vscode.commands.registerCommand(commandKey, (file: Uri) => { launchCommandOnFile(gitExtensionsPath, command, file); }) ); };

Basically line 69:
launchCommandOnFile(gitExtensionsPath, command, file);
should be
launchCommandOnFile(gitExtensionsPath, command, "${file}");

Add commands to the Explorer context menu

It would be great if you could add these three commands to the Explorer context menu (package.json: contributes.menus explorer/context):

  • GitExtensions: See in Diff Tool
  • GitExtensions: See File History
  • GitExtensions: Reset changes

Then it would work just like the GitExtensions add-in for Visual Studio! (Since I have to jump back and forth between VSCode and VS2015, the more I can make them work the same, the less my head hurts.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.