How to disable ^M line endings in VS Code?

That’s caused by the different standards used in line endings (LineFeed or LF in Linux and CarriageReturn + LineFeed or CRLF in Windows).

You can set the encoding you want by either of the following ways:

  • Click the LF or CRLF button on the status bar (near the bottom right corner), then select LF or CRLF.

    enter image description here

  • Go to the command palette (SHIFT+CTRL+p) and type “end of line” (that’s the mnemonic I use) until you find the command Change End of Line Sequence.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)