配置eclipse

1.自动提示

Window -> Preferences -> Java -> Editor -> Content Assist -> Auto Activation
添加:abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.
在这里插入图片描述

2.设置字体类型和大小

Window -> Preferences -> General -> Appearance -> Content Assist -> Colors and Fornts,只需修改 Basic 里面的 Text Font 就可以了
![在这里插入图片描述]( https://img-blog.csdnimg.cn/2020011322411492.png?x-oss-process=image/watermark ,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3lpbmNoaDEwNjEy,size_16,color_FFFFFF,t_70)

3.设置文本文件及JSP文件编码

  • Window -> Preferences -> General -> Workspace -> Text file encoding -> Other

![在这里插入图片描述]( https://img-blog.csdnimg.cn/20200113225449811.png?x-oss-process=image/watermark ,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3lpbmNoaDEwNjEy,size_16,color_FFFFFF,t_70)

  • Window -> Preferences -> Web -> JSP Files

![在这里插入图片描述]( https://img-blog.csdnimg.cn/20200113225633311.png?x-oss-process=image/watermark ,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3lpbmNoaDEwNjEy,size_16,color_FFFFFF,t_70)

4.properties文件中文乱码设置

Window -> Preferences -> General -> Content Types -> Text -> Java Properties File -> UTF-8 -> Update -> OK
![]( https://img-blog.csdnimg.cn/20200113230737860.png?x-oss-process=image/watermark ,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3lpbmNoaDEwNjEy,size_16,color_FFFFFF,t_70)

4.去掉拼写检查(下划线波浪线)

5.多行注释不要自动格式化(多行会自动合并成一行,太难看了)

posted @ 2020-02-28 23:39  惬意的小屋  阅读(264)  评论(0)    收藏  举报