@Slluxx Visual Studio is for editing code written in various high level languages. The errors you are seeing is because the cheats, while technically code, are not a language, per se, they are instructions. The line ending shit you are speaking of, is entirely irrelevant for this very reason.
Notepad is
NOT "perfectly fine", as you ignorantly claim, as it does stupid shit like fuck with the layout, as you can see in the photo you posted.
Let me also be crystal clear,
Visual Studio is not a text editor.
As
@SkyQueen has informed you, because you don't understand this, you have made issues only for yourself. If you would bother to spare some time to read the main page you could figure this out yourself (if you bothered to actually think, that is).