[MonoDevelop] code-complete with ikvm assemblies

Michael Hutchinson m.j.hutchinson at gmail.com
Sat May 29 00:07:23 EDT 2010


On Fri, May 21, 2010 at 3:57 AM, Ian Norton-Badrul <inb at ncipher.com> wrote:
> Hello There,
>
> I've been playing around with IKVM ( and am rather impressed ).
>
> I have a few java classes that ikvmc has turned into an assembly and
> seem to work very well. My question is that when using monodevelop (2.2)
> I can get code-completion for the availible class names and namespaces
> but not any class/instance methods or fields.
>
> Eg, I have a java class like so:
>
>
> public class Foo {
>  private String fooName;
>
>  public static int Instances = 0;
>
>  public Foo( String name ){
>    fooName = name;
>    Instances++;
>  }
>  public String GetName(){
>    return fooName;
>  }
> }
>
> The IKVM DLL for the above contains all the right stubs when viewed in
> the assembly browser ( and my program calling into that DLL does work
> fine in mono )
>
> In MD I only get the auto-complete for Foo, and only get the methods and
> fields completed for a basic object (GetHashCode(), ToString() etc)
>
> Is this expected?

I'm not sure. Are you referencing it as a project or as an assembly?
The two kinds of references are handled quite differently by the code
completion infrastructure.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list