I get the error: Error 5 Package Visibility: Type is not visible: blah when I am trying to reference a global type from a managed package.
I think this is related to the tooling metadata api, is there a way to disable that so that managed package types are visible.
There is a setting in mavensmate that disables this and things will save correctly. I am able to access and save the type from the sfdc ui and mavensmate with the tooling api turned off. Not being able to use custom types from managed packages makes this kind of un-usable.