Open Shun-Hao opened 3 years ago
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?
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.
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?
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?