Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
I was just trying to comment out some code that already had a comment block in it. The behavior at the moment is that the new comment block stops at the end of the first nested block comment.
I checked in with devs and it was said this was the expected behavior, but I figured I would at least mention it here under enhancements.
http://screencast.com/t/dnXa0VS0Su (to show behavior if my description is unclear)
this is something that can not be fixed, since this is part of how the languages that we support have been specified.
I always found it annoying - thats why we actually HAVE a solution for it.
You just need to:
1) Select the region of text you want to comment.
2) Right click
3) Select "Toggle Line Comments" in the context menu.
-> then single line comments are used to comment out the code block. That will work in c#. You can uncomment a commented code block with the same operation btw.