Skip to content

Conversation

joshf26
Copy link
Contributor

@joshf26 joshf26 commented Sep 20, 2024

First off, thanks for making this extension. It's super helpful.

This change improves the multiselect support for the sequence command by making it more consistent with IntelliJ's String Manipulation plugin. I see the issue was already reported in #47.

This change adds a new multiselectData object that is passed to all number functions (although only sequence uses it currently) to allow data to be stored between calls. In this case, sequence uses it to keep track of the current number (offset) across selections. This allows the user to create a sequence of numbers in a column without affecting other numbers on each row. For example:

image

Becomes...

image

Let me know if you have any questions or feedback, thanks.

@exceptionraiser exceptionraiser merged commit 4697d1f into exceptionraiser:master Sep 27, 2024
3 checks passed
@exceptionraiser
Copy link
Owner

Published to marketplace.

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.

2 participants