Execute revealFileInOS
on TreeItem will use current focused file's URI
#87804
Milestone
revealFileInOS
on TreeItem will use current focused file's URI
#87804
Issue Type: Bug
This is a regression bug after 0dbe568 which fixes #86103:
When executing
getMultiSelectedResources
withlistService
derived fromTreeView
, if will fall into the logic which only handlesFileExplorer
, causing the returned resource to be the currently focused file's uri.Steps to Reproduce:
Consider a java-dependency-viewer treeview:
Execute
Reveal In Explorer
on a jar file, which will forward jar file's uri torevealFileInOS
command.On older versions, it will work as expected, but in insider version and the newly released version, it will open the folder containing the currently focused file.
VS Code version: Code 1.41.0 (9579eda, 2019-12-11T18:32:17.711Z)
OS version: Linux x64 4.15.0
The text was updated successfully, but these errors were encountered: