Giter Club home page Giter Club logo

sccautoswitcher's Introduction

SccAutoSwitcher

A Visual Studio extension that auto loads Scc providers depending on presence of reserved repository file or directories. Supported Scc providers are:

  • AnkhSVN (Subversion, default);
  • VisualSVN (Subversion);
  • Visual Studio Tools for Git (Git, default);
  • Git Source Control Provider (Git);
  • HgSccPackage (mercurial, default);
  • VisualHG (mercurial);
  • Perforce (thanks Iurii Zhogoliev).

More providers can be added, provided they are regular Scc providers and there exists an easy way to detect proper RCS type by checking file or directories presence starting from solution root directory.

It supports all Visual Studio versions from 2010 to 2017. License is MIT.

Options dialog page

SccAutoSwitcher offers a very simple options dialog page allowing to change the default Scc provider loading priority for different RCS types. To explain allowed values, let's take Suversion Scc providers as an example:

  • Default: means AnkhSvn is loaded first, if it's found, otherwise the latter is loaded.
  • AnkhSvn: will always try to load AnkhSvn, regardless of extension(s) install status;
  • VisualSvn: will always try to load VisualSvn, regardless of extension(s) install status;
  • Disabled: won't try to switch Scc provider for Subversion repositories, effectively disabling SccAutoSwitcher for this RCS.

Notice to popular Scc provider developers

No popular Scc provider seems to enforce itself using the same mechanism SccAutoSwitcher uses to load them. This may be a restriction of VisualStudio. enforced for Scc provider extensions only, or a misunderstanding on the used API[1]. Regardless of the motivation, this actually leaves doors open for competition, as multiple Scc providers can be installed for the same RCS type and there's no contention during solution loading: this is the specific moment when SccAutoSwitcher intervenes, acting as an arbitrator for the different Scc providers and efficiently loading the correct or favourite provider.

[1] https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.shell.interop.ivsregisterscciprovider.registersourcecontrolprovider.aspx

sccautoswitcher's People

Contributors

ceztko avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sccautoswitcher's Issues

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.