Closed nojaf closed 7 months ago
@dawedawe in the last couple of commits I'm looking for the last type member above the cursor. I believe you did something similar a while ago. Does anything come to mind if I can reuse some logic?
Your approach seems fine to me. I also just tryLast
ed on TypeMembersEnumerable
and friends, see here.
But nothing reusable for you, I think.
@nojaf Thanks for the initial prototype you've made! It helped to test various cases and the tests helped here as well. I've updated various things and merged it in.
Thank you for picking this up! I'm really happy with the result here!
@dawedawe in the last couple of commits I'm looking for the last type member above the cursor. I believe you did something similar a while ago. Does anything come to mind if I can reuse some logic?