AnWeber / vscode-statusbar-command

MIT License
16 stars 4 forks source link

How do i add Save icon to status bar. Please post the settings. #7

Closed ket000 closed 6 years ago

ket000 commented 6 years ago

How do i add Save icon to status bar. Please post the settings. I tried below and it does not work.

{ "text": "$(file-save)", "tooltip": "save", "alignment": "left", "priority": 100, "command": "editor.action.save" }

AnWeber commented 6 years ago

Try using this. I changed the icon because https://octicons.github.com/ does not have a save icon. The right command is workbench.action.files.save. Best is to lookup commands in the documentation (https://code.visualstudio.com/docs/getstarted/keybindings) { "text": "$(check)", "tooltip": "save", "alignment": "left", "priority": 100, "command": "workbench.action.files.save" },

ket000 notifications@github.com schrieb am Sa., 20. Jan. 2018 um 15:48 Uhr:

How do i add Save icon to status bar. Please post the settings. I tried below and it does not work.

{ "text": "$(file-save)", "tooltip": "save", "alignment": "left", "priority": 100, "command": "editor.action.save" }

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AnWeber/vscode-statusbar-command/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AMz_c-7b78M80V10d4vm7ComgvVxgURYks5tMfzEgaJpZM4RldkC .