Bug Report Q441775
Visible to All Users

CodeRush Express with VS2012 - Keyboard shortcuts no longer work

created 12 years ago

Ctrl-K, Ctrl-C now no longer comments out the selected lines (VB.NET). It says "no coderush binding found for Ctrl-K, Ctrl-C". This is also the case if I create one on the CR options screen.

Looking at the CR options screen, under features, I have "Default to Visual Studio shortcuts" selected when conflicting shortcuts exist, but this has no effect.

I think I shall have to uninstall Coderush Express - losing the VS shortcuts is too much of an issue for me. Not happy, and I'm now no longer considering purchasing the full version, which is very disappointing.

Show previous comments (2)

    @Alex - Settings exported and zipped as requested. Sorry for the delay. The VS settings should be included in the attachment. Thanks for looking into this!

    Alex Skorkin (DevExpress) 12 years ago

      @Jörgen,
      Thank you for providing your setting files. You will get a response here. But you can also create your own ticket. Both approaches are fine.
      @Chris,
      Thank you for providing the setting files. We are going to apply them and try to find the cause of the issue.
      @Guys,
      While we are researching the issue, it would also be great if you could share your Visual Studio settings as well (Tools -> Import and Export settings…).
      Thank you in advance.

      JA JA
      Jörgen Andersson 12 years ago

        My Visual Studio settings is in the root of the zip file I attached

        Answers

        created 12 years ago (modified 12 years ago)

        @Guys,
        I have applied your Visual Studio and CodeRush settings and have replicated the issue with the broken Ctrl+K, Ctrl+C shortcut.
        @Jörgen
        The reason for this is that there is a CodeRush shortcut for the SurroundWith command (Ctrl+K,S) existent in the Refactor! section of the IDE | Shortcuts option page. I'm afraid that this is how the CodeRush Shortcuts Engine is currently designed. If there is a CodeRush shortcut with double-key (Ctrl+K, Ctrl+S) existent, then it prevents Visual Studio shortcuts starting with the same key (Ctrl+K) from working properly.
        To fix this issue, I recommend disabling or rebinding the Ctrl+K,S shortcut in the CodeRush Options Dialog (IDE | Shortcuts -> Refactor!).
        @Chris
        You see the same issue as Jörgen. But, you have two shortcuts with a double-key assigned:
        The "SurroundWith" (Ctrl+K,S) in the Refactor! section and the "About(veg)" in Text Replacer section
        I recommend disabling both of them to make the Ctrl+K, Ctrl+C shortcuts work again.
        @Guys
        We are going to remove the incorrect shortcut that disables the Visual Studio comment shortcuts. The fix will be available in one of the next product updates. We appreciate your feedback!

          Show previous comments (1)
          Alex Skorkin (DevExpress) 12 years ago

            Jörgen,
            Thank you for informing us that the problem has been resolved. If you need further assistance, please do not hesitate to contact us.

              @Alex - thanks for your response on this. Looking at my Options dialog (IDE > Shortcuts > Refactor), I don't see any shortcuts defined at all. I removed the About(veg) one you mentioned in Text Replacer.
              If I disable the IDE > Shortcuts > Refactor completely, my VS Ctrl-K,Ctrl-C 'comment out' shortcut starts working again. This will do for now as a workaround - many thanks.

              Alex Skorkin (DevExpress) 12 years ago

                You are welcome, Chris! If you need further assistance, please do not hesitate to contact us.
                P.S. Once your question has been resolved, please mark it as a Solution. Your question status will immediately become Closed and other users will be able to refer to this marked solution.

                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.