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