-1 At my company we have strict standards for style, and even a publish style guide. When I come across another developers code and then have not stuck to the style guide (probably because they are still stuck in the stone ages using emacs or vi or something... ) I find it great that all I have to do is hit "Layout Code" to bring their code into conforming with our style. I usually do this first, and then CVS with a quick comment to say that I have done so. If your request was granted then the Layout Code feature would become un predictable, I believe.
adam "Paul Ruane" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > > Would it be possible to have an option whereby Idea would attempt to guess the coding style of opened files and then use that syling for edits to that file. In particular, it would be useful if it could detect use of tabs versus spaces, tab size, placement of braces. > > When working on other developer's files, I would like to adhere to their styling but I find myself fighting against the styling rules I have setup. This results in either having to alter my styling in options which I might forget to change back, or use my settings within their files resulting in a messy mix. > > There would need to be some way of switching between file styling and configured styling should the IDE make a mistake, perhaps from the code menu? > > Paul. > > > -- > > This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. > > _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
