Sublime Forum

StatusBarControls: status bar customization

#1

StatusBarControls

Customize Sublime Text status bar to your liking. Some examples are better than words:

Simple with icons

Imgur


SublimeLinter support

Imgur
Imgur


Monospace font with centered padding

Spacey

Imgur


Bare-bones(but you can define order)

Imgur


More elments: size indicator, clock, git, shortened path


Size indicators: full, selection, multiple point, point, simple(with icon or text)
Imgur


Each mode can have a configurable toggled state. You switch status bar mode or toggle the state in the panel switch. For example, from this:

Imgur


You then select the switch(you can name them as you want):

Imgur


can become this (but it’s just an example, it depends on the configuration)

Imgur


The elements are dynamic, if there is nothing to show, they will remain hidden. There are three pre-made settings, for now supported elements are:

Size indicator: from full with multiple selections to point and size only
Clock: with seconds or not, similar to Status Bar Time by lowliet
Git status: same as GitStatusBar by randy3k
Shortened path: up to 2 dirs above
linter: SublimeLinter messages

If you use the git badge, you should disable others that you use, or you will see them both.


It’s very customizable, you can define:

  • order
  • toggling states
  • spacing and padding (automatic spacing with centering)
  • icons
  • separators:
    • starting, in-between and final can be different for each mode
    • additional separators for item type

Hope you like it


SublimeLinter support

If you want to use the SublimeLinter element, you must edit sublimelinter.py and replace line 409 with:

                if persist.settings.get('using_status_bar_controls', False):
                    SublimeLinter.SLinterErrorMessage = status
                else:
                    view.set_status('sublimelinter', status)

and then this at line 59:

    SLinterErrorMessage = None

Commands

From the palette, StatusBarControls: Update when you make changes to your settings and want to apply them.

Credits

GitStatusBar by randy3k for the git badge
Status Bar Time by lowliet for the clock

Todo

For now nothing but if you have suggestions about other elements to include, make your suggestion (or a pull request).

License

MIT

2 Likes

Show Project Name ANYWHERE in Sublime Text Window
Hide status bar clock
#2

Updated with general rewriting/clean-up and SublimeLinter support

0 Likes

#3

This looks nice. (something i am actually looking for)
Is the plugin available? I am not finding the github page as well.

0 Likes

#4

The BIG link in the first line of the post is too small to find? :laughing:

https://github.com/mg979/StatusBarControls

0 Likes

#5

well the link gives me a 404.

0 Likes

#6

Can the font size be manually increased?

0 Likes

#7

Yes, does this exist anymore?

0 Likes

#8

It has been over an year without any response. So I think it is safe to assume that it is no longer available.

0 Likes

#9

:worried:

:

0 Likes