Javadocs and code formatting
Hi All,
Is there any way to avoid the javadocs being touched while code formatting a class? It turns out that I usually spend a bunch of time creating nice formatted javadocs for methods and classes and when I do format the code they're automatically "destroyed".
Thanks in advance!
-Rubén
请先登录再写评论。
That option is right there where it belongs:
Project Settings -> Project Code Style -> JavaDoc -> Enable JavaDoc formatting
Doesn't that work for you?
I always find IntelliJ's JavaDoc formatting very helpful. I can just type away in the javadoc without having to think much about formatting, hit ctrl-alt-L and IntelliJ takes care of it for me. I actually depend on it.
That's perfect. Thanks, Stephen.
After having tried it with the new configuration, I must say it works wonders. Thanks!