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
Like
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

[VB.NET] Finding whether its Design Mode or Runtime Mode for Forms

by Jey Geethan | November 06, 2008
[VB.NET] Finding whether its Design Mode or Runtime Mode for Forms
Sometimes, while creating controls, either by Inherited Controls or UserControls, we will be required to skip a piece of code depending upon the design time or runtime mode.
Software Development

Ruby on Rails Engine - How To Keep Your Engine Migrations Abstracted From Your Host Rails App

by Jey Geethan | January 16, 2019
Ruby on Rails Engine - How To Keep Your Engine Migrations Abstracted From Your Host Rails App
Have you ever worked on building a Rails Engine and wanted to keep the models, the migrations and everything inside the engine rather than using a generator to copy paste them into your host Rails App?