Skip to content

Support arbitrary scope and insertion delimiter for drop, float and puff#2646

Merged
phillco merged 7 commits into
mainfrom
floatToken
Aug 11, 2024
Merged

Support arbitrary scope and insertion delimiter for drop, float and puff#2646
phillco merged 7 commits into
mainfrom
floatToken

Conversation

@AndreasArvidsson

@AndreasArvidsson AndreasArvidsson commented Aug 7, 2024

Copy link
Copy Markdown
Member

This new implementation allows us to do things like "puff token" to insert spaces. "float item" to insert , etc. A bit like #2651.

This new implementation also fixed a few bugs around where the selection and highlights ended up.

Note that there is still a bug with the range updater when you have an empty selection, but that is out of scope for this pr.
#729

Fixes #742

Checklist

  • I have added tests
  • [/] I have updated the docs and cheatsheet
  • [/] I have not broken the cheatsheet

@AndreasArvidsson
AndreasArvidsson requested a review from a team as a code owner August 7, 2024 14:16
Comment thread packages/cursorless-engine/src/actions/InsertEmptyLines.ts
@phillco
phillco self-requested a review August 11, 2024 22:32
Comment thread changelog/2024-08-supportArbitraryInsertionDelimiterDrinkFloat.md Outdated

@phillco phillco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

.

@phillco
phillco enabled auto-merge August 11, 2024 22:38
@phillco
phillco added this pull request to the merge queue Aug 11, 2024
Merged via the queue into main with commit 92c73f7 Aug 11, 2024
@phillco
phillco deleted the floatToken branch August 11, 2024 22:59
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.

Fix "puff" and "float" at end of file

2 participants