git-plus icon indicating copy to clipboard operation
git-plus copied to clipboard

SublimeGit-like git status buffer?

Open jesseleite opened this issue 8 years ago • 8 comments

@akonwi: Thank you for git-plus. It's an awesome package!

Have you seen SublimeGit for Sublime? I love how it handles git status. It's a read-only buffer, but accepts cursor movement and hotkeys to manage staging area and trigger commit. Here's a quick screencast of me messing with staging area and then performing a commit: http://recordit.co/AboDVYOciQ

Would this kind of thing be difficult to implement into git-plus?

jesseleite avatar Aug 30 '15 02:08 jesseleite

1

A side note, your implementation of git status nearly replicates the built in "Fuzzy Finder: Toggle Git Status Finder" command. Possibly motivation add staging management functionality to git-plus' implementation? ;)

jesseleite avatar Aug 30 '15 03:08 jesseleite

That is pretty cool feature! I like the idea a lot. I think it can be done in this package and it would be a little more involved. Right now, I'm not satisfied with the codebase of the package though so I'm refactoring to make extensibility easier. Until then, I'm holding off working new features but this is something I'd like to add as well.

akonwi avatar Aug 30 '15 18:08 akonwi

Any update on this?

TooBug avatar Oct 13 '15 03:10 TooBug

@TooBug I haven't started working on this yet I'm not sure when I will at this point but I do want it to happen

akonwi avatar Oct 15 '15 22:10 akonwi

Looking forward to see this feature 👍

jastkand avatar Jun 29 '16 08:06 jastkand

For those of you interested in this feature, I want to note that you can use the Stage Files and Unstage Files commands to select which files to add/remove from the index through the command palette. This will allow you to avoid opening each individual files.

I still haven't started on this feature yet but I think it would replace the two commands mentioned above.

akonwi avatar Nov 07 '16 17:11 akonwi

That would one of the best feature to have. I've tried to use Stage Files / Unstage Files but it is not very handy. Those two views could be totally merged into one to manage staged status.

jpolo avatar Dec 07 '16 17:12 jpolo

This feature is going to be more complicated than I anticipated.

I've taken @jpolo's suggestion though and merged the 'Stage Files' and 'Unstage Files' commands into a single command where you can toggle the staged status of files from one view. In order to use that feature, you'll need to enable experimental features and the 'Stage Files Beta' setting of the package.

I'd love the feedback because I want to make that the default and remove the 'Unstage Files' command. I'll keep this feature as experimental for a couple of months and if there are no issues I'll drop the experimental flag from it.

akonwi avatar Dec 27 '16 19:12 akonwi