Overview

Sublime TFS

Sublime TFS is a plugin for the wonderful text editor Sublime Text 2 and Sublime Text 3.

Overview

Plugin adds TFS menu to Main.sublime-menu.

Plugin adds the following commands to Context.sublime-menu:

  • Checkout - Checkout current file
  • Undo - Undo changes in current file
  • Checkin... - Show checkin current file dialog
  • History... - Show current file history
  • Add - Add current file to TFS
  • Get Latest Version - Get latest version of current file
  • Compare With Latest... - Compare current file with latest version
  • Delete - Delete current file from TFS (remove file from storage too)
  • Status - Check current file TFS status
  • Annotate... - Annotate (blame)
  • Checkout Open Files - Checkout all open files

Plugin adds the following commands to Side Bar.sublime-menu:

  • Get Latest Version - Get latest version of selected in SideBar folder

Settings

[tf_path]

It specifies path to Team Foundation (TF.exe). Mandatory for all commands.

Usually it's in:

  • x86 - C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe
  • x64 - C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe

[tfpt_path]

It specifies path to TFS Power Tools (TFPT.exe). Mandatory for Annotate command.

Usually it's in:

  • x64 - C:\Program Files (x86)\Microsoft Team Foundation Server 2010 Power Tools\TFPT.exe
  • x86 - C:\Program Files\Microsoft Team Foundation Server 2010 Power Tools\TFPT.exe

[auto_checkout_enabled]

If auto_checkout_enabled is set to false - Sublime Text will show confirmation prompt on every checkout attempt, otherwise it will attempt checkout file on modification/save silently.

Usage

For almost all commands, except Add, the current file should be under TFS version control. After opening a file, you can execute a command in main menu TFS or from context menu.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.