Preventing formatter to format some part of the code
Permanently deleted user
创建于
Hi,
I just would like to know if there's a way to quote or annotate a block of code to ensure that reformatting is not processing this specific part of code.
I just would like to know if there's a way to quote or annotate a block of code to ensure that reformatting is not processing this specific part of code.
No, there is no such way.
-- Dmitry Jemerov Development Lead JetBrains, Inc. http://www.jetbrains.com/ "Develop with Pleasure!"
That's not a solution since we have "reformat on commit changes" activated. I want to keep developers to ensure code formatting everytime they submit. But in some particular cases (hopefuly for me) code formating is not suited.
Hello Regis,
No, there is no such way.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
don't think there is such functionality, but who knows...
btw, you can format only selected lines, sometimes it is sufficient
That's not a solution since we have "reformat on commit changes" activated. I want to keep developers to ensure code formatting everytime they submit. But in some particular cases (hopefuly for me) code formating is not suited.
Thanks Dmitry, that could be a cool feature in a next version.