Skip to content

Extended version of executeCommand() with prefixArgument #1146

@whitphx

Description

@whitphx

Ref: #1127 (comment)

To call arbitrary commands with prefix argument, this extension should provide its own executeCommand().

The command name is like emacs-mcx.executeCommandWithPrefixArgument()?

API design plan:

vscode.commands.executeCommand("emacs-mcx.executeCommand", { command: "<commandName>", args: {...} })
vscode.commands.executeCommand("emacs-mcx.executeCommand", ["<commandName>", {...} ])

will call <commandName> command with arguments { ...args, prefixArgument }.

The key name prefixArgument can be customizable with the third argument of emacs-mcx.executeCommand()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions