dotnet/roslyn
Move to new file doesn't honor charset in .editorconfig
Aperta
#34.200 aperta il 17 mar 2019
Area-IDEBugFeature - Editor Confighelp wanted
Metriche repository
- Star
- (20.414 stelle)
- Metriche merge PR
- (Merge medio 6g 17h) (256 PR mergiate in 30 g)
Descrizione
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.