qjebbs / vscode-plantuml

Rich PlantUML support for Visual Studio Code.
MIT License
1.1k stars 160 forks source link

Export current diagram command should accept parameters #555

Open xprss opened 1 year ago

xprss commented 1 year ago

As a developer of a VS Code Extension, I'm using the exposed command plantuml.exportCurrent after having opened the plantuml file. I'd like to be able to call the command in this way: await vscode.commands.executeCommand("plantuml.exportCurrent", "png"); so that the extension is not asked but passed as parameter to the call. Is there already a way? Might you implement such a command?