eclipse使用技巧

一、在不同的范围查找

ctrl + h ,你选择 file search 然后在下面输入要查找的字符串,默认是全部项目进行查找,还可以在选中东西的里面查找,即selected resource。

https://blog.csdn.net/u010022051/article/details/50322035

二、maven项目和dynamic web项目

https://blog.csdn.net/u010411264/article/details/46119371

https://www.cnblogs.com/noteless/p/5213075.html


三、设置智能提示

https://blog.csdn.net/songyi160/article/details/53063748

1、java智能提示


(1). 打开Eclipse,选择打开" Window - Preferences"。


(2). 在目录树上选择"Java-Editor-Content Assist",在右侧的"Auto-Activation"找到"Auto Activation triggers for java"选项。默认触发代码提示的就是"."这个符号。


(3). 在"Auto Activation triggers for java"选项中,将"."更改:.abcdefghijklmnopqrstuvwxyz


2、XML智能提示


(1). 打开Eclipse,选择打开" Window - Preferences"。


(2). 在目录树上选择"XML-Editor-Content Assist",在右侧的"Auto-Activation"找到"Prompt when these characters are inserted "选项。


(3). 在"Prompt when these characters are inserted"选项中,将"<=: ,"更改:<=:.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW


四、设置字体大小

eclipse使用技巧