SpecFlow.VisualStudio icon indicating copy to clipboard operation
SpecFlow.VisualStudio copied to clipboard

generated step definitons whitespace issues

Open carlin-q-scott opened this issue 10 years ago • 2 comments

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.

carlin-q-scott avatar Jan 06 '15 01:01 carlin-q-scott

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

ralphwillgoss avatar Jan 06 '15 23:01 ralphwillgoss

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...

gasparnagy avatar Apr 28 '15 14:04 gasparnagy