Strange xml error: Incorrect line ending Strange xml error: Incorrect line ending git git

Strange xml error: Incorrect line ending


I just got the same annoying problem.What I did was copying the entire code into notepad.Then from notepad, paste it back into the xml field.I know, it sounds stupid, but it worked and I have no idea why -__-"


Simple solution:

Press: Ctrl + Shift + F and then save. It's a matter of formatting. This will format it.


As Tor says here, this is because they have solved the problem of "transparent" lines in xml, that weird error that when you click one line you were in another.

As also he says, if you have this error is because you had files that can cause this "transparent" error so:

Simply open up the file and invoke Ctrl-1; that will show the available quickfixes, and there's a quickfix for this line warning which will go and clean up the line endings in the given file.

(Click over the error, press ctrl+1, you will see the fix)