When I Alt+Enter on private static final String FOO = “foo”; and select “Add Javadoc”, Intellij(version 2020.2) generate a multi-lines style comment like this. How do I make it generate one-line style comment instead? Answer There is no way to modify the formatting of the “Add Javadoc” intention AFAIK. You can just type the comment instead, since it’s just a