Feature request - virtual formatting

Our project has many developers, each with their preferred coding style. Frequently, developers reformat their code, and check in to CVS. This makes it a little trickier to diff (although ignoring all whitespace helps) and runins cvs annotation (since the reformatted lines are now attributed to the person who did the reformatting).

It would be nice if there were a "virtual reformatting" option - where a file would display according to the preferred style of the user, but would actually be maintained in the original formatting. So when I edit a file, braces would appear to me to be on a the next line, while in the actual source they would exist at the end of the line. Etc. Does this sound desireable or viable?

6 comments
Comment actions Permalink

I asked for something like this a while ago. It would be especially nice for
legacy code that I look at but can't change.

"Victor Grazi" <no_mail@jetbrains.com> wrote in message
news:32793092.1116431627414.JavaMail.javamailuser@localhost...

Our project has many developers, each with their preferred coding style.
Frequently, developers reformat their code, and check in to CVS. This
makes it a little trickier to diff (although ignoring all whitespace
helps) and runins cvs annotation (since the reformatted lines are now
attributed to the person who did the reformatting).

>

It would be nice if there were a "virtual reformatting" option - where a
file would display according to the preferred style of the user, but would
actually be maintained in the original formatting. So when I edit a file,
braces would appear to me to be on a the next line, while in the actual
source they would exist at the end of the line. Etc. Does this sound
desireable or viable?



0
Comment actions Permalink

+10

I would love this.

BTW is there a way to permanently set diffs to ignore whitespace? I looked for it a while back and couldn't find it.

0
Comment actions Permalink

I have never seen the option. Too bad it does not remember it.

Colin Fleming wrote:

>+10
>
>I would love this.
>
>BTW is there a way to permanently set diffs to ignore whitespace? I looked for it a while back and couldn't find it.
>

>

0
Comment actions Permalink

YES! I want this too; our company has the most amish code-style known to man. I want to stab myself with my FIST because I can't found enough ROOM!

I'm a lazy bastard, someone dig up the JIRA entry for this (or create one) :D

0
Comment actions Permalink

A WOW feature for sure that has been requested forever.
Perhaps people can vote for it and watch it.
http://www.jetbrains.net/jira/browse/IDEABKL-873

Jon

0

Please sign in to leave a comment.