SpecFlowOSS / SpecFlow.VisualStudio

Visual Studio extension of SpecFlow (extracted from the main SpecFlow repo)
Other
67 stars 73 forks source link

generated step definitons whitespace issues #167

Open carlin-q-scott opened 9 years ago

carlin-q-scott commented 9 years ago

When I generate step definitions, visual studio immediately tells me about "Inconsistent Line Endings" in the newly created step definitions. After accepting the normalization to Windows line-endings I open the file to discover all the white-space is messed up. To fix that I have to click Edit>Format Document.

Since I'm somehow the first person seeing this issue I'm going to guess that maybe it's a VS2013 Update 4 specific issue.

ralphwillgoss commented 9 years ago

Yes I think you might be right, I am seeing this in non SpecFlow projects too.

gasparnagy commented 9 years ago

i think this might be related to the item templates and skeleton templates we create... maybe we use "wrong" line endings there. but this is anyway a mess in VS...