星雲STS 經常使用配置

STS4  下載地址:https://spring.io/tools    (這個版本沒有tomcat插件)html

STS3  下載地址:https://spring.io/tools3/sts/all  (這個版本有tomcat插件)java

1. 修改主題背景爲炫酷黑

Preferences-------> General------------>Appearance------------> Theme-------->Darkweb

 

 2. 修改字體大小

Preferences-------> General------------>Appearance------------> Colors and Fonts spring

3. 修改工做空間字符編碼

4. 修改關鍵詞代碼提示

abcdefghijlmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@.

 

5. 修改properties 文件字符編碼爲UTF-8

General --------Content Types---------------->Spring Properties File------------------> 將 ISO-8859-1 修改成 UTF-8tomcat

General --------Content Types---------------->Text---------->Java  Properties File------------------> 將 ISO-8859-1 修改成 UTF-8app

 

6. 去掉單詞拼寫檢查

General------>Editors--------->Text Editors-------->Spelling---------> Enable spell checking (是否開啓拼寫檢查)去掉前面這個對勾便可jsp

7. 企業級應用限制tomcat 版本

Window————> show Views——————> others...——————> Navigation 字體

對應XMl編碼

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
  <display-name>HelloWorld</display-name>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
  </welcome-file-list>
</web-app>

 

版本對照圖:spa

相關文章
相關標籤/搜索