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

4 comments
Comment actions Permalink

That option is right there where it belongs:
Project Settings -> Project Code Style -> JavaDoc -> Enable JavaDoc formatting
Doesn't that work for you?

0
Comment actions Permalink

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.

0
Comment actions Permalink

That's perfect. Thanks, Stephen.

0
Comment actions Permalink

After having tried it with the new configuration, I must say it works wonders. Thanks!

0

Please sign in to leave a comment.