Visual Studio Code Team Foundation Server integration
You MUST have a Visual Studio with Team Foundation Server features to be able to use this extension.
- Open up VS Code
- Type
F1
- Type
ext
in command palette. - Select
Extensions: Install Extension
and hitENTER
- Type
tfs
- Select
TFS
extension and hitENTER
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
.
- Automatic Checkout (for Edit) on saving a file.
- Add
- Checkout
- Undo
- Open In Browser
- Delete
Please report any issue or comment here.
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/bheklilr/vscode-tfs.git
cd vscode-tfs
npm install
npm test
This is a fork of generalov.vscode-tfs. The changes are:
- Configurable path to
tf.exe
binary. - New TFS menu commands.
- Fixed checkout for edit on save.
- Improved error handling.
- Registered each action as a VS Code command so that it can be called directly
- Added a Delete command
- Opened up issues so bugs or feature requests can be made.
This was forked from generalov.vscode-tfs because that repository had not been committed to in over a year. I felt it easier to just make the changes myself and re-publish. Pull requests welcome.