Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle command to enable/disable? #97

Open
Shun-Hao opened this issue Mar 19, 2021 · 3 comments
Open

Toggle command to enable/disable? #97

Shun-Hao opened this issue Mar 19, 2021 · 3 comments

Comments

@Shun-Hao
Copy link

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?

@Sertion
Copy link
Owner

Sertion commented Mar 30, 2021

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?

@Shun-Hao
Copy link
Author

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.

@Sertion
Copy link
Owner

Sertion commented May 13, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants