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.
The backslash character is problematic in F# source files in Xamarin Studio.
If you accidentally type backslash, it gets hidden and then remains hidden in the source file.
When you then compile the source, the compiler complains about the backslash.
Also the code formatting goes awry if there is backslash in a literal string.
For example any code after the following line is not syntax highlighted correctly:
let h_vt = ",\"vt\":\""
This happens on both the PC and the Mac.
Confirmed - see attached reproduction.
| - CSharpSampleViewController.cs <- Line 36, I'm able to include \ characters
| - FSharpSampleViewController.fs <- Line 15, can't include \ characters
If you open the source code for FSharpSampleViewController.fs in a text editor, you'll see the following:
When you open it in Xamarin Studio, you see:
Created attachment 8984 [details]
This is an issue with semantic highlighting, until this is fixed you can turn it off in the menu:
Xamarin Studio | Preferences | Text Editor | Syntax Highlighting
uncheck "Enable Semantic Highlighting"
Unchecking "Enable Semantic Highlighting" fixed the issue
Fixed in fsharpbinding master