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

Git badges like VS Code

by arxeiss ST3

Change git badges in Sublime Text Sidebar into the VS Code look

Details

Installs

  • Total 3K
  • Win 2K
  • Mac 558
  • Linux 431
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 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6
Windows 1 0 1 0 2 1 1 0 1 1 1 0 1 1 1 1 1 1 2 1 0 0 1 1 0 4 0 0 1 1 1 0 2 0 1 0 2 0 1 2 1 1 0 1 0
Mac 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 1 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 1 0
Linux 1 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0

Readme

Source
raw.​githubusercontent.​com

git badges like VS Code

This plugin changes default Sublime Text git badges in left sidebar into VS Code looks. Instead of dots and chevrons there are letters A, M, S and U. Also colors are changed.

Based on OdatNurd's gist

Install

Install as plugin via Package Control

Note that this plugin works only on Sublime Text 3.2 and above (>=3200), as in this version native git implementation was added.

Usage with other than default themes

If you are using another theme like Ayu or others, you cannot switch theme, but only color schema. Because there is difference between Select color scheme and Select Theme.

So do the following:

  1. Open command pallete (CTRL + Shift + P) and type UI: Select Theme and select Adaptive or Default/Default Dark. (not Ayu or others)
  2. Open command pallete (CTRL + Shift + P) and type UI: Select Color scheme and select any of Ayu or others.

How it looks

New VC Code like badges

Explanation:
- New files are green with U badge (untracked) or A badge when added to staging area - Modified files are yellow with M badge when unstaged or S badge when staged - Folder of deleted file has no color (red evoke error) but has red circle badge - Conflicted file is red with git merge badge - Folder has always circle badge (no letter or icon) except Conflicted

Contribute

Contribution is welcome. Leave an Issue or Pull request

Icons

Icons must be in PNG format in RGB mode (not palette mode). Use prepared PSD in Photopea, which can export file in RGB mode.

Changelog

v1.2.0

  • Added new Default Dark theme, which was added in ST4
  • Improved looks in Default (light) and Adaptive theme

v1.1.0

  • Create new A, M, S and U icons
  • Fixed path to custom icons