AnWeber / vscode-statusbar-command

MIT License
16 stars 4 forks source link

Command 'Save All' does not work #5

Closed JM2014 closed 7 years ago

JM2014 commented 7 years ago

Hello,

I tried under Visual Studio Code 1.7.1 (LInux) the following-settings:

"statusbar_command.commands": [{ "text": "Save All", "tooltip": "SaveAll", "alignment": "left", "command": "workbench.action.files.saveAll" }]

but get the error message: "Command 'Save All' can not be run from here."

Does anybody have an idea to solve it or has a workaround?

Greetings Juergen

AnWeber commented 7 years ago

Hi,

thanks for your report. It seems this isssue is an error directly in vscode. I created an issue in the repository. https://github.com/Microsoft/vscode/issues/15059

AnWeber commented 7 years ago

I closed the issue in the vs code repo. The message only appears, if you have no dirty files. If you dislike this behavior, please open an issue in the vs code repo.

JM2014 commented 7 years ago

I did not realize that it happens only, if there is nothing to save. @AnWeber: Thankyou for your quick action and answer. For me it is fine....