[MonoDevelop] Code completion stopped working
mvcalder at gmail.com
Wed Mar 30 05:55:55 EDT 2011
Thank you both, Abe and Mike. Given this and my previous post
regarding code formatting I guess an upgrade is in the cards. It
sounds like if one wants to use c# 4 features, it is better to move to
MD 2.6. Two questions, two answers, one day, life is good.
On Wed, Mar 30, 2011 at 4:20 AM, Mike Krüger <mkrueger at novell.com> wrote:
> I just fixed the default args bug. (Should work in beta 2 - or in
> current master)
>> Hah! Only a few moments after sending this last email I was toying
>> around and discovered the problem. A colleague has become very fond of
>> the new default args syntax, and as he populates our code with
>> functions having default args, code completion breaks for me. For
>> using System;
>> namespace CodeCompletionError
>> public class AClass
>> string foo;
>> // Code completion on foo does work here.
>> // foo. ...
>> public Baz(bool arg = true)
>> string foo;
>> // Code completion on foo does not work here.
>> // foo. ...
>> As the comments indicate, code completion does not work at the second
>> point because MD is upset about the syntax: "bool arg = true". Is
>> there some way to separate the detection of a syntax error (even
>> though in this case it is not) from the code completion mechanism? I
>> suppose those may be deeply linked, but it can be disconcerting to
>> have a syntax error many lines above in a file disable code completion
>> from that point down. Also, if I upgrade to MD 2.6 will default args
>> no longer be marked as errors?
>> On Tue, Mar 29, 2011 at 6:15 PM, Matt Calder<mvcalder at gmail.com> wrote:
>>> Code completion regularly stops working for me altogether. Then, as
>>> mysteriously as it disappeared it reappears. I previously thought it
>>> might be due to Gnome themes on Ubuntu, but I think that was
>>> coincidence. Does anyone else see this problem? I wonder if some
>>> diagnostic plan can be suggested so that I might discover the cause.
>>> On Wed, Feb 9, 2011 at 1:43 PM, Michael Hutchinson
>>> <m.j.hutchinson at gmail.com> wrote:
>>>> On Wed, Feb 9, 2011 at 11:11 AM, Matt Calder<mvcalder at gmail.com> wrote:
>>>>> For some reason code completion has stopped working for me in
>>>>> monodevelop. This is version 2.4 running under Ubuntu 10.10. I think
>>>>> it may have stopped when I changed the desktop theme, but I can't be
>>>>> certain. I restarted MD, but no change. Any ideas?
>>>> * Check the MD log for errors (~/.config/MonoDevelop/log)
>>>> * Try cleaning out the pidb (complete data cache) files from your
>>>> project directories
>>>> * Try cleaning out the pidb files from ~/.config/MonoDevelop/CodeCompletionData
>>>> Michael Hutchinson
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
More information about the Monodevelop-list