Search

Class member autocompletion forces wrong member. by htw1966

Closed
as Fixed Help for as Fixed

2
0
Sign in
to vote
Type: Bug
ID: 548891
Opened: 4/5/2010 5:44:31 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
E.g., class has 2 members, same name, different case, such as Ready() and READY(). Completing typing out bclass->Ready(, autocorrects to READY(, where previous versions behavior was to leave it typed as is, unless selected from the dropdown list.
Details (expand)

Product Language

English

Version

Visual Studio 2010 Release Candidate

Operating System

Windows 7

Operating System Language

English

Steps to Reproduce

Create any class with 2 or more members with same name different case, example:
class myclass {
void Ready();
void READY();
} mc;

Now type mc-> (get the dropdown, but continue typing Ready() lowercase).
mc->Ready(
Output is then changed to mc->READY(

Actual Results

Incorrect "autocorrect" of member.

Expected Results

To leave as is if fully typed out without selecting from the dropdown menu.
      You can indicate your satisfaction with how Microsoft handled this issue by completing this quick 3 question survey. [Details]

 

File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 5/11/2010 at 1:20 AM
Thank you for reporting this problem. I have changed the behavior so that identical matches are preferred when using the Complete Word and List Members functions of the IDE. Thanks for helping make Visual Studio a better product.

Oleg Kharitonov
Visual C++
Posted by Microsoft on 5/4/2010 at 6:24 PM
Thank you for your feedback. I have reproduced this issue and confirmed it to be a bug in Visual Studio 2010. We will make every effort to resolve this issue in a future release of Visual Studio.

Vinny Romano
Visual C++ Team
Posted by Microsoft on 4/7/2010 at 12:07 AM
Thank you for reporting this issue.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 4/6/2010 at 4:02 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.