At the time of this post, there is a known issue with MonoDevelop's Code Completions feature. At some point, code completion stops working and you get "Gathering class information..." in the code completion drop down list.
Before you apply this workaround, ensure that you have the latest build of MonoDevelop.
Workaround: Manually clear the code completion cacheOn a Mac:
- Close MonoDevelop
- Open the Terminal application
- Run this command:
rm -r ~/.config/MonoDevelop/CodeCompletionData
- Restart MonoDevelop
Note: For some reason, it did not work on my first attempt. MonoDevelop was still "Gathering class information", I listed the content of the CodeCompletionData folder and no files would appear. I did the same procedure again and it worked. So you might have to do this more than once.
I hope this helps.
Thanks to @mikebluestein and @mikrueger on twitter for their help.
Thanks for taking the time to post this Sylvain. And thanks to Michael Hutchinson for pointing this out to me on the monotouch mailing list.
ReplyDelete- Mike Bluestein