Posted 18 years ago by Alex
Avatar
Thanks again for the wonderfull product.

I've discovered a couple of small bugs in the AddOn.
1. Collectons indexers aren't resolved - here is a snippet
public class Test
{
void Do()
{
ArrayList coll = new ArrayList();
coll[0].
}
}
after coll[0]. it shows a member list for collection, but should show a list for object.

2. It looks like support for generics is completly missing. Are you going to add it in the future versions?

Thanks,
Alex

Comments (10)

Posted 18 years ago by Alex
Avatar
A new problem of IntelliPrompt:
class Foo
{
public int PublicValue;
protected int ProtectedValue;
}

class Test
{
Foo f1;
void Do()
{
Foo f;
f.PublicValue;
f1.ProtectedValue;
}
}

Intellipropmt for "f" variable works correctly showing only public members.
But in case when access the member "f1", it shows protected members as well, which is incorrect.
Alex
Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Alex,

Thanks for reporting these items.

For the indexers, yes that is a bug we still have on our TODO list.

There should be some support for generics, like parsing, some base IntelliPrompt, etc. What is it that you are not seeing that you would like? I know one generics request for IntelliPrompt tips is to show things like List<bool> instead of List<T>.

For the protected bug, I'll add that to the TODO list.


Actipro Software Support

Posted 18 years ago by Alex
Avatar
Hi,
I would like again to stress my satisfaction with your new version. It made my product very slick and easy to use. I am still learning it as I trying to implement new features into my editor.
Here is the snippet to show problem with generics
class Foo
{
public int Value;
}
class Generic<T>
{
public T InnerClass;
}
class Foo1:Generic<Foo>
{
void Do()
{
this.
}
}
class Foo2
{
void Do()
{
Foo1 foo1 = new Foo1();
foo1.
}
}

You can see that IntelliPrompt doesn't show the InnerClass member neither in Foo1 nor in Foo2 classes.

Thanks a lot
Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I see... thanks for the repro steps. It seems that Generic<Foo> is not being resolved to a Type. I'll add it to the TODO list.


Actipro Software Support

Posted 18 years ago by Alex
Avatar
Hi,
Could you give me rough time estimates when( and if) these features from TODO list make their way into the release? My code generator is using generics a lot, so not be able to use Intelliprompt for them really hurts me.

Thanks
Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Alex,

Got the generics to be recognized now, however they still don't resolve from type T to Foo as in your sample. So the IntelliPrompt will show T. That is still a TODO item in itself but at least the fix just made gets a step closer to it. I have a feeling taking the next step will be pretty complicated.

We're trying to balance development of the VB.NET language with enhancing C#. I don't want to make time estimates but we are working on this stuff every day.


Actipro Software Support

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Alex,

The protected members bug is now fixed for the next maintenance release.


Actipro Software Support

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Generic types have now been fully implemented and IntelliPrompt should work properly with constructed types. This new functionality will appear in the upcoming maintenance release.


Actipro Software Support

Posted 11 years ago by Bhupendra
Avatar

I had downloaded the syntax editor for windows form .

and now the intellisense is not working for the following code.

Public Class ProcessResult

              Public Property BatchNo As String
              Public Property Operation As ProcessBatch
              Public Property Status As ProcessStatus

End Class

Dim obj as new ProcessResult
obj.

Property can not aceess by obj 

Is there any setting which I have missed or any thing else?

[Modified 11 years ago]

Answer - Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Bhupendra,

That isn't valid VB code since your Dim, etc. isn't in a method or other valid member block.  If you put it within a Sub in the Class then it works fine.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.