You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Search result 'show in Explorer' shows in side-panel #83139
Lee Goddard (@leegee) what you refer to as "the 'Files' side panel" is called Explorer. So the current behaviour of 'Reveal in Explorer' from a filename in Search results makes sense. But I can see it's confusing because when you then right-click on the filename that's been revealed in VS Code's Explorer, you get another 'Reveal in Explorer', and that one opens a Windows Explorer onto the folder containing the file and highlights the file. I guess on macOS the equivalent context menu will say 'Reveal in Finder'.
On Wed, 23 Oct 2019, 12:00 John Murray, ***@***.***> wrote:
@leegee <https://github.com/leegee> what you refer to as "the 'Files'
side panel" is called Explorer. So the current behaviour of 'Reveal in
Explorer' from a filename in Search results makes sense. But I can see it's
confusing because when you then right-click on the filename that's been
revealed in VS Code's Explorer, you get another 'Reveal in Explorer', and
that one opens a *Windows* Explorer onto the folder containing the file
and highlights the file. I guess on macOS the equivalent context menu will
say 'Reveal in Finder'.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#83139?email_source=notifications&email_token=AAD5GMHSCQHRH4GU7XOLME3QQAVEJA5CNFSM4JD6TYR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECA7PJQ#issuecomment-545388454>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD5GMANBTPLLF46LT3FM73QQAVEJANCNFSM4JD6TYRQ>
.
I'm still on Windows, I right-click the tab of an open file, and it offers Open in Explorer and Open in Side Bar.
Lee Goddard (@leegee) on my 1.39.2 on Windows the context menu from a file tab captions the options "Reveal in Explorer" and "Reveal in Side Bar" (not "Open in ..." as you wrote).
So for consistency I think the context menu from the filename on the Search list should be changed on this line to become Reveal in Side Bar
We talked about this at the time. The thing is, "Explorer" is used in a bunch of places to refer to the file explorer in vscode and it doesn't seem like a big deal to me. However I realized that there is precedent for referring to it as "Side bar", the command "File: Reveal active file in side bar". I think that's kind of imprecise and also you are already looking at the search results in the side bar, so it doesn't make sense to "reveal in side bar" again.
We have been using the term "side bar" exactly for this reason: to have a way to distinguish between the Windows Explorer and the explorer in VSCode. We could in theory refer to it as "Explorer View", but that may cause frustration when users search for "reveal explorer" and find 2 results.
I think no matter what we do, both commands should have a similar label. I don't think there is an issue calling the command in the search results "Reveal in Side Bar".
On Sun, 27 Oct 2019, 10:11 Benjamin Pasero, ***@***.***> wrote:
We have been using the term "side bar" exactly for this reason: to have a
way to distinguish between the Windows Explorer and the explorer in VSCode.
We could in theory refer to it as "Explorer View", but that may cause
frustration when users search for "reveal explorer" and find 2 results.
I think no matter what we do, both commands should have a similar label. I
don't think there is an issue calling the command in the search results
"Reveal in Side Bar".
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#83139?email_source=notifications&email_token=AAD5GMA3SEAXC2IB3WVUW4LQQVLLXA5CNFSM4JD6TYR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECK2Y7I#issuecomment-546679933>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD5GMDICHI6OHNEH25UUSTQQVLLXANCNFSM4JD6TYRQ>
.
Isidor Nikolic (@isidorn) are you willing to take my PR for this? It failed CI on windows and darwin but as far as I can tell that wasn't caused by anything in my PR itself.
Activity
gjsjohnmurray commentedon Oct 23, 2019
Lee Goddard (@leegee) what you refer to as "the 'Files' side panel" is called Explorer. So the current behaviour of 'Reveal in Explorer' from a filename in Search results makes sense. But I can see it's confusing because when you then right-click on the filename that's been revealed in VS Code's Explorer, you get another 'Reveal in Explorer', and that one opens a Windows Explorer onto the folder containing the file and highlights the file. I guess on macOS the equivalent context menu will say 'Reveal in Finder'.
leegee commentedon Oct 23, 2019
gjsjohnmurray commentedon Oct 23, 2019
So maybe the option in the Search side bar's context menu should be recaptioned 'Reveal in Explorer Side Bar' (1 change):
vscode/src/vs/workbench/contrib/search/browser/search.contribution.ts
Line 337 in 0a9f99a
Alternatively, make the Explorer side bar context menu on Windows use the caption 'Reveal in Windows Explorer' (3 changes):
vscode/src/vs/workbench/contrib/files/electron-browser/fileActions.contribution.ts
Line 29 in 0a9f99a
vscode/src/vs/workbench/contrib/files/electron-browser/fileActions.contribution.ts
Line 65 in 0a9f99a
vscode/src/vs/workbench/contrib/files/electron-browser/fileActions.contribution.ts
Line 86 in 0a9f99a
isidorn commentedon Oct 23, 2019
fyi roblourens
leegee commentedon Oct 24, 2019
I'm still on Windows, I right-click the tab of an open file, and it offers
Open in ExplorerandOpen in Side Bar.gjsjohnmurray commentedon Oct 24, 2019
Lee Goddard (@leegee) on my 1.39.2 on Windows the context menu from a file tab captions the options "Reveal in Explorer" and "Reveal in Side Bar" (not "Open in ..." as you wrote).
So for consistency I think the context menu from the filename on the Search list should be changed on this line to become
Reveal in Side Barvscode/src/vs/workbench/contrib/search/browser/search.contribution.ts
Line 337 in 0a9f99a
leegee commentedon Oct 24, 2019
roblourens commentedon Oct 25, 2019
We talked about this at the time. The thing is, "Explorer" is used in a bunch of places to refer to the file explorer in vscode and it doesn't seem like a big deal to me. However I realized that there is precedent for referring to it as "Side bar", the command "File: Reveal active file in side bar". I think that's kind of imprecise and also you are already looking at the search results in the side bar, so it doesn't make sense to "reveal in side bar" again.
But anyway, I don't have a strong opinion.
bpasero commentedon Oct 27, 2019
We have been using the term "side bar" exactly for this reason: to have a way to distinguish between the Windows Explorer and the explorer in VSCode. We could in theory refer to it as "Explorer View", but that may cause frustration when users search for "reveal explorer" and find 2 results.
I think no matter what we do, both commands should have a similar label. I don't think there is an issue calling the command in the search results "Reveal in Side Bar".
leegee commentedon Oct 27, 2019
Resolve microsoft#83139
gjsjohnmurray commentedon Oct 28, 2019
Isidor Nikolic (@isidorn) are you willing to take my PR for this? It failed CI on windows and darwin but as far as I can tell that wasn't caused by anything in my PR itself.