Sublime Forum

Re: a plugin to list git status files in sidebar

#1

I’d like to build a plugin that combines the visual aspect of Open Files (ST3’s built in feature that appears in the side bar above “Folders”) with the output of running git status at the command line.

** I don’t see a lot of plugins that occupy or output to this space in the sidebar and I am wondering if there are currently any limitations to the ST3 api that would make this difficult.**

I essentially want to end up with something like this above Folders which I can use to jump around my projects with, as I tend to work on a single feature at a time and I’m usually only concerned with dirty files in my working directory according to git.

--------------------------------------------
branch: master
Modified
	folder1/file1.txt
Untracked
	README.md
	folder1/file.js
	folder1/style.css
Deleted
	folder2/file1.txt
--------------------------------------------

Aside from learning python (which I’m not super skilled with yet) will I run into complications from the sublime api?

I would love some insight from other experienced plugin devs. Thank you so much.

0 Likes

#2

The reason for this is quite simple: It’s not possible. Unless you hack into the system UI API to draw the stuff manually, which I wouldn’t recommend.

PS: Wrong forum.

0 Likes

#3

Moved to Technical Support.

0 Likes

#4

You could do something hacky like this:
github.com/aziz/SublimeFileBrowser

0 Likes