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 599
  • Linux 466
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 1 1 3 0 2 1 0 1 2 1 0 1 3 1 0 2 3 1 3 2 0 0 1 1 1 0 1 0 0 1
Mac 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 1 0 0 0 0 1 0 2 2 0 0 0 0 0
Linux 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 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