Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Auto TFSNew to Visual Studio Code? Get it now.
Auto TFS

Auto TFS

Nikhil Patil

|
8,180 installs
| (4) | Free
| Sponsor
TFS/TFVC integration for Visual Studio Code — Free for personal use, commercial license available
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TFS integration for Visual Studio Code

GitHub Build CodeQL GitHub Dependabot Sponsor Ko-fi

Full TFS/TFVC source control integration for Visual Studio Code — with auto-checkout, SCM view, shelving, check-in, diff, and more.

Using AutoTFS at work? A one-time commercial license covers your entire organization permanently. Buy now — $49 →


Screenshots

Auto TFS demo

SCM view showing color-coded changes

Explorer view showing color-coded changes

Compare changes against server version Quick diff


Features

  • Configurable automatic checkout, add, delete, and rename on source control
  • Checkout, add, delete, rename via context menus in Explorer, Editor, and Editor Title
  • Get latest of entire workspace or individual items from context menus, status bar, and SCM view
  • Compare files with the latest server version in Visual Studio Code or Visual Studio
  • In-file quick diff for checked-out files
  • Check in files with or without a Visual Studio prompt
  • Shelve and replace shelvesets
  • Color-coded SCM view with badges showing workspace changes — same as Git
  • Automatically or manually sync (refresh) workspace changes
  • View all changes in the SCM view, with options to compare, revert, shelve, include, and exclude
  • Open files on the server in a browser
  • View item history via Visual Studio prompt
  • TFS language support: English and Spanish

Prerequisites

  1. This extension requires access to the TF command-line tool provided by Microsoft. You need either:

    • Visual Studio IDE with TFS capabilities (i.e. TF.exe installed), or
    • Team Explorer Everywhere — github.com/Microsoft/team-explorer-everywhere

    Note: Other third-party tools may also work if they accept the same commands and produce compatible output. Note (Team Explorer Everywhere): May work on Linux and macOS, but this has not been tested.

  2. The extension requires a workspace already mapped in TFS (preferably as a Server workspace).

  3. Minimum Visual Studio Code version: 1.95.0


Installation

  1. Open VS Code
  2. Press F1
  3. Type ext and select Extensions: Install Extension
  4. Search for auto-tfs
  5. Select Auto TFS and press Enter

Configuration

Set the full path to your TF tool in VS Code Settings (File > Preferences > Settings).

Recommended: Configure in Workspace settings if AutoTFS is only used for specific workspaces, to avoid conflicts with Git workspaces.

"auto-tfs.tf.path": "<path-to-tf-command-line>"

If your TFS installation uses a language other than English, set it here:

"auto-tfs.tf.language": "<installed-tfs-language>"

This is the language of TFS itself, not the extension UI. Currently supported: English and Spanish.

Example paths:

Visual Studio 2015 and earlier:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\TF.exe

Visual Studio 2019 (Professional):

C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\TF.exe

Team Explorer Everywhere:

C:\Program Files (x86)\TeamExplorerEverywhere\tf.cmd

Authorization

If credentials are required, you will be prompted to enter them for the TFS account your workspace is mapped to. Otherwise, commands execute silently.


Available Commands

Command Description
Checkout Check out a file for editing
Add Add a new file to source control
Undo Undo pending changes
Delete Delete a file from source control
Get Latest Get the latest version of a file or folder
Get All Latest Get the latest version of the entire workspace
Sync Refresh change badges and SCM view
Compare Here Diff against server version in VS Code
Compare in Visual Studio Diff against server version in Visual Studio
View History Open item history in Visual Studio
Open on Server Open the file on the TFS server in a browser

Privacy & Security

AutoTFS is completely telemetry-free. No data, code, file contents, or usage information ever leaves your machine. It operates entirely locally using your existing TF tooling — no external servers, no analytics, no tracking of any kind. Safe for use in secure, regulated, and air-gapped environments.


License

AutoTFS is dual-licensed:

  • Personal & Non-Commercial Use — Free under the MIT License. Covers individual developers, students, and open source projects.

  • Commercial Use — A one-time commercial license is available for use within companies, organizations, and government bodies, regardless of team size.

Commercial License

If you use AutoTFS as part of your work, a commercial license supports continued development and ensures you have a clear, compliant relationship with the software.

A single purchase covers your entire organization, permanently. No renewals, no recurring charges. A receipt is provided upon purchase, suitable for expense reimbursement.

Buy a Commercial License — $49 one-time →

For licensing questions, open a discussion or contact via GitHub.


Links

  • AutoTFS on GitHub
  • MIT License
  • Commercial License

Inspired by niberius/z-tf-utils

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft