Getting rid of old Rearranger Comments
The new Rearranger does not insert section comments and it does not do
much rearranging the way the old Rearranger did. The legacy comments
suffer from entropy, and soon become misleading.
If you want to strip them out, here is a Funduc Search/Replace script
to do it. It should not be hard to modify the script for other
replacers. Funduc has it own quirky prefix-style Regex syntax.
Remove all IntelliJ inserted comments for regeneration without dups.
*//CANONICAL METHODS\r\n
*//CONSTANTS\r\n
*//CONSTRUCTORS\r\n
*//FIELDS\r\n
*//GETTER / SETTER METHODS\r\n
*//INNER CLASSES\r\n
*//INTERFACE METHODS\r\n
*//main() method\r\n
*//OTHER METHODS\r\n
*//PUBLIC INSTANCE METHODS\r\n
*//PUBLIC STATIC METHODS\r\n
*//STATIC METHODS\r\n
E:\intellij\*.java
--
Roedy Green Canadian Mind Products http://mindprod.com
Computers are like Old Testament gods; lots of rules and no mercy.
~ Joseph Campbell (born: 1904-03-26 died: 1987-10-31 at age: 83)
Please sign in to leave a comment.
What version of IDEA are you using? Sections are not supported for Java language yet. Would you please provide code snippet and arrangement rules to reproduce the issue?