TFS extension for Visual Studio Code
Visual Studio Code Team Foundation Server integration
Important!
You MUST have a Visual Studio with Team Foundation Server features to be able to use this extension.
Installation
- Open up VS Code
- Type
F1
- Type
ext
in command palette.
- Select
Extensions: Install Extension
and hit ENTER
- Type
tfs
- Select
TFS
extension and hit ENTER
Configuration
You need to provide a path to the TF command line client used by the extension to perform TFS actions.
To set this path, add the following entry to Settings (File > Preferences > Settings):
"tfs.location": "<path-to-tf-command-line>"
If you plan to use the tf.exe
command line provided by the Visual Studio IDE, the value to provide will be similar to C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\TF.exe
.
Usage
Hit Alt + T
to list available commands for the current edited file.
List of available commands
- Add
vscode-tfs.add
- Check Out for Edit
vscode-tfs.checkout
- Delete
vscode-tfs.delete
- Undo Pending Changes
vscode-tfs.undo
- Open in Browser
vscode-tfs.openInBrowser
Issues
Please report any issue or comment here.
Contribute
To be able to contribute to TFS development, you need to be at ease with NodeJS language and Git usage.
git clone https://github.com/generalov/vscode-tfs.git
cd vscode-tfs
npm install
npm test
About the fork
This is a fork of ivangabriele.vscode-tfs. The changes are:
- Configurable path to
tf.exe
binary.
- New TFS menu commands.
- Improved error handling.
Links