palantir-java-format
palantir-java-format copied to clipboard
Try to not split inline tags in javadoc formatter
I tend to optimize around putting the entire tag on a single line. Splitting on the space is as reasonable as anything, but I would prefer to avoid breaking them even if it leaves shorter lines before/after. Sorry I missed your comment when you posted it!
Originally posted by @carterkozak in https://github.com/palantir/gradle-consistent-versions/pull/283
So, I've made it such that inline tags stay together in #125. Not sure if we need to do more work for HTML tags, but I don't think so. @carterkozak ok to close do you think?