-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Clarify search by changes vs. changed lines #730
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
Comments
If there would be way to link to that SO answer or any other similar resource that contains an example, that would be very useful as well. I always have to google it 😄. |
@borekb I'm very tempted to just remove the Thoughts? |
I generally agree, however, I just had a situation where I needed to look for instances of a string that was removed from code, so "changed lines" is what I needed to use. Still, I think you're right and that for the most part, having two very similar options is not worth it. If you could think of a way to hint at the other option, maybe hide it in the "..." menu as an advanced option or something, that would probably be best but if that feels too cumbersome, I'm fine with keeping just the |
BTW, looking at my original post, is the current code even correct? |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Just from the title / tooltip of the actions, it's not clear what's the difference between the two:
This is what they do:
https://github.com/eamodio/vscode-gitlens/blob/5020fe18f0972f060a247976530b6e91fb97099d/src/git/gitService.ts#L1415-L1420
The harder part is how to explain the difference 😄 This StackOverflow answer is quite nice.
In GitLens' UI, it would at least be useful to add this:
-G
)-S
)Suggestion for respective tooltips:
The text was updated successfully, but these errors were encountered: