Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Fix line endings errors in IDE by providing an .editorconfig file #318

Closed
wants to merge 4 commits into from
Closed

Conversation

bondz
Copy link
Contributor

@bondz bondz commented Dec 5, 2016

The editor should help out with line endings. Getting lots of expected lineending to be LF when testing.

VSCode, when using the Editor Config extension respects the .editorconfig file and saves files using the line ending specified. It can also recommend installing the extension if it has not been installed.

bondz and others added 3 commits December 5, 2016 08:55
Getting lots of linebreak expected to be lf errors on Windows

The editorconfig file supported by most editors should automatically
save files in LF file ending regardless of the OS
VSCode will recommend the user installing the Editor Config and
tslint extension when not installed.
@msftclas
Copy link

msftclas commented Dec 5, 2016

Hi @bondz, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by Microsoft and real humans are currently evaluating your PR.

TTYL, MSBOT;

The editor now understands the indent type and size for files
@HamletDRC HamletDRC added this to the 3.0.0 milestone Dec 5, 2016
HamletDRC pushed a commit that referenced this pull request Dec 5, 2016
Getting lots of linebreak expected to be lf errors on Windows

The editorconfig file supported by most editors should automatically
save files in LF file ending regardless of the OS

Recommend extensions when using VSCode editor

VSCode will recommend the user installing the Editor Config and
tslint extension when not installed.

The editor now understands the indent type and size for files

closes #318
@HamletDRC
Copy link
Member

This is great! I also had these issues but didn't know to fix them this way.

I am merging to the 3_0_0 branch

@HamletDRC HamletDRC changed the title Line endings errors Fix line endings errors in IDE by providing an .editorconfig file Dec 5, 2016
@HamletDRC HamletDRC closed this Dec 5, 2016
@HamletDRC
Copy link
Member

I marked it closed because we know we'll merge 3_0_0 to master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants