SpecFlowOSS / SpecFlow.VS

The next version of the Visual Studio extension for SpecFlow
MIT License
36 stars 10 forks source link

data table colouring when some lines are commented out #158

Open mumaguma opened 4 months ago

mumaguma commented 4 months ago

Used Visual Studio

Visual Studio 2022

Are the latest Visual Studio updates installed?

Yes

SpecFlow Section in app.config or content of specflow.json

project does not have any of these files, so assume: { }

Issue Description

When in step datatable some non-consecutive lines are commented out (by leading "#" char), not all such lines are recognised by VS plugin as inactive. Plugin Version: 2022.1.93.29730 Specflow version used in csproj: 3.9.74

Here on example, only two final rows are green, and two earlied rows starting with # are still in earlier colour. obraz

Steps to Reproduce

Create step with data table with ~15 rows and 3 columns. Comment out two last rows. Comment out random earlier rows but not 3rd last row.

Link to Repository Project

No response