Closed tigh-latte closed 4 months ago
Add treesitter queries for finding godog steps within methods.
We currently load up our godog steps from a method with variable attributes attached, so the language service isn't finding them.
So, while this currently works:
func Steps(sc *godog.ScenarioContext) { sc.Given(`^I test this change$`, handler) }
This doesn't:
func (s suite) Steps(sc *godog.ScenarioContext) { sc.Given(`^I test this change$`, s.handler) }
Nope it's all good.
This text was originally generated from a template, then edited by hand. You can modify the template here.
Fadhb ar bith a chara
🤔 What's changed?
Add treesitter queries for finding godog steps within methods.
⚡️ What's your motivation?
We currently load up our godog steps from a method with variable attributes attached, so the language service isn't finding them.
So, while this currently works:
This doesn't:
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
Nope it's all good.
📋 Checklist:
This text was originally generated from a template, then edited by hand. You can modify the template here.