Ticket Q102752
Visible to All Users

How to assign a shortcut key for "Jump to Base Types"?

created 17 years ago

I would like to assign a shortcut key for "Jump to Base Types" (which is available in the right mouse click menu when at the name in a class declaration). Is it possible?

Show previous comments (4)
DevExpress Support Team 17 years ago

    Hi Lars,
    It looks as if the only solution we can suggest to you is to write a custom plug-in for this purpose. Please add a ContextProvider component into your plug-in, and handle its ContextSatisfied event as follows:

    C#
    private bool IsBaseTypesProviderAvailable(){ foreach (NavigationProviderBase navigationProvider in CodeRush.Navigation.AvailableProviders){ if (navigationProvider.DisplayName == "Base Types"){ return true; } } return false; } private void contextProvider1_ContextSatisfied(ContextSatisfiedEventArgs ea){ ea.Satisfied = IsBaseTypesProviderAvailable(); }

    Please try this solution, and let us know how it works for you.
    Thanks,
    Vito

      It works very well. Thanks again, Vito!

      DevExpress Support Team 17 years ago

        You are welcome, Lars!
        Thanks,
        Vito

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.