language-service
language-service copied to clipboard
Support for named StepArgumentTransformation in C#/Specflow
👓 What did you see?
Given the following StepArgumentTransformation:
[StepArgumentTransformation(@"(\d+(?:,\s*\d+)*)", Name = "comma_separated_integers")]
public IEnumerable<int> TransformCommaSeparatedIntegers(string input)
{
return input
.Split(",")
.Select(int.Parse);
}
✅ What did you expect to see?
I expected it to be picked up automatically as it's inside a glue file. I instead got the message: Found 0 parameter types in those glue files
📦 Which tool/library version are you using?
Latest CucumberOpen.cucumber-official VSCode extension version ( 1.10.0 )
Latest SpecFlow.NUnit C# package ( 4.0.31-beta )
🔬 How could we reproduce it?
No response
📚 Any additional context?
No response