Source Control SwitcherAutomatically sets the Source Control Provider according to the one used by the opened Visual Studio project. All you need to do is to set your favourite defaults using the extension's dedicated Source Control Switcher option tab, which will be added to your Visual Studio Tools -> Options panel upon install, as in the screenshot below: Once done, your favourite Source Control Provider will be automatically set everytime you open an existing project or solution. Alternatively, you can use the Default feature to let the extension automatically pick a suitable Source Control Client among those installed on your system. This is often the best choice if you've only installed a single client/extension for each Source Control Provider. Supported Source Control Clients (and their provider) are:
More providers can be added, provided they are regular source control providers and there exists an easy way to detect proper RCS type by checking file or directories presence starting from solution root directory. Each provider (Subversion, Git, Mercurial or Helix) can be configured to either load a specific client (among those supported) or to get the first installed one found (Default). The extension is fully compatible with VS2015, VS2017 and VS2019. License is MIT. This extension is strongly based to SccAutoSwitcher by Francesco Pretto, which sadly seems to be no longer updated and lack some important features such as VS2019 support and async loading support (which led me to create this project). Useful References |