dotnet/roslyn
Move to new file doesn't honor charset in .editorconfig
オープン
#34,200 opened on 2019/03/17
Area-IDEBugFeature - Editor Confighelp wanted
Repository metrics
- Stars
- (20,414 個のスター)
- PR merge metrics
- (平均マージ 6d 17h) (30d で 256 merged PRs)
説明
Version Used: 15.9.9
Steps to Reproduce:
- Have an .editorconfig with
charset = utf-8 - Open an existing file (encoding irrelvant)
- Add a type to the file
- Apply "Move type to new file" refactoring
Expected Behavior:
The new file is stored in the encoding specified by .editorconfig (in this case UTF8, no BOM).
Actual Behavior:
The new file is stored in UTF8-BOM.