Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 2 - Link with Editor / Show file in sidebar

Tags:

sublimetext

I'm looking for a feature like Eclipse's Link with Editor. Basically, I want whatever file I'm editing to be shown in its place in the file tree.

like image 441
noah Avatar asked Feb 11 '12 16:02

noah


People also ask

How do I get the sidebar to show files?

In Windows '''Ctrl-K Ctrl-B" opens and closes the sidebar. Of course you first need to View->ShowOpenFiles, or have a project set in order to have access to the sidebar. THANK YOU, that's the answer I was looking for :) Ctrl-0 (zero) and the file is highlighted in the sidebar.

How do I display folders in Sublime Text 4?

Then on sublime text go to view>sidebar>show sidebar. Finally, 3 tabs away from view is a project tab. Click on project> add folder to project.. and then choose the folder you downloaded/unziped to your computer.

How do I attach a file in Sublime Text?

You can add files and folders on the sidebar in Sublime Text. First, go to Project -> Add Folder to Project and select whatever your parent folder is. That'll put your parent folder in the sidebar. Then you can right click on any of the folders in the sidebar to create child files and folders.


1 Answers

Just right-click anywhere in the file's view and press "Reveal in Sidebar."

Sublime Text 2: built-in "reveal in Side Bar" feature

To make a key-binding, go to Preferences > Key Bindings-User and add:

{ "keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar" }

From here.

like image 160
Liam Cain Avatar answered Sep 21 '22 12:09

Liam Cain