Configure the title of your Sublime Text windows
- Total 1K
- Win 916
- Mac 0
- Linux 404
|Mar 21||Mar 20||Mar 19||Mar 18||Mar 17||Mar 16||Mar 15||Mar 14||Mar 13||Mar 12||Mar 11||Mar 10||Mar 9||Mar 8||Mar 7||Mar 6||Mar 5||Mar 4||Mar 3||Mar 2||Mar 1||Feb 28||Feb 27||Feb 26||Feb 25||Feb 24||Feb 23||Feb 22||Feb 21||Feb 20||Feb 19||Feb 18||Feb 17||Feb 16||Feb 15||Feb 14||Feb 13||Feb 12||Feb 11||Feb 10||Feb 9||Feb 8||Feb 7||Feb 6||Feb 5||Feb 4|
!!! You probably don't need this plugin anymore in ST4 !!!
"show_project_first": true, in your preferences.
This plugin allows you to configure the title of your Sublime Text windows. Every time you switch view, save a view, start editing a view, it will update the window title.
This package is avalaible on PackageControl.
If you have an unregistered version of Sublime Text you need to set the
setting “unregistered” to
true (or to buy a license!).
On Windows it should work out of the box.
On Linux the plugin assumes you have installed
If you have any ideas on how to do that on MacOS, please submit a PR.
Please look at the settings to read the documentation.
Room for improvement
Doesn't work with workspaces, it would be easy to implement if ST had a better API for this (relevant issues: 826, 5)
Currently the code that modifies the window title needs the PID of the target window. As there is no ST API for that, we list all ST windows and rename the one with a name matching the expected name. If there was a reliable way to find the PID of the correct window then we could drop the
get_official_namemethod, and simplify the plugin a lot.
(Linux) For some reason some chars aren't displayed correctly.
(Windows) The plugin is more brittle on Windows, some features have been disabled as a consequence. In particular you'll have to manually select windows before their name is changed. If you have knowledge of the
user32API we might use your help !
Thanks to cjdoris for implementing Windows support.