I expose several commands declared in my .vsct file on a document window and am seeing that in the case of a menu which includes sub-menus, the sub-menu still appears even when all of it's child commands are disabled. Perhaps this is by design, but I figured I'd ask, as it looks a little weird. My initial expectation would be that VS would display "(no commands available)", as I believe that's what we see on single-level menus we've declared elsewhere. Is there a flag I'm missing in my .vsct on the menu or sub-menu declaration?
See the attached visual of the menus in question.
Thanks very much in advance.