MyEclipse常用设置
MyEclipse 选择 Windows
->Preperences ->General ->keys
找到 word completion的快捷键
把原alt+/删掉!//必须
把Content Assist 的快捷键 改成alt+/
或者你想改的其他快捷键
MyEclipse编码设置
Myeclipse安装后编码默认是GB18030,一般推荐用UTF-8。如果在导入项目后发现乱码现象,那是编码设置设置不对。
全局编码设置的方法:ToolBar-->Window-->Preferences-->General-->Workspace-->Text
file encoding,设置合适的编码。
局部编码设置:在源码按右键-->General-->Editors-->Test
Editors-->Spelling-->Encoding,这里是设置单个文件的编码。
推荐还是使用全局编码设置。
MyEclipse设置JSP页面默认编码方式:
windows(窗口)-Preferences(首选项)-MyEclipse-Files &
Editors-JSP-右侧encoding:设置为ISO10646/Unicode(UTF-8)
MyEclipse在Java文件中设置作者、日期等说明:
windows(窗口)-Preferences(首选项)-Java-Code Style(代码样式)-Code
Templates(代码模版)-右侧Comments(注释)-选择Types(类型)-点击edit(编辑)-输入如下信息
点击OK(确定)-选中左侧的代码样式-选择右侧复选框(Automatically add Comments for new
Methods and types)(自动为新方法和类型添加注释)-点击Apply(应用)-点击OK(确定)
eclipse里面有一个spell
check的开关,把它关了。具体操作windows->preference->输入spell
自动提示:具体操作windows->preference->输入content
assist
选择Java->editor->content assist
Auto activation triggers for
Java:后面输入.abcdefghijklmnopqrstuvwx
然后导出
修改字体:window-preferences-general-appearance-color and fonts--basic
-text font-change
任意键代码提示:
打开 MyEclipse 8.5 -> Window
-> Perferences -> Java -> Editor -> Content
Assist,在右边最下面一栏找到 auto-Activation ,下面有三个选项,找到第二个“Auto activation
triggers for Java:”选项 输入abcdefghijklmnopqrstuvwx