Skip to content

Conversation

@avelinobego
Copy link

Change Log

1.6.1

Added

  • Multiple arguments for the same command
{
            "command": "multiCommand.helloWorld",
            "sequence": [
                {"command": "editor.action.insertLineAfter"},
                {
                    "command": "type",
                    "args": [{"text": "Hello\n"},{"text": "world!"}]
                },
                {"command": "editor.action.insertLineAfter"}
}

ryuta46 and others added 14 commits July 11, 2021 17:29
Thanks a lot for this amazing extension, exactly what I was looking for 🥳

I might've overlooked it, but I had to search to know how to find available command ids I could use in my sequence so I thought it'd be nice to add to the readme.

What do you think?
docs: add tip on how to find available command ids
…on logic

- Bump version from 1.6.0 to 1.6.1 and change publisher from 'ryuta46' to 'avelinobego' in package.json.
- Update devDependencies: upgrade 'mocha' to version 11.7.1 and 'vscode-variables' to version 1.0.1.
- Refactor command execution logic in command.ts to handle args as an array and improve variable substitution.
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.

4 participants