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