Bug Report T419769
Visible to All Users

CodeRush for Roslyn incorrectly suppresses auto-complete on entering the ";" symbol

created 9 years ago

I'm using CodeRush for Roslyn in Visual Studio 2015, and I'm typing along happily until I get to a place where I want to type
return reallyLongAndAnnoyingVariableName;

So what I do is type:
return reall;

At this point I expect the IntelliSense popup to close when I type the semicolon, and for the autocomplete expansion to happen, yielding
return reallyLongAndAnnoyingVariableName;

But what actually happens is that I get exactly what I typed, and the IntelliSense popup is still present.

I have both IntelliSense settings in CodeRush set to "Always expand IntelliSense", so that's not why the completion is being suppressed.

Show previous comments (2)
AE AE
Alex Eg (DevExpress) 8 years ago

    Hi Dale,
    Thank you for the update. It would be great if you send us a code sample where 'Smart Semicolon' breaks auto-completion. I hope it would be enough to have a source file even if it doesn't compile.

      It's a keyword instead of a variable name, but here's a snippet:

      static bool Check(string[] args)
      {
          switch (args.Length)
          {
              case 0:
                  return /* type «fa;» here*/
          }
      }

      When I type fa; in the indicated location, I expect it to expand and give me "return false;"
      With Smart semicolon turned on, the expansion does not happen, and the Intellisense popup remains present.
      With Smart semicolon off, the expansion happens correctly.

      AE AE
      Alex Eg (DevExpress) 8 years ago

        Hi Dale,
        Thank you for the efforts you devoted to help us replicate the issue. I have reproduced the bug with the provided code snippet and our team are working on it. We will get back to you once we have results.

        Answers approved by DevExpress Support

        created 8 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.