dotnet/roslyn

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

Open

#68.878 aperta il 5 lug 2023

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEBugFeature - Editor Config UIhelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

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)

Guida contributor