[MonoDevelop] Code completion stopped working
Matt Calder
mvcalder at gmail.com
Fri Feb 11 10:41:43 EST 2011
Again, in the interest of follow up, I have pretty good evidence that
the problem is related to the "theme" used. I had switched from the
"Ambiance" theme which I believe is the default in Ubuntu to one
called "ClearLooks". The other day, in my effort to remedy the code
completion issue, I switched back. Then, at Michael's suggestion I
deleted pidb files. Over time, the code completion issue resolved
itself. That led me to believe that the initial theme-change was not
responsible so I subsequently switched back. Guess what, I am having
issues with code completion again.
I am not a UI person, so I cannot say what might cause the issue.
However, I do notice that the ClearLooks theme has a peculiar way to
select menus, it feels as though the mouse must be moving in the
direction indicating a desire to open a sub-menu in order to open that
sub-menu. So for example, just clicking Edit in the menu bar and
moving the mouse directly downward does not reliably open the
sub-menus (e.g Format), sometimes a flick to the right is required.
Perhaps the UI events that open the code completion box are also not
entirely what is expected? Any way, I am now searching for a new theme
under which code completion works, and has window borders more than a
single pixel wide (resizing windows in Ambiance requires more
dexterity than I have).
Matt
On Thu, Feb 10, 2011 at 5:24 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> On Thu, Feb 10, 2011 at 4:51 PM, Matt Calder <mvcalder at gmail.com> wrote:
>> In the interest of follow up, I guess deleting those files did have
>> the desired effect though slowly. An hour or so after deleting the
>> pidb files I started to get some limited code completion (in the
>> completion windows mostly system commands would appear). After a
>> little while longer, more options started to appear. It now seems as
>> though code completion has recovered. I know it sounds strange but
>> that's how it happened. If it was not deleting those files that
>> started the recovery process, I don't know what it was. Perhaps there
>> should be some "recompile code completion data" option somewhere? The
>> whole experience is somewhat disconcerting. I am now unsure when I
>> look at code completion as to whether I am getting the whole picture.
>
> The code completion database are generated when first needed, and can
> take a while to generate. You should see indicators in the status bar
> and completion window while this is happening.
>
> The completion databases should never have to be removed manually,
> unless they are somehow corrupted by a bug, so making it easy for
> users to regenerate them would encourage ignoring the bugs instead of
> getting them fixed.
>
> --
> Michael Hutchinson
> http://mjhutchinson.com
>
More information about the Monodevelop-list
mailing list