给Eclipse安装Git插件
Installing the Team Foundation Server Plug-in for Eclipse
在Eclipse中使用TFS插件##
Installing the Team Foundation Server Plug-in for Eclipse Work from the Git command prompt Team Foundation Server Plug-in for Eclipse - Beginner's Guide
##Eclipse的代码在TFS中显示乱码##
GBK还是UTF-8? Eclipse连接TFS的编码之痛!encoding, encoding, encoding…
相信大家都遇到过,网上下载的demo是用GBK编码,而我们的Eclipse设置为UTF-8,导入后中文注释显示乱码的问题。前几天偶然点错了,发现了一个解决方法,分享出来,以前知道的请轻怕。 下面是详细步骤:
1、Eclipse设置为GBK编码,这时候文件显示为中文。 2、Eclipse设置为UTF-8,Unix编码,文件显示乱码,这时候选择回退(Ctrl+Z)、保存(Ctrl+S),这样显示的就是中文了。很简单的操作,已经知道的不要拍砖了就,谢谢。
同理,网上下载的UTF-8,本地设置是GBK也是这样,不过还是建议把本地编码设置为UTF-8好一些。 附:修改工程编码方法: Window-Perferences-General-Workspace-Text file encoding