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 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.
Created attachment 13675 [details]
By default "Smart Quotes" is turned on inside the REPL. One can disable it through Edit > Substitutions > Smart Quotes, but by default you get some funny errors since the double quote is replaced by a version of the double quote that is slightly skewed. Therefore writing:
> selectedView.Text = “hi";
returns the error:
(1,22): Unexpected character `“'
After turning off Smart Quotes, typing:
selectedView.Text = "hi";
works just fine (note the first quote in that line is no longer angled slightly). Easy fix, but people might not know to turn off this option.
I wonder if this is coming from a global setting; we haven't seen it yet. Thanks for finding it!
Yes, I believe so. I have never touched it before though so it must be the default setting for everybody.
Clearly not for *everybody*, but regardless, I'll make sure we're ignoring it in the REPL.
I've noticed this, as well.
In System Preferences > Keyboard -> Text, is "Use smart quotes and dashes" checked?
I'm working on a fix, but want to make sure that that's the difference in our systems.
Interesting...we do actually already disable this, but it only appears to take effect starting with the second run.
"In System Preferences > Keyboard -> Text, is "Use smart quotes and dashes"
Yep, it's checked for me.
Checked for me as well.
And I did notice that it seems to fix itself on subsequent launches.
First run experience will be fixed in next release.