Configure the title of your Sublime Text windows
- Total 1K
- Win 828
- Mac 0
- Linux 367
|Jan 29||Jan 28||Jan 27||Jan 26||Jan 25||Jan 24||Jan 23||Jan 22||Jan 21||Jan 20||Jan 19||Jan 18||Jan 17||Jan 16||Jan 15||Jan 14||Jan 13||Jan 12||Jan 11||Jan 10||Jan 9||Jan 8||Jan 7||Jan 6||Jan 5||Jan 4||Jan 3||Jan 2||Jan 1||Dec 31||Dec 30||Dec 29||Dec 28||Dec 27||Dec 26||Dec 25||Dec 24||Dec 23||Dec 22||Dec 21||Dec 20||Dec 19||Dec 18||Dec 17||Dec 16||Dec 15|
!!! 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
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.