`
mugui83
  • 浏览: 4704 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Eclipse的基本设置

阅读更多

默认编码设置:

Window->Preferences->General ->Content Type->Text->JSP 最下面设置为UTF-8

Window->Preferences->General->Workspace   面板Text file encoding 选择UTF-8

Window->Preferences->Web->JSP Files 面板选择 ISO 10646/Unicode(UTF-8)

 

自动补全输入:

  • 类文件自动补全:Windows->preferance->java->Editor->Content Assist 面板最下端 Auto Activation 将Auto activation triggers for Java后面的文本框中的“.”替换成“abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.”
  • XML文件自动补全Windows->preferance->XML->XML Files->Editor->Content Assist
    面板最上端 Auto Activation 将Prompt when these characters are inserted后面的文本框中的“<=:”替换成“<=:abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ”

XML约束设置:

Window->Preferences->XML->XML Catalog->User Specified Entries窗口中,选择Add 按纽

DTD类型约束文件 Key Type: URI
XSD类型约束文件 Key Type: Schema Location

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics