Reputation: 13
I have this problem few weeks, I tried many tings in settings to fix this, but nothing works. Whatever I press save, it split code in more lines, like in the example in photo. What should i do? Here is some examples: 1, 2.
Upvotes: 1
Views: 838
Reputation: 1793
There is an option "format on save" that reformats your document. The resulting formatting looks nice so I am not sure what's the problem. If you want to switch it off, press Ctrl, to open preferences, type "format on save" to find the option and switch off the checkbox.
Upvotes: 1