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
  • 6 years ago
  • 39 minutes ago
  • 12 years ago

Installs

  • Total 7K
  • Win 6K
  • Mac 282
  • Linux 99
May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6
Windows 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 2 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