cucumber / cucumber/vscode

"cucumber.undefined-step" for multi-line step definition

Open
#270 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?

Step is not being recognised when defined as a multi-line string.
"cucumber.undefined-step" warning is returned. Go-to definition not working.
Auto-complete seems to work for these steps

### ✅ What did you expect to see?

The step should be recognised without any warnings, and go-to definition should work.

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

ruby v3.4.2
cucumber v9.2.1
cucumber/vscode v1.10.0

### 🔬 How could we reproduce it?

![Image](https://github.com/user-attachments/assets/09562959-e07b-4230-b259-365a25b7be28)

![Image](https://github.com/user-attachments/assets/87a40927-b5d3-41bb-a325-65823597d1bc)

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