-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
improve search field hint text #149710
improve search field hint text #149710
Conversation
previous: `Search files by name (append : to go to line or @ to go to symbol)` proposed: `Search files by name (or :line_number, @file_symbol, #workspace_symbol)` "append" of the original text was misleading, and the prefix for workspace symbol was omitted
Misleading how? I think it's accurate. I don't want to take this change because we are actually working to make these features more discoverable already. See #149445 and you can enable |
The current text is misleading because "append" means "add to the end". So taking it literally, "go to line" would be
Making search more discoverable is great, and I'll try the option. But this PR is a tangible usability improvement that can be deployed now, and I'm disappointed that it was summarily closed (before I could even answer your question). @roblourens |
We are saying append something like |
I see. It's a little confusing, because you can use :123 and @foo even without specifying a filename, and it will search the currently viewed file. (In fact, that's what "Go To Line" and "Go To Symbol in Editor" are mapped to.) So this search box can do a lot, and there's little real estate for the hint text. But to summarize the issues:
How about this? |
That is a little more precise but honestly I think this extremely visible UI element should be more "friendly" than exhaustively precise. But cc @jrieken - in case you want to think about this placeholder text while you are in the area. |
I had no idea about |
The new UI has a dedicated button for |
I understand that a form like A hint like this may actually help many more users:
|
previous:
Search files by name (append : to go to line or @ to go to symbol)
proposed:
Search files by name (or :line_number, @file_symbol, #workspace_symbol)
"append" of the original text was misleading, and the prefix for workspace symbol was omitted