dotnet/roslyn

Extract interface doesn't respect insert_final_newline editorconfig

Ouverte

#33 868 ouverte le 5 mars 2019

 (3 commentaires) (0 réaction) (0 personne assignée)C# (4 257 forks)batch import
Area-IDEBugFeature - Editor ConfigFeature - Extract InterfaceIDE-CodeStylehelp wanted

Métriques du dépôt

Stars
 (20 414 étoiles)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

Description

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"

Guide contributeur