MyEclipse 常见问题

问题1. 复制项目时候部署到tomcat下面还是原来项目的名称
解决:
右键项目 选择properties属性 然后再myeclipse - web 中修改 web content-root

问题2: 取消JS验证
解决:
找到在项目路径下面的.project文件中配置了一些验证信息. 去掉以下几行即可
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
---------------------------------------------------------------------------
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>

问题3: 默认Workspace设置
解决1:修改D:\Genuitec\MyEclipse\configuration\config.ini
osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.5 将其修改为: osgi.instance.area.default=E://Workspaces
解决2:打开window-preferences-general-startup and shutdown-workspaces 勾选 Prompt for workspace on startup

问题4: 修改新建java类文件注释模板
解决:
Window->Preference ->Java -> Code Style -> Code Templates
code-> new java file
/**
* @author yde
* @date ${date} ${time}
* @version V1.0
* @Description: ${todo}
*/
${filecomment}
${package_declaration}

${typecomment}
${type_declaration}

 

 

--------------------------------------------------

posted @ 2014-02-10 09:54  _YANGDE  阅读(216)  评论(0编辑  收藏  举报