Sublime Forum

Show partial path, like show_full_path, but just enclosing folder?

#1

Is there a way to show at the top of the given edit window the enclosing folder and the file name, or a configurable folder depth from the enclosing folder? I believe in TextMate, the top of the window displays Filename – Enclosing Folder Name (at least if you have two files open with the same name). Can something similar be accomplished in Sublime Text? I’m using preferences:“show_full_path” = true, but it is a bit too much information for my purposes, when comparing lots of similar config files for similar jobs/tasks that are represented in job folders.
Thanks!

0 Likes

#2

I believe the only 3 options available to configure what get’s shown in the title bar is

// Show the full path to files in the title bar. On Mac, this value is
// overridden in the platform specific settings, with a default value of
// false.
"show_full_path": true,

// Show the relative path to files in the title bar. This overrides
// show_full_path for files that are listed in the sidebar, however
// show_full_path is still used for other files.
"show_rel_path": false,

// Show "project - file" or "file - project" in the title bar.
"show_project_first": false,

There is currently no provision for plugins to control the display of anything in the title bar.

0 Likes