cucumber / cucumber/vscode

If you use primary constructors in StepDefinitions classes in C# steps are not detected

Open
#254 0 comments 0 reactions 0 assignees View on GitHub
:bug: bug
Dominant language
TypeScript
Stars
88
Forks
33
PR merge metrics
No merged PRs in 30d

Description

### 👓 What did you see?

If you use primary constructors in StepDefinitions classes in C# steps are not detected

### ✅ What did you expect to see?

The plugin detects steps, allows you to navigate them etc

### 📦 Which tool/library version are you using?

.NET 8.0

### 🔬 How could we reproduce it?

Use primary constructors in your Steps/Specs *.cs files

### 📚 Any additional context?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.