Sublime Forum

Add options or menu to status bar or side bar


Is it possible to add menu /options/ buttons to status bar and side bar in sublime plugin for enhancing the user experience ?



You can add context menu items to the side bar by creating appropriate sublime-menu files; you can target items at either the top level folders that have been added or to the files and folders being displayed. Commands added this way get special extra arguments passed to them when they’re executed that tell them the file or folder they’re triggering on.

There’s more information in the official docs on menus,

It’s not possible to add buttons to the status bar or side bar, but you can add custom (non-interactive) text in the status bar via the API. Using phantoms you could create clickable items inside of files, though.