eclipse默认的花括号对齐方式与C++里面的风格不一样,要想改回去就按如下步骤 Window-->Preference-->Java-->CodeStyle-->Formatter 点击Active profile栏右边的edit按扭后 选择Brace页 Brace option 的Class or interface declaration项及下面的所有选项,最后一个最好不选,选next line然后该 名字保存为另一个profile 然后在使用它就可以了 |
如何修改my eclipse 新建JSP文件时的默认模板
MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.1.zmyeclipse601200710\templates\jsp
修改Jsp.vtl这个文件就可以了