eclipse解决格式化代码的时候自动加*号(多行注释)
这个问题需要在eclipse中设置才行,设置为“不格式化注释”
请依次点击: Java->Code Style->Formatter 点击new ,输入myself,在Tab上选择Comments,将General settings中的"Enable comment formatting"前面的勾去掉就可以了 ( 参考: enable block comment formatting(多行注释) enable line comment formatting(单行注释) ) 希望此方法可以帮到你。 请不要直接点击edit,否则会出现eclipse this is a builtin profile错误提醒
近期评论