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.


Related Articles

[.NET Error] Update requires a valid UpdateCommand when passed DataRow collection with modified rows
Software Development

[.NET Error] Update requires a valid UpdateCommand when passed DataRow collection with modified rows

by Jey Geethan | March 06, 2008
This is an error, with which i was dumbfounded for weeks. But the solution is simple after understanding why it's happening

Can you have a dinner conversation around Pull Requests?
Software Development

Can you have a dinner conversation around Pull Requests?

by Jey Geethan | July 11, 2019
I believe that writing code is a way of communication and it enables developers understand better than just talking about the concepts or logic in plain english words.