ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime TFS

by CDuke Win ALL

Use TFS inside Sublime Text 2/3

Labels tfs

Details

  • 2017.12.06.07.28.58
  • github.​com
  • github.​com
  • 7 years ago
  • 39 minutes ago
  • 13 years ago

Installs

  • Total 7K
  • Win 6K
  • Mac 282
  • Linux 99
Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

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
  • Shelve… - Show create a shelveset for pending changes dialog
  • Annotate… - Annotate (blame)
  • Move… - Move/Rename current file in TFS
  • Checkout Open Files - Checkout all open files
  • Set TFS Credentials… - Allows to provide tfs_username and tfs_password settings. See below.

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

  • Get Latest Version - Get latest version of selected in SideBar directory-or-file
  • Checkout - Checkout selected in SideBar directory-or-file
  • Checkin… - Checkin selected in SideBar directory-or-file
  • History… - Show history of selected in SideBar directory-or-file (recursive on directories)

Settings

[tf_path]

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

Usually it's in:

  • VS 2010 - (x86) - C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe
  • VS 2010 - (x64) - C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe
  • VS 2013 - (x86) - C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\TF.exe
  • VS 2013 - (x64) - C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\TF.exe
  • VS 2015 - (x86) - C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\TF.exe
  • VS 2015 - (x64) - C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\TF.exe

[tfpt_path]

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

Usually it's in:

  • VS 2010 - (x86) - C:\Program Files (x86)\Microsoft Team Foundation Server 2010 Power Tools\TFPT.exe
  • VS 2010 - (x64) - C:\Program Files\Microsoft Team Foundation Server 2010 Power Tools\TFPT.exe
  • VS 2013 - (x86) - C:\Program Files (x86)\Microsoft Team Foundation Server 2013 Power Tools\TFPT.exe
  • VS 2013 - (x64) - C:\Program Files\Microsoft Team Foundation Server 2013 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.

[auto_checkout_timeout]

If auto_checkout_enabled is set to true - Sublime Text will wait until this timeout to consider it fails during checkout.

[tfs_username] and [tfs_password]

Provide custom credentials to access TFS.

You can set only tfs_username in settings file and provide tfs_password on each Sublime session with Set TFS Credentials... command from Context menu or Main menu.

[always_is_graph]

Always show graphical window. See Issue #19

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.

Special Thanks

  • Mathieu DARTIGUES