Open Eclipse.

Note 
These installation instructions assume that you have Eclipse 3.5. On other versions of Eclipse, the steps might have different menu items, but the process is the same.


On the Help menu, click Install New Software.

The Install dialog box appears.

Click Add.

The Add Site dialog box appears.

In Name, type Local Team Explorer plug-in archive.

Click Archive.

Specify the location of the archive file on the product media of this procedure and click Open.

You can find the archive file TFSEclipsePlugin-UpdateSiteArchive-10.1.0.zip in the \PluginForEclipse folder on the product media.

You can also download the archive file from the following page on the Microsoft Web site: Microsoft Download Center.

Click OK.

In the list of features in the Install dialog box, select the check box that corresponds to Team Explorer Everywhere.

Click Next two times.

Accept the Microsoft Software License Terms, and then click Next.

Select the Use a full-featured trial version of Microsoft Visual Studio Team Explorer Everywhere check box, and then click Finish.

You must restart Eclipse when prompted.

------这是帮助文档上的一段

对于Myeclipse8.5有所不同:
方法一:
选择HELP菜单中的myeclipse configuration center 会很慢很慢
选software add site 将你下载的TFSEclipsePlugin-UpdateSiteArchive-10.1.0.zip添加进行 完后重启myeclipse

对于上一种方法 我是这么搞都不爽 又慢又卡
推荐使用方法二:
1、从官网下载TFSEclipsePlugin-UpdateSiteArchive-10.1.0.zip文件

2、在myeclipse安装目录下新建tfs文件夹(与Common文件夹在同一目录下)

3、从TFSEclipsePlugin-UpdateSiteArchive-10.1.0.zip中解压出features与plugins文件夹,复制到c:\MyEclipse\tfs里面,其它的*.xml文件不要。

4、在E:\MyEclipse\MyEclipse8.5\dropins下新建文件tfs.link,内容是:path=E:\\MyEclipse\\tfs 保存。

5、重启myeclipse就一切正常了。

所有有关的插件都可以这样安装 这样就方便多了