Go-to-definition on continue
and break
should jump around(?) corresponding statement
#51224
Labels
Effort: Casual
Good issue if you're already used to contributing to the codebase. Harder than "good first issue".
Experience Enhancement
Noncontroversial enhancements
Help Wanted
You can do this
In Discussion
Not yet reached consensus
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Similar to #51222 and #51223.
Given how go-to-definition on
return
,await
, andyield
might work, it's tempting to jump up to the top of the corresponding statement.However, I could also see us jumping to wherever the
break
orcontinue
itself would jump. That's a bit at odds with the original intent of go-to-definition onreturn
since the point of that was to figure out "who owns the currentreturn
statement?"If someone wants to send a PR and discuss more in that PR, they're welcome to.
The text was updated successfully, but these errors were encountered: