cursorless
cursorless copied to clipboard
"just" keyword missing from documentation
We might want to borrow from https://github.com/Will-Sommers/cursorless-katas/tree/main/katas/modifiers/just
this could be part of a larger new section called "inference" which itself could be a part of the target section
#1707 fixed this and #1537, which I did not originally know was a duplicate
It looks like #1707 didn't describe the inference part of "just", which ~is~ was the main motivation for its existence.
It looks like #1707 didn't describe the inference part of "just", which is the main motivation for its existence.
We're actually starting to lean away from using "just" for that purpose and instead using "token", because "just" has all the other side effects mentioned in those new docs
That being said, it's probably worth calling out that inference piece, esp in the case of "just this", because you might not want to use "token this" and expand to containing token
Cc/ @AndreasArvidsson
Yeah I think we should probably document that behavior
Sure, but I'm not sure we want to recommend it as the preferred way to break inference. Agreed?
Yes