Bug 4986 - Comments affect some variables
Summary: Comments affect some variables
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.8.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-05-09 19:55 UTC by Derrick Lambert
Modified: 2012-05-10 12:47 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Screenshot showing underscore missing but it is still connected to all the other instances (149.57 KB, image/png)
2012-05-09 19:55 UTC, Derrick Lambert

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Derrick Lambert 2012-05-09 19:55:46 UTC
Created attachment 1840 [details]
Screenshot showing underscore missing but it is still connected to all the other instances

When I create private variables in CSharp I always prefix my variables with an underscore. For Example "_myVariable". When I add an end of the line comment like so "private float _myVariable; //this is my comment". The underscore on the variable visually disappears even though both MonoDevelop and Unity understand it is there and to connects correctly to the other instances of the variable. If I remove the EOL comment the underscore reappears visually. Anyone else experiencing this issue. If it makes a difference I am using the Windows 8 Consumer Preview.
Comment 1 Mike Krüger 2012-05-10 06:24:07 UTC
fixed in later versions.
Comment 2 Mikayla Hutchinson [MSFT] 2012-05-10 12:47:37 UTC
I suggest you ask Unity to update their version of MonoDevelop. Version 2.8.2 was released six months ago and there have been at least 5 substantial bugfix releases since then.