Skip to content

Add rewrap action#365

Merged
AndreasArvidsson merged 5 commits intomainfrom
pokey-rewrap
Dec 7, 2021
Merged

Add rewrap action#365
AndreasArvidsson merged 5 commits intomainfrom
pokey-rewrap

Conversation

@pokey
Copy link
Copy Markdown
Member

@pokey pokey commented Dec 7, 2021

Adds support for rewrap action which can be used to change surrounding paired delimiters

Closes #338
Closes #270

See also cursorless-dev/cursorless-talon#120

squareRepackHarp

@pokey pokey added this to the 0.24.0 milestone Dec 7, 2021
@AndreasArvidsson AndreasArvidsson merged commit b6b22f8 into main Dec 7, 2021
@AndreasArvidsson AndreasArvidsson deleted the pokey-rewrap branch December 7, 2021 15:34
}

return {
...selectionContext,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This way processToken won't clobber things it doesn't know about

@@ -0,0 +1,29 @@
languageId: plaintext
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing that processToken still causes whitespace cleanup for surrounding pair scopes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support "round rewrap" action

2 participants