如何将源代码树与 Spring 工具套件集成

How to Integrating Source tree with Spring tool suite

我只想使用安装在 windows 机器上的源代码树。但我的要求是将源代码树集成到 spring 工具套件中,需要从 STS 访问源代码树..

我该怎么做..感谢任何帮助。

Source-tree 似乎是一个独立的 Windows 应用程序,充当 git 或 mercurial 的客户端。所以我不认为你可以 'integrate' STS 或 Eclipse with sourcetree。然而...

Eclipse 和 STS 已经为 'git' 提供了默认安装的名为 'egit' 的工具。因此,如果您使用的是 git,则无需执行任何操作,因为 Eclipse 'egit' 已经提供了 git 集成。 Egit效果还不错,我自己用的。

对于 Mercurial,还有可用的集成选项。例如: MercurialEclipse. You can install these on top of STS (or Eclipse). I don't know how good it is as I haven't used it myself. You can also do a google search 尝试查找更多支持 Mercurial 的 Eclipse 插件。