版本: eclipse-jee-2019-12-R-win32-x86_64.zip
解压后发现没有svn,于是要下载
Latest Releases - Eclipse Subversive | The Eclipse Foundation
Latest Stable Build
This is the most up-to-date version of the Subversive plug-in. It's aimed to provide you with access to the latest Subversive features before they become available in the Subversive build included into the yearly Eclipse Simultaneous Release.
Release Date: 25 April 2017
Version: 4.0.5.I20170425-1700 (Change log)
Update Site:
${project.name}
Archived Update Site:
Subversive-4.0.5.I20170425-1700.zip
就选择这个就可以了,然后解压放到dropins文件夹下
启动后,发现可以新建资源,但是提示缺少SVN Connector,于是又到网上下载
Polarion® : Subversive - Subversion Team Provider for Eclipse - Downloads
选择
Subversive Connector Archives
http://community.polarion.com/projects/subversive/download/eclipse/6.0/builds/ – Subversive Connector Archives for Subversive 4.0
点进去,选择最后一个
Subversive-connectors-allplatforms-6.0.4.I20161211-1700.zip |
然后打开Ecilpse, 选择Help,点击Install New Software,选择Add, 在弹出框选择Archive...然后选择刚才下载的Subversive-connectors-allplatforms-6.0.4.I20161211-1700.zip压缩包,对的,不用解压,然后只选择Subversive SVN Connectors这一项即可,不要选第二项,不然会报错,下一步同一继续安装到完成即可.
一些常用设置:
设置(Window-Preferences):
General-Appearance-Colors and Fonts-Basic-Text Font-Edit-11号字体
General-Workspace-Text file encoding=UTF-8
Java-Code Style-Formatter-Edit-Profile name自定义,Indentation Tab 2,2
Java-Code Style-Organize Import-全部删除
Java-Editor-Save Actions-Perform the selected actions on save-Format source code,Organize
imports,Additional actions
Server-去掉选项Show Servers view when server state changes(一般我们的tomcat启动后都会从console跳到Server)