Open montapro opened 5 years ago
@jrieken there's a revela in sidebar command which you could trigger (I could extend it to get a resource) Or you can have a dependency to the explorer service and say explorerService.select(uri, true) - true to reveal. In case you want this feature
I would personally like to see double-clicking the file tab do the reveal. Right-clicking and selecting is painful, and so is triggering the command, even with a key binding.
would it not make more sense to double click the tab to reveal file in explorer?
I think it would be an anti pattern to keep the file open
My suggestion is add option Reveal in Explorer
in Breadcrumbs.
I often would like to open any folder from breadcrumbs in Windows explorer
Below is an example of what I mean:
right click
on one of the directories that I want to open
I've set the
explorer.autoReveal: false
in my settings.
May I know why you decided to disable this in the first place?
I've set the
explorer.autoReveal: false
in my settings.May I know why you decided to disable this in the first place?
Because the focus jumps through the whole file tree in the explorer whenever I select another open file. So I always lose orientation.
This can be generalized by supporting context menu on the breadcrumb items and item alternates as in this issue:
https://github.com/microsoft/vscode/issues/139975
which was unfortunately closed :(
This extension attempts to show breadcrumb in column view (like Mac Finder column view) in a Webview based view:
BTW @montapro the above implements Link with Explorer option.
The idea is to gather feedback on such UI and then implement additional context menus on each item e.g. Open Terminal, Open in Desktop Explorer etc
This extension attempts to show breadcrumb in column view (like Mac Finder column view) in a Webview based view:
BTW @montapro the above implements Link with Explorer option.
The idea is to gather feedback on such UI and then implement additional context menus on each item e.g. Open Terminal, Open in Desktop Explorer etc
Thanks for the link, but yeah, it isn't the native way. An option to activate the described behavior when i am double-click on an file or folder would be smarter and cleaner i think.
This is the feature that made switching from IntelliJ the most painful for me in the last few weeks. Getting to siblings of a particular folder is so painful without this. More generally there is no obvious reason why right-clicking a breadcrumb shouldn't do the same thing as right-clicking a file in the explorer view.
For me, double-clicking is an implementation detail: I just want to be able to jump to a directory from the breadcrumbs. Is my request different enough to warrant its own issue?
+1 Support this feature, I also need to right click to open context menu to trigger some custom tasks.
I've created a new issue for this and it is now been marked as a candidate for the backlog. If the new issue it gets 20 upvotes with a 👍 on the main issue, it will automatically get moved to the backlog. Go vote with a 👍 here:
I've set the
explorer.autoReveal: false
in my settings. It would be great, if i am double-click the file or folder in the breadcrumbs it would be reveal in sidebar/explorer.