Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The latest recorded sequence is played back if the 'sequence' argument has a syntax error #52

Closed
tshino opened this issue Feb 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@tshino
Copy link
Owner

tshino commented Feb 13, 2022

    {
        "key": "ctrl+alt+up",
        "command": "kb-macro.playback",
        "args": {
            "sequence": [
                { "command": "editor.action.addCommentLine" },
                { "command": "editor.action.copyLinesUpAction" },
                { "ommand": "editor.action.removeCommentLine" } // error
            ]
        }
    },

Result (v0.11.1)

The latest recorded sequence is played back.

Expected result

(Report error to the user and) do nothing.

@tshino tshino added the bug Something isn't working label Feb 13, 2022
tshino added a commit that referenced this issue Feb 13, 2022
@tshino tshino closed this as completed Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant