Show full file path in the title bar of Sublime and VS Code

Show full file path in the title bar of Sublime and VS Code

If you feel that you want to show the full file paths in your favorite editors - Sublime Text and Visual Studio Code, follow the simple steps
Software Development
by Jey Geethan | March 22, 2018

If you feel that you want to show the full file paths in your favorite editors - Sublime Text and Visual Studio Code, follow the simple steps below:

Sublime Text (on a Mac):

Goto Sublime Text -> Preferences -> Settings and add the following:

{
  "show_full_path": true
}

Visual Studio Code (on a Mac):

Goto Visual Studio, Code -> Preferences -> Settings and add the following:

{
  "window.title": "${activeEditorLong}"
}

As a small tweak, i added the following into my visual studio title, as it allows any custom string:

{
  "window.title": "${activeEditorLong} - work hard, play harder"
}

Now you can see the full path of the files in the top title bar.


Jey Geethan

Jey Geethan is a poet, author and an entrepreneur.


Related Articles

Software Development

Do you want to use your macbook as a lap-heater?

by Jey Geethan | August 28, 2019
Do you want to use your macbook as a lap-heater?
How many times have you felt the coldness of a meeting room and wish you had brought a heater into the room. Now you can convert your macbook into a heater
Software Development

Ruby on Rails - Complex route constraints made easy

by Jey Geethan | March 31, 2019
Ruby on Rails - Complex route constraints made easy
In Rails, we know that the routes are the most important entry-point where we define the which url hits which controller. We also know how to define the resources and add some conditions to the routing.