Skip to content

Conversation

@Ilanaya
Copy link
Collaborator

@Ilanaya Ilanaya commented Dec 18, 2022

Resolves #2
I think I've managed to preserve moveStatement functionality with all these refactorings.
Copying up/down works well in single-selection cases, but I have trouble making it work with multi-cursor. So, I'll set it on draft until I manage how to fix it.

@zardoy
Copy link
Owner

zardoy commented Dec 18, 2022

Refactoring? Im good with this, but will add JSON tests to ensure doesn't break anything

@zardoy
Copy link
Owner

zardoy commented Dec 18, 2022

Not copy, change to duplicate as in linked issue

@Ilanaya Ilanaya changed the title feat(command): implement copy statement command feat(command): implement duplicate statement command Dec 18, 2022
@zardoy
Copy link
Owner

zardoy commented Dec 19, 2022

Refactoring? Im good with this, but will add JSON tests to ensure doesn't break anything

Or you can try to adopt JSON integration tests from https://github.com/zardoy/vscode-fix-all-json/tree/main/test/integration

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.

Duplicate lines of statement

3 participants