-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Problem description
Currently, the reveal_in_side_bar command works only on active views. If the command is used in the tab context menu, then it doesn't work on non focused views. (Will confirmed on discord that it hard codes the last active sheet).
Preferred solution
Make the command work in non focused tabs as well. This would then extend it's usability in tab context menu and tab side bar context menu.
Alternatives
Make the command take an additional file arg, which will be an absolute file path on disk. Passing the file path & running the command would then focus it in the sidebar. This would enable a user to write a wrapper command that could compute the view's file path using the group & index properties and then call reveal_in_side_bar to make it work. This still sounds a tad bit tedious but if the preferred solution doesn't work, this might be the best bet.
Additional Information (optional)
ST Version: ST Build 4099 (dev)
OS: Windows 10 Build 10.0.18362
Architecture: 64bit
Processor: Intel64 Family 6 Model 126 Stepping 5, GenuineIntel