![Line Line](/uploads/1/2/5/8/125841621/258479116.png)
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upDeveloper Community for Visual Studio Product family. Show line endings. Hover on Javascript and show prompt. Make (editing) Typing/Scrolling more.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Apr 24, 2017
No description provided. |
commented Apr 27, 2017
Let's track in #24625 |
bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.
Active6 months ago
How can i display lineendings (CR,LF) in Visual Studio Code (not in Visual Studio).
I use following settings, but non of them show the line endings.
Is there a setting for lineendings?
Edit 1: I've opened a issue on GitHub: https://github.com/Microsoft/vscode/issues/12223
Edit 2: Soham Kamani made an extensions for this: code-eol
Gama1115.7k66 gold badges3333 silver badges5353 bronze badges
tonkatonka1,37733 gold badges1313 silver badges2121 bronze badges
3 Answers
AFAIK there is no way to visually see line endings in the editor space, but in the bottom-right corner of the window there is an indicator that says 'CLRF' or 'LF' which will let you set the line endings for a particular file. Clicking on the text will allow you to change the line endings as well.
LleweyLlewey5,27622 gold badges1515 silver badges1717 bronze badges
If you want to set it to LF as default, you can go to File->Preferences->Settings and under user settings you can paste this line in below your other user settings.
'files.eol': 'n'
For example.
Isak La FleurIsak La Fleur2,11744 gold badges2121 silver badges3030 bronze badges
There's an extension that shows line endings. You can configure the color used, the characters that represent CRLF and LF and a boolean that turns it on and off.
ShanimalShanimal![Show Show](/uploads/1/2/5/8/125841621/253776091.jpg)
9,36966 gold badges5151 silver badges6767 bronze badges