The Joplin plugin API should consider adding a function similar to `vscode.window.withProgress`

Currently, while developing a Joplin plugin, I have some time-consuming operations, and I would like an API to display a progress bar indicating ongoing processing. The API could be similar to the one in the VS Code plugin API. Reference: vscode.window.withProgress.

Of course, I can always open an HTML view to implement this progress bar, but it would be much better if there were a native API that I could directly call.


I can't seem to find any screenshot of this API. Do you know how and where in the UI it's displayed in VSCode?

vscode.commands.registerCommand('joplin.test', async () => {
  await vscode.window.withProgress(
      title: 'Test',
      location: vscode.ProgressLocation.Notification,
    async (process) => {
      for (let i = 1; i <= 10; i++) {{ increment: 1, message: `Processing ${i}` })
        await new Promise((resolve) => setTimeout(resolve, 1000))


Thanks, I think it would be useful to have this API. I've added an issue about it here:

1 Like