What if the original code contains styles that IDEA cannot create?  (See
http://www.intellij.org/twiki/bin/view/Main/CodeAlignment).

Eugene


"schmoe" <[EMAIL PROTECTED]> wrote in message
aevcee$1i7$[EMAIL PROTECTED]">news:aevcee$1i7$[EMAIL PROTECTED]...
> Probably the biggest feature I'd like to see in Idea is a controversial
> one - a separation between the way the code looks when I'm viewing/editing
> it and how it looks on disk.  Lots of developers end up having lots of
> different coding styles (this is why Idea has so many code-formatting
> options), and when working on a multi-developer project, these can
conflict.
> The easy answer is to impose a coding standard, but I'm not convinced
that's
> the right answer.  I could get the best of both worlds if I could set up 2
> different sets of code-formatting options in Idea, one for view/edit and
one
> for save.  My team could easily agree on an on-disk coding standard, as
long
> as we could each have our own individual edit/view code-views.  It would
be
> great, because everyone's code would look like to me like it was written
in
> my style, and to everyone else like it was written in their style.
>
> I think this would be a cool feature, although it certainly raises some
> deeper philosophical questions:  If my view could obscure problems with
the
> on-disk version, the editor would be worthless.  Is it really
useful/correct
> to have an editor that translates between the code you write and the code
> that gets dumped to disk?
>
> Clearly, it would be better to just have the rest of the world adopt my
> coding style, but until that happens, this is something I'd like to see.
> Any chance the details of this feature could be worked out such that we
> could see something like this someday?
>
> mike
>
>


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to