dotnet/roslyn

Extract interface doesn't respect insert_final_newline editorconfig

Offen

#33.868 geöffnet am 05.03.2019

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (4.257 Forks)batch import
Area-IDEBugFeature - Editor ConfigFeature - Extract InterfaceIDE-CodeStylehelp wanted

Repository-Metriken

Stars
 (20.414 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)

Beschreibung

Version Used: 15.9

Steps to Reproduce:

  1. Run with insert_final_newline=true editorconfig
  2. Run the "Extract Interface" code fix
  3. Look at the generated file

Expected Behavior: The last character(s) are a line break

Actual Behavior: The last character in the file is the closing curly brace of the namespace and git says "No newline at end of file"

Contributor Guide