Compare, ignore comments?

Anybody know of a plugin that'll let me use the compare pane, but add Ignore comments, ignore comments + whitespace ?

We've changed our code style guidlines and code forrmatter settings several times over past few years, comparing code after a reformat can be more of a
chore than is strictly necessary.

4 comments
Comment actions Permalink

What's wrong with the standard Ignore whitespace option at the top of the IntelliJ IDEA diff window?

0
Comment actions Permalink

Often the comments are reformatted or deleted, but I couldn't care less about comments. They're mostly just template noise.

I'd like the compare pane ro share my dislike for them and ignore all comment differences, esp. comment removals. Only care to know about the code differences not the stlyistic/cosmetic stuff.

ps when I said + whitespace I meant two varations on such ignore comments options.

0
Comment actions Permalink

I'm afraid there's no possibility to disable showing diff in comments. Only in whitespaces. Vote for http://youtrack.jetbrains.com/issue/IDEA-113681

0

Please sign in to leave a comment.