Skip to content
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

revealInExplorer command does not highlight folders #14700

Open
pmeijer opened this issue Jan 6, 2025 · 3 comments
Open

revealInExplorer command does not highlight folders #14700

pmeijer opened this issue Jan 6, 2025 · 3 comments

Comments

@pmeijer
Copy link

pmeijer commented Jan 6, 2025

Bug Description:

The command revealInExplorer does not highlight folders (it only opens up the folder and parent-folders) making it almost impossible to locate the folder in some cases.

Steps to Reproduce:

Create a new extension and call:

await vscode.commands.executeCommand('revealInExplorer', folderUri);

Here are the results in Theia vs VsCode.

Screenshot from 2025-01-06 16-54-53

Additional Information

Related PR: #8496

  • Operating System: Linux
  • Theia Version: Version 1.49.100
  • VS Code API Version: 1.88.1
@pmeijer
Copy link
Author

pmeijer commented Jan 6, 2025

Any workaround like a command for focusing the folder node would be highly appreciated.

@msujew
Copy link
Member

msujew commented Jan 6, 2025

@pmeijer I haven't looked into this yet, so no recommendation for a workaround. However, if you find a fix for the issue, feel free to contribute it back to this repo :)

@msujew
Copy link
Member

msujew commented Jan 7, 2025

Not too sure about this, but I can imagine that the behavior broke with #11200.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants