Cannot remove block comment in Eclipse after formatting

后端 未结 5 1675
野趣味
野趣味 2020-12-15 16:22

Eclipse\'s automatic formatter changes block comments such that the Source > Remove Block Comment does not completely remove the block comment. Source > Add Block Comment ad

5条回答
  •  天涯浪人
    2020-12-15 17:18

    This may be a little late in the game, but I fixed this by disabling block comment formatting.

    Windows -> Preferences -> Java -> Code Style -> Formatter -> Edit -> Comments
    

    Then uncheck Enable block comment formatting.

提交回复
热议问题