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 567
  • Linux 434
May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 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
Windows 0 2 0 1 0 0 0 1 0 2 1 1 0 1 1 0 0 0 0 1 1 0 0 0 2 1 0 3 1 0 1 1 0 1 0 2 1 1 0 1 1 1 0 1 1 1
Mac 0 0 2 1 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0
Linux 1 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 2 2 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 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