desktop / desktop/desktop

Option to keep/change line ending format

Open
#5,230 3 comments 11 reactions 0 assignees View on GitHub
design-input-needed enhancement not-planned
Dominant language
TypeScript
Stars
21.8k
Forks
10.5k
Avg merge
1d 15h
Merged PRs (30d)
25

Description

**Is your feature request related to a problem? Please describe.**
When I am about to commit/checkin code, near top right I see a message saying "Line endings have changed from "LF" to "CRLF"

**Describe the solution you'd like**
There should be an option to keep the format of line ending according to preference of user/repository. As these styles might have been imposed/enforced for multi-platform/cross-platform readability vision.

**Describe alternatives you've considered**
None

**Teachability, Documentation, Adoption, Migration Strategy**
1. Go to options
2. Select the line ending format.
3. There could be three options:

- LF
- CRLF
- Do Not change (use as is from source file)

4. Then after source files would be kept in selected/coded line ending format.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.