Sublime Forum

"Show in sidebar" for a given file in a project?

#1

This is a feature I use a lot in Textmate, and I can’t seem to find it in Sublime Text. Ctrl+command+R takes shows me the active file in the tree in the sidebar.

Is there an equivalent i Sublime Text?

0 Likes

Show current file in folder tree
#2

Right-click in the view and choose “Reveal in sidebar” or you can map it with:

{  "keys": "ctrl+super+r"], "command": "reveal_in_side_bar" }
0 Likes

#3

I know this is more of a feature request. But would there be any way to actually highlight the file that’s revealed?

0 Likes

#4

+1 for highlighting.

0 Likes

#5

Yeah +1 for highlighting it as well.

0 Likes

#6

Also +1 one for highlighting :smile:

0 Likes

#7

Well it seems like it’s being highlighted now but if the item isn’t in view it doesn’t scroll to it. So I still have to remember where it was and scroll appropriately.

0 Likes

#8

+1.

It could be very cool if the cursor can go to the side bar at the position of the current file.

0 Likes

#9

+1 for scrolling the file into view in the sidebar

0 Likes

#10

+1 for scrolling. Please.

0 Likes

#11

Regarding the scrolling sidebar to the file, I missed the same feature and therefore wrote a plugin to do that (and to move focus to the sidebar as well, so we can navigate the tree with keyboard arrows), give it a try and anything please ping me =)

github.com/miguelgraz/FocusFileOnSidebar

1 Like