Sublime Forum

Git menus in SublimeText

#1

Looking at the list of Git integrations on this page:

https://www.sublimetext.com/docs/3/git_integration.html#side_bar

While I do see the colored badges in the sidebar and I see the branch and count of changes in the status bar, but I do not see any of the listed menu options anywhere. Nothing in the editor context menus or the sidebar menus and no SublimeMerge options in the command palette.

I do have SublimeMerge installed and clicking the changes count in the status bar does open to SublimeMerge. I thought maybe I might have a plugin installed that would be affecting the menus, but that wouldn’t explain why there aren’t any SublimeMerge options in the command palette.

Any ideas on what’s going on here?

0 Likes

#2

My hunch is that you have a menu override in place. You can confirm this by temporarily reverting to a freshly installed state: http://www.sublimetext.com/docs/3/revert.html.

The package OverrideAudit can help identify specifics: https://packagecontrol.io/packages/OverrideAudit.

2 Likes

#3

The OverrideAudit showed me more than two dozen files were being overridden. I couldn’t figure out how to get the report to detail what had done the overriding. It looks like all the overrides were coming from Packages/Default.


So, I deleted all overrides and everything looks fine so far. I’m a little nervous about this not knowing what was doing the overrides or why, but I backed up the data directory before these changes, so I suppose I can revert if it turns out I broke anything. Thanks for the help!

1 Like

#4

A potential reason to see a lot of overrides in a single package would be if you have PackageResourceViewer installed. It has a command that will extract an entire package (basically overriding everything all at once) in addition to the more commonly used command of opening a single resource in order to override it specifically.

In fact doing that one time too many by accident is one of the main reasons I decided I needed to create a package to warn me when I was doing it.

1 Like

#5

Ah, that could be it. Thanks for the tip!

0 Likes