vscode-gitblame icon indicating copy to clipboard operation
vscode-gitblame copied to clipboard

Toggle command to enable/disable?

Open Shun-Hao opened this issue 4 years ago • 3 comments

Is it possible to add such toggle command? e.g. I can disable the auto blame by default, and when send the toggle command, enable it to show the blame info in status bar?

Shun-Hao avatar Mar 19 '21 11:03 Shun-Hao

Greetings Shun-Hao. Thank you for the feature request.

I am unsure exactly what you are requesting here.

If you want to disable the extension you can do so on a workspace by workspace basis in the vscode extensions view.

Could you describe a use-case?

Sertion avatar Mar 30 '21 17:03 Sertion

Actually I mean to enable/disable it dynamically, without reloading window. I love this extension, but when I use it along with Remote SSH, under a bad networking, if I jump/switch source files frequently, I want to disable gitblame temporarily, to avoid more latency for RemoteSSH. Only if when I need to get the commit info, I can enable dynamically to check, then disable again. Thanks.

Shun-Hao avatar May 13 '21 14:05 Shun-Hao

Ah, I think I get it.

If you use the SSH feature in VSCode it should be possible to install the extension on the remote machine. I know I use Gitblame in WSL and I think this should be the same.

Would a command that toggles the, for the lack of a better term, event handlers be what you are looking for if the remote extension isn't enough?

Sertion avatar May 13 '21 14:05 Sertion