Spring Tool Suite使用
1.下載地址: http://spring.io/tools
2.配置字符編碼:UTF-8
默認的編碼是ISO-8859-1的西歐文字編
1、windows--perferences--general--workspace,Text file encoding設置成utf-8
2、windows--perferences--general--content types,把里面text的default encoding update成utf-8
3、windows--perferences--web--jsp files,把這里的encoding設置成utf-8
4、項目的pom.xml里面增加一個配置 project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3.調整字體
Window - Preferences - General - Appearance - Colors and Fonts
4.安裝SVN
Help - Install New Software - Add
http://subclipse.tigris.org/update_1.8.x
全選下載安裝完成之后重啟STS即可5.集成tomcat
Window - Preferences - Server - Runtime Environment - Add
6.集成的過程出了個問題:可以安裝8.0的版本 但是這個tomcat 版本是8.5.6
The Apache Tomcat installation at this directory is version 8.5.6. A Tomcat 8.0 installation is expected.
7.因為SVN上傳的項目不是很規范的maven項目 導致down下來變普通java項目:
右擊項目 - configure - convert to Plug-in projects
8.導入code模版
Window - Preferences - Java - Code Style - Code Template - Comments - Import