myeclipse的常用技巧

来源:互联网 发布:2013版excel数据在哪里 编辑:程序博客网 时间:2024/06/07 15:39

1、struts2需要在xml获得输入提示:

     1.打开[Window]-[Properties],打开对话框.
     2.在左边的树形列表中选择[MyEclipse]-[Files-Editors]-[XML]-[XML Catalog],此时右边显示相应的内容.
     3.在右边[XML Catalog Entries]下方有一个[Add]按钮,单击它,在弹出的对话框中输入:

                 typekey选择uri,key输入xml里面的http地址,location输入:本地解压出来的DTD文件的地址。
2、hibernate需要输入@,就能获得提示:

    1.打开[Window]-[Properties],打开对话框.

     2.在左边的树形列表中找到java-content assist。

     3.右边auto activation  trigger for  java里面输入@,把 auto activation delay的200,改为100,加快提示速度。

3.更改xml文件,txt文件,property文件等文件编辑器的字体设置:
    window--preferences--General--appearance--colors and fonts--Basic-- "Text font " 然后点edit,可以设置字体的大小

原创粉丝点击