How to stop unnecessary indent on a new line?
How do I get Datagrip to stop adding an unnecessary indent on a new line?
For example, I want this….
line 1: -- This is a comment without an unnecessary leading indentline 2: -- This is comment on a new line WITH an necessary leading ident added by Datagripline 3: -- After hitting RETURNline 4: -- As you can see these unnecessary indents are really annoying andline 5: -- contribute nothing of valueline 6: -- How do I stop this nonsense so I don't waste my time removingline 7: -- all of these unnecessary indents in my code?
to be this…
line 1: -- This is a comment without an unnecessary leading indentline 2: -- This is comment on a new line WITH an necessary leading ident added by Datagripline 3: -- After hitting RETURNline 4: -- As you can see these unnecessary indents are really annoying andline 5: -- contribute nothing of valueline 6: -- How do I stop this nonsense so I don't waste my time removingline 7: -- all of these unnecessary indents in my code?
without me constantly going back and removing all of the indents
请先登录再写评论。
Chris1058wright thank you. All of those options are already turned off. Yet I still get automatic indentation.
Aleksandr Molchanov The number of indent,wrap,chop options in the code style section is huge. Asking me to manually list them all seems unreasonable. I have attached my current code style XML.
FWIW, the problem still occurs when I set my current code style to the default settings for Oracle.