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
  • 5 days ago
  • 13 years ago

Installs

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