Intellisense in nested anonymous types appear to have been lost in the recent update(s).

http://share.linqpad.net/xinqf4.linq

When declaring anonymous types without closing brackets as you type, intellisense is lost at second nested anonymous declaration.
One possible solution is to have linqpad follow the visual studio style of automatically adding a closing curly bracket ("}") after the cursor when I'm typing a "{" (as well as for "(" and "[").

Comments

  • Are you certain it worked in previous versions? I get the same behaviour in old versions, too.
  • No, I can't say for sure. I use anonymous types a lot, though, so it's strange if I haven't noticed, but I have had problems with intellisense in the past, so it could be that I just didn't see the pattern before. BTW: method groups also loses type knowledge. For instance http://share.linqpad.net/aqppx7.linq
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!