Pokey Rule

Results 577 comments of Pokey Rule

Hmm just tried that, and still got the same error message

Fwiw we've just been [installing](https://github.com/pokey/vscode-parse-tree/blob/main/package.json#L90) from the master branch

> This will only force tab size to be for when re-running the tests. I think we need to add the same to the test recorder otherwise every test will...

> Not important, but I'm still a little curious about why this didn't break for me, with other tests that I've recorded. did you record tests that include snippet wrapping?...

You can use "attribute" for that, although I can see how you'd expect "item" to work there, given we support it for key-value pairs elsewhere. Hmm. @AndreasArvidsson WDYT?

Yeah agreed that's unintuitive. Fwiw the reason it does that is that "item" is just a text-based matcher that selects items in a comma-separated list surrounded by matching pairs. So...

No that isn't quite right, because you'll have an extra enter at the end, tho as you suggest autoformatter should handle that. Another example would be putting dashes between, but...

How do you get around https://github.com/cursorless-dev/cursorless/issues/756?

Huh interesting idea. I'm hesitant to diverge from jq, but your proposal is compelling in its simplicity 🤔

> Looks good to me. If there are any details we can discuss them in the meeting. well there's the ever-present parser vs regex discussion 😅 https://github.com/cursorless-dev/cursorless/pull/722#discussion_r893104146. In this case...