ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Set​Window​Title

by gwenzek ST3 WinLinux

Configure the title of your Sublime Text windows

Details

Installs

  • Total 1K
  • Win 1K
  • Mac 0
  • Linux 450
Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13
Windows 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 1 1 0 0 0 1 0 0 0 0 0 1 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

Build Status

Overview

!!! You probably don't need this plugin anymore in ST4 !!! Just set "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.

Installation

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!).

Requirement

On Windows it should work out of the box. On Linux the plugin assumes you have installed xdotool. If you have any ideas on how to do that on MacOS, please submit a PR.

Configuration

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_name method, 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 user32 API we might use your help !

Thanks

Thanks to cjdoris for implementing Windows support.