This is an awesome plugin Tito! Though, I really need to play with it to confirm that it works well, but I really like the side-bar integration and hope to use it as an example. I help admin the SublimeText org, and would like to see if I can push this to create a standard-ish framework for SCM integration. Thanks for the contribution!
SideBarGit
You welcome, this plugin uses the classes SideBarSelection, and SideBarItem originally created for “SideBar Enhancements” plugin.
**SideBarSelection **takes a list of paths as arguments at let you know some “properties” of that paths ( hasDirectories, hasFiles, hasOnlyDirectories, hasFilesWithExtension, etc )
**SideBarItem **is for manage a path ( directory or file ) in many ways (get path with file system encoding, copy, rename, move, delete, get mime, content, etc )
**SideBarGit ** class has method getSelectedRepos ( which should be moved to class SideBarSelection at some point) that given a list of paths it returns the paths of the git repos found on that list.
I’m all in to use it as a framework to do anything related to files or directories “in the right way”, btw, still under testing and probably needs little tweaks. It would be nice if we can add these classes (SideBarSelection and SideBarItem ) to the “Default” package.
_
About creating standard-ish framework for SCM integration is hard, because different SCMs provide different options and features…
Regards
Under OSX, some things work, some things don’t.
I’ve added /usr/local/git/bin to my $PATH, yet the command Add & Commit & Push gives me the error:
Git: No such file or directory
Possible error:
git push not found on $PATH
Working manually through the command line works fine.
Thanks for reporting.
After upgrading to latest version, can you tell if some command is not working?
Small update:
- If a command sends output to a tab ( example a diff ), hitting F5 on that tab: will execute the command again and refresh the tab with the new contents ( example the new computed diff )
Can you please elaborate, with examples if possible, not sure what are you talking about, improvements welcome!
I don’t know what do you want to highlight. On a diff I may imagine character differences? on blame??
Color schemes already highlight that! ¿? dl.dropbox.com/u/9303546/Sublime … t/diff.png
[quote=“jbrooksuk”]
Where can I get this diff syntax file from?[/quote]
Oh The Oblivion theme doesn’t work with Diff. Better fix that!
Sorted it github.com/jbrooksuk/Oblivion/
Add these two below diff header to differentiate files names:
<dict>
<key>name</key>
<string>⎇ diff.context</string>
<key>scope</key>
<string>meta.diff.header.from-file</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#9bsedd</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>⎇ diff.context</string>
<key>scope</key>
<string>meta.diff.header.to-file</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#9bdedd</string>
</dict>
</dict>
PS: I’ve sent a pull request to your repo: github.com/SublimeText/Open-Include
I’m using Cygwin’s git on windows. Other sublime git plugins work fine but this one shows this error when I try to run a command.
‘git’ is not recognized as an internal or external command,
operable program or batch file.
Yes, all commands are synch, blocking sublime until process end.
Someday maybe I fix this
Regards,