when i insert code, fr some reason whitespace in all parts of the affected file gets added in the form of newlines before functions, classes and sometimes inline comments