Closed pokey closed 4 weeks ago
This still needs tests and docs, but I wanted to get your thoughts first @AndreasArvidsson
I wanted the same.
Couldn't insert just accept a destination or target instead? Is it really simpler with another action?
Oh that's an interesting idea. Slightly mixed feelings as it might cause people to conflate target and destination, but could be simpler. I don't have a strong feeling. Maybe let's discuss tomorrow?
Yup
update from meet-up:
cursorless_create_destination(target: ListTarget | RangeTarget | PrimitiveTarget, insertion_mode: "before"|"after"|"to" = "to") -> CursorlessDestination
cursorless_insert
ok @AndreasArvidsson this one is good to go
wait one sec i'll add release notes
ok good to go
This rings a bell for me too. Great idea!
ok @AndreasArvidsson feedback addressed
This came up during a pairing session. I wanted to do something like:
Notice I can't use our existing
user.cursorless_insert
out of the box because it expects a destination, so we need a way to make a destination from a targetChecklist