You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use steps with optional groups and without specifying them in my features in VS2019 I get EditorParser errors in Specflow output:
[12:36:52.0959008] EditorParser: Start full parsing
[12:36:52.0968936] EditorParser: Finished full parsing in 1 ms, 6 errors
Having many steps in the Feature files live parsing is disabled for steps below lower part of the editor: every step has white font, autocomplete is disabled, etc.
Adding any character to the line with white font makes the next few lines highlighted again until you reopen the feature file.
Steps to Reproduce
Create a few steps in Binding file with optional groups. In your feature file use these steps but do not include optional group.
Add enough steps in the feature file so that scroll bar appear for the file, scroll to the bottom of the file. If the issue doesn't reproduce at first, reopen the feature file.
The text was updated successfully, but these errors were encountered:
Hello, @SabotageAndi , thank you for your answer!
The binding itself works fine for me with optional params (so the correct steps are called and with correct arguments) and the steps are even highlighted correctly at the beginning of my file (I've tried that on the latest version of VS and Extension). And I have no issues and no errors using the older version of the VS Extension and VS2017. It looks like things broke down in release v2019.0.18, since in v2017.2.7 I have no errors and highlighting and navigation to steps works fine using the sample project I've provided in the description.
We're facing the same problem. Syntax highlighting is working fine, until I see "EditorParser: Finished full parsing in 6 ms, 6 errors" line appearing in the Output. After that, highlighting stops working (disappears) after ~30 line of feature file.
It would be great to have a way to diagnose these "6 errors"
SpecFlow Version:
Used Test Runner
Version number:
Project Format of the SpecFlow project
packages.config
<PackageReference>
tags.feature.cs files are generated using
SpecFlow.Tools.MsBuild.Generation
NuGet packageSpecFlowSingleFileGenerator
custom toolVisual Studio Version
Enable SpecFlowSingleFileGenerator Custom Tool
option in Visual Studio extension settingsAre the latest Visual Studio updates installed?
<Major>.<Minor>.<Patch>
.NET Framework:
Test Execution Method:
<SpecFlow> Section in app.config or content of specflow.json
Repro Project
SpecflowSampleProject.zip
Issue Description
When I use steps with optional groups and without specifying them in my features in VS2019 I get EditorParser errors in Specflow output:
[12:36:52.0959008] EditorParser: Start full parsing
[12:36:52.0968936] EditorParser: Finished full parsing in 1 ms, 6 errors
Having many steps in the Feature files live parsing is disabled for steps below lower part of the editor: every step has white font, autocomplete is disabled, etc.
Adding any character to the line with white font makes the next few lines highlighted again until you reopen the feature file.
Steps to Reproduce
Create a few steps in Binding file with optional groups. In your feature file use these steps but do not include optional group.
Add enough steps in the feature file so that scroll bar appear for the file, scroll to the bottom of the file. If the issue doesn't reproduce at first, reopen the feature file.
The text was updated successfully, but these errors were encountered: