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

  • 1.3.5
  • github.​com
  • github.​com
  • 2 months ago
  • 23 minutes ago
  • 10 months ago

Installs

  • Total 201
  • Win 129
  • OS X 0
  • Linux 72
Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2
Windows 0 0 0 1 0 1 1 0 0 1 1 0 1 1 0 1 1 2 1 4 1 3 0 1 1 0 1 1 1 1 1 0 1 0 2 1 1 0 1 0 3 0 0 2 0
OS X 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 1 1 0 0 1 0 1 0 0 0 0 0 1 2 0 0 1 2 2 0 3 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 1 0

Readme

Source
raw.​githubusercontent.​com

Build Status

Overview

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. If you have knowledge of the user32 API we might use your help !

Thanks

Thanks to cjdoris for implementing Windows support.