Bug Report T837325
Visible to All Users

Shortcuts - Some shortcuts work outside of the text editor context

created 5 years ago

The CR template does not recognize the VS internal web browser windows(view->other windows->web browser).

e.g. MarkersSwap shortcut will activate on the code window when the web browser has the focus.

Shortcut key context - [CodeEditorHasFocus] && ![IntellisenseActive]  --- CodeEditorHasFocus returns TRUE when the web browser has the focus. The result should of course be FALSE for CodeEditorHasFocus.

Regards,
   Chad

Comments (1)
DevExpress Support Team 5 years ago

    Hi Chad,

    Thank you for pointing out to this issue. I have reproduced it and we are working on it.

    The cause of this issue is not related to the "CodeEditorHasFocus" context. It works correctly in this case but CodeRush registers commands in Visual Studio and synchronizes some shortcuts with the commands key binding for internal needs. As a temporary workaround, I suggest you disable this synchronization for the "Shift+Alt+Home" shortcut as follows:

    1. Close all Visual Studio instances and keep only the last one.
    2. From the Visual Studio menu, select "CodeRush\Options…" .
    3. In the tree view on the left, navigate to the "IDE" folder.
    4. Select the "Shortcuts" options page.
    5. Select the "Navigation\Markers\Shift+Alt+Home" item in the shortcuts tree.
    6. Uncheck the "Sync this shortcut with the command key binding registered in Visual Studio" item.
    7. Click the "Apply" button to save changes.
    8. In the tree view on the left, select the "Import and Export Settings" options page.
    9. Click the "Update Bindings" button.

    Answers approved by DevExpress Support

    created 5 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      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.