Should ReSharper be able to provide IntelliSense on LINQ to Entities?

I'm not 100% sure if ReSharper should be able to do this, but I suppose it should (as VS itself does).

I'm using LINQ to Entities. I've created a new Web Application project, added a new ADO.NET Entity Data Model, and let the wizard create a model on table Titles from the pubs database.

Then, in my Default.aspx.cs' Page_Load I start typing:

var pubs = new PubsEntities();
var q = from t in pubs.titles orderby t.


I would expect Intellisense to show me the fields that are in the titles table. With ReSharper suspended, VS2010 does show me those fields. ReSharper shows me nothing. Ctrl+Space and Ctrl+Alt+Space both show "No suggestions". I'm not even getting "Equals".

When I try LINQ to SQL (by adding a "LINQ to SQL Classes" item), IntelliSense does work as expected.

What's going on here? Is this a (known?) bug in ReSharper? Is something wrong with my installed software?

Update: it seems that after I type the "where" keyword, IntelliSense does kick in. And as soon as I have that in place, the "orderby" will also show the properties of t.

I'm using build 6.1.1000.82 on Visual Studio 10.0.40219.1.

1 comment
Comment actions Permalink

Hello Dick
     This looks like a bug to me. I've logged it under http://youtrack.jetbrains.com/issue/RSRP-325009 and we will investigate it closer soon. Thank you for reporting this problem!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.