Visual Studio For Mac Vs Vs Code

Posted on  by 

  1. Visual Studio For Mac Tutorial
  2. Visual Studio
  3. Visual Studio For Mac Vs Vs Codependency
  4. Visual Studio For Mac Vs Vs Codeine
Active1 month ago

How to connect Visual Studio Code on mac with Team Foundation Server(TFS).

Visual Studio Code on the other hand for me is I think more reliable. I use Visual Studio second to the Adobe Brackets. Atom keeps lagging and crashing in my case. For Mac, What’s New in Visual Studio for Mac or the Visual Studio 2017 for Mac release notes. Visual Studio Team Services. Visual Studio Code or the VS Code release notes.

Or any other way to connect with tfs?

Pritish
PritishPritish
1,0132 gold badges10 silver badges32 bronze badges

4 Answers

This are the steps to effectively connect a TFS (TFVC) Repository to your VS Code on Mac:

INSTALL THE SOFTWARE

  1. Install Visual Studio Code for Mac (currently here: https://code.visualstudio.com/download).
  2. Install the TFS extension for VS Code: Go to the Extensions tab in VS Code, Search for TFS and install.
  3. Install TEE-CLC. Follow this guide: https://www.youtube.com/watch?v=VPNaEIVZfr0&feature=youtu.be.

CREATE A LOCAL TFVC WORKSPACE IN YOUR MAC

Now you need to have a local TFVC Workspace on your machine. If you don't have one (as it was my case), you need to create it. The following steps are partially extracted from https://stackoverflow.com/a/21785438/2816119.

  1. Create a local folder where you are going to download and locally store the source code.
  2. Open a Terminal window.

  3. Create a local workspace from your terminal window with the following command:

  4. Map your repository folder to your local folder with the following command:

  5. If everything went well, you'll see a new sub-folder '.tf' in your local folder.

  6. Open your local folder with VS Code. If everything went well you'll se after a few seconds the TFVC icons in the bottom bar:

GET THE SOURCE CODE

To get the source code you'll need to go to the Source Control Tab ->Ellipsis (...) button ->Sync.

Once you press it you'll see a progress bar moving in the Source Control Tab and you'll see how the source code is downloaded to your local folder.

ENJOY

Now you can use your TFVC repository as described in their guides.If something is not clear or you have questions please let me know. I'll try to help you :-)

Studio
juangalfjuangalf

Get the software

  • tee-clc (can be installed with HomeBrew), which depends on
  • Java 6, 7, or 8 (see How to install Java 8 on Mac -- as of this writing, Java 9 will not work.)

Create a workspace using tee-clc ('tf')

Visual Studio For Mac Tutorial

Tell tee-clc to remember your credentials (in OSX's Keychain) by adding this line to your .bash_profile. Then close and reopen your terminal or just paste the same command.

Accept the EULA.

Create a workspace.

Map a path on the server to a local folder.

Visual Studio

Get the code and store your password. Make sure you type your actual username; if you enter your_username here it may get stored in the OSX Keychain and tee-clc is really dumb about replacing it later.

If it works, it will download your code to that folder. You can also use the other commands.

Use the Azure Repos Extension on VS Code

Get the Azure Repos extension.

Add the following settings (CMD+,):

Type which tf in Terminal to find out what the value for location should be. I'm not sure if 'restrictWorkspace' is necessary. I got it from a comment on Github while I was troubleshooting.

Finally, open the folder containing your code. From the command palette (⌘+⇧+P) type Team: Signin. If that works, you can start using the other features in the plugin.

Patrick McElhaneyPatrick McElhaney
38.3k35 gold badges113 silver badges152 bronze badges

GIT

VS Code ships with a Git source control manager (SCM) extension. Most of the source control UI and work flows are common across SCM extensions.

More details please refer this tutorial:Using Version Control in VS Code

Note:VS Code will leverage your machine's Git installation, so you need to install Git first before you get these features. Make sure you install at least version 2.0.0.

TFVC

You can connect to TFVC using the Visual Studio Team Services extension since version 1.116.0 (2017/04/12).

Note:You need Team Foundation Server 2015 Update 2 or later.

PatrickLu-MSFT

Visual Studio For Mac Vs Vs Codependency

PatrickLu-MSFT
32.2k4 gold badges13 silver badges40 bronze badges

Check the below link. It is working fine for me

Steps to be followed:

Visual Studio For Mac Vs Vs Codeine

Step 1: Install Eclipse

Step 2: Download and install the TFS everywhere plugin

Step 3: Checkout your solution using the eclipse to a local folder

Step 4: Open the solution in Visual studio and make the code changes

Step 5: Open eclipse and commit your changes.

Shyju MadathilShyju Madathil
2,3781 gold badge17 silver badges27 bronze badges

Not the answer you're looking for? Browse other questions tagged macostfsvisual-studio-code or ask your own question.

Coments are closed