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.
Created attachment 21957 [details]
When an external software uses Apple Events to start Visual Studio for Mac and open files, then files opened using Apple Events have issues with intellisense.
* Download Console.zip attachment
* Open Apple's script editor
* Copy & paste after adjusting the paths to your unzipped Console location:
tell application "Visual Studio"
open POSIX file "/Users/jbevain/tmp/Console/Console.sln"
open POSIX file "/Users/jbevain/tmp/Console/Program.cs"
* Visual Studio will open
* The solution will be opened
* The file Program will be opened
* Note that in the line:
class Program : Library
The type Library is not colorized.
You do not get code completion if you type Library.
You do not get code completion for the method `Library.Do`
When I ran the script the first time, I did indeed get the behavior you describe. When I double-clicked on Program.cs, suddenly the 'Library' token became colorized.
Interestingly, if I close Program.cs and then close Visual Studio and then re-run the script, it opens up Program.cs and after a few seconds, everything is syntactically colorized including the 'Library' token.
Not sure if that helps Mike diagnose the issue at all...
Fixed in version 18.104.22.1683 (master)
Author: Lluis Sanchez
Commit: cf6e8c8652c3aa9e4f9f9e3ccc83c37390c57dd4 (mono/monodevelop)
This bug is verified on Build :
-Visual Studio Enterprise 2017 for Mac Version 7.0.1 (build 8)
-Mono 22.214.171.124 (2017-04/4a0006f) (64-bit)
-Xamarin.iOS Version: 10.11.0.126 (Visual Studio Enterprise)
-Xamarin.Android Version: 126.96.36.199 (Visual Studio Enterprise)
-Xamarin.Mac Version: 188.8.131.52 (Visual Studio Enterprise)
& Found to be fixed Hence marking this issue as Verified.
The type Library is colorized (Color : Blue).
Getting code completion on typing Library.
Getting code completion for the method `Library.Do`
Fixed in version 184.108.40.206 (d15-2)
Author: Lluis Sanchez
Commit: 3ad49f02b45c9fe64b5221d47ca58a08b823ac52 (mono/monodevelop)