Sublime Forum

Focus path in sidebar

#1

Hello, i want to make plugin: write path to input and focus it in sidebar.
I can see items in selected folder and add to my path.
How i can reveal any path in sidebar from plugin

0 Likes

#2

I don’t think there’s currently a way to do that. There’s a reveal_in_side_bar command but it doesn’t take any arguments & it just reveals the active view in the side bar. This is the command that’s behind the Reveal in Side Bar context menu option when you right click inside of an active view. If the side bar is hidden when you choose this option, it opens it & reveals the file else by default when you have the side bar open and you click on any tab in the current window, then it highlights it in the side bar (provided the file is visible).

1 Like

#3

Ok. Thanks for answer

0 Likes