Extension Methods intellisense support

SyntaxEditor .NET Languages Add-on for Windows Forms Forum

Posted 15 years ago by Salvador de la Rosa
Version: 4.0.0282
Avatar
Hello,
I recently updated to .282 to have 3.5 support. I see it supports var keyword, linq expressions, anonymous classes, etc... but I could not get intellisense for extension methods (needed for working with linq).
Is it available? Do I have to activate something to get them?

Thanks a lot.

[Modified at 07/22/2009 08:15 AM]

Comments (6)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Salvador,

It should be working fine. Open the .NET reflection QuickStart, add System.Core as an external reference, add "using System.Linq;", then in code do this:
int[] i;
i.
When typing the dot after "i" you should see all the LINQ extension methods showing up.


Actipro Software Support

Posted 15 years ago by Salvador de la Rosa
Avatar
Ok, this works, but I tested with that kind of code:
System.Collections.Generic.List<string> list=new System.Collections.Generic.List<string>();
var list1=from s in list select s;
var list2=(from s in list select s).ToList();
And I don't get intellisense on the list1/list2 vars.

[Modified at 07/23/2009 06:18 AM]
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Salvador,

While this will work and list can be recognized as what it is:
var list=new System.Collections.Generic.List<string>();
At this time our code isn't able to determine that list1 or list2 (in your code sample) are enumerables. I'll mark this down.


Actipro Software Support

Posted 14 years ago by Tim
Avatar
Hi, any progress on determining type for var?

Also, when entering following linq statement:

var a = from b in c
select b;

b is not in the memberlist when doing Intelliprompt after 'select'.

I realise that getting VS2008 level intellisense is a lot of work, but it's what a lot of us are after!
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Tim,

We don't have anything new yet on that sort of Linq IntelliPrompt. We are currently focusing on building out key areas in the WPF version so that we can start to build a .NET Languages Add-on there. Once we get to that point we plan on doing some major updates to the add-on's codebase (WinForms one hopefully at the same time) to better accommodate Linq IntelliPrompt.


Actipro Software Support

Posted 14 years ago by Tim
Avatar
Thanks, not too big a deal for the time being.

BUT, I guess if I'm paying $199 extra for .Net add-in, I would want it to be as close as possible to VS.

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

Add Comment

Please log in to a validated account to post comments.