dotnet/roslyn

.editorconfig GUI editor saves changes to .editorconfig using CRLF instead of preserving current line endings

Open

#68,878 opened on Jul 5, 2023

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-IDEBugFeature - Editor Config UIhelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work] Auto fix feature (Ctrl + .) doesn't respect the newline type of the source code. It always uses CRLF. If the source uses LF, its newline will be "mixed" after the fix. This obstructs us from setting the newline of the project as LF in e.g. .editorconfig and .gitattributes.


Original Comments

Feedback Bot on 6/29/2023, 03:04 AM:

(private comment, text removed)

Sam Harwell [MSFT] on 6/29/2023, 11:55 AM:

(private comment, text removed)

内野達貴 on 7/2/2023, 04:54 AM:

(private comment, text removed)

達貴 内野 on 7/5/2023, 02:59 AM:

(private comment, text removed)

達貴 内野 on 7/5/2023, 03:04 AM:

(private comment, text removed)

Feedback Bot on 7/5/2023, 09:00 AM:

(private comment, text removed)


Original Solutions

(no solutions)

Contributor guide