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.
Customer is having trouble with code completion in MonoDevelop 18.104.22.168. At first it would only update to reflect only changes after customer restarted, but currently it isn't updating.
Also, the directory '~/.config/MonoDevelop' does not exist on the customer's MacBook Pro machine.
Received the following:
my_username1:.config my_username$ pwd
my_username1:.config my_username$ ls
gtk-2.0 inkscape menus stetic xbuild
my_username1:.config my_username$ rm -r ~/.config/MonoDevelop/CodeCompletionData
rm: /Users/my_username/.config/MonoDevelop/CodeCompletionData: No such file or directory
Attempted to re-install MonoDevelop 22.214.171.124, but did not help. The syntax highlighting is incorrect for types in the referenced MonoTouch Binding Project.
They are running Mac OS X Version 10.7.5
MD has not used a ~/.config directory on Mac/Windows since version 2.4. In MD 3.0, the code completion cache directory is ~/Library/Caches/MonoDevelop-3.0/DerivedData
What code completion is broken? Is it just for referenced binding projects?
MonoTouch has a feature to bind to an Objective-C library using a MonoTouch Binding Project. The project generates hidden *.g.cs files containing proxy objects from supplied metadata. The result of building this project is an assembly that contains proxy classes for accessing the associated Objective-C libraries from C#. The assembly can be opened in object browser and nothing appears unusual.
So, none of the proxy classes are recognized by the syntax highlighter or code completion for some reason. There is no indication that the proxy classes exist. However, everything compiles just fine and the proxy classes call Objective-C code without any issues.
At first I thought this was a general issue since syntax highlighting has been a little slow and sometimes required a restart. Now, I see that it is occurring exclusively for the proxy types after several restarts and installs.
The good news is that we've a fix - the bad that it'll take some time to release it :/
I backported the fix to the 3.0.x series.