Intellisense doesn't work for Attributes

Hello,

I was wondering if this is happening for anyone else. It seems that when I try to add an attribute to a property on a class, LINQPad doesn't have intellisense information for the constructor of the attributes. For example, when I add the JsonProperty attribute, I just have to know that the first property is "name" because it doesn't show anything.

This happens even if I hit Ctrl+. to have the auto-complete window appear. The window will show up but doesn't show the constructor to the attribute.
public class Test
{
	[JsonProperty("name")]
	public String Name { get; set; }
}
I currently see this:
image

But I would expect to see something like:
image

Comments

  • This functionality hasn't been implemented. I'll look into what's involved in adding it for the next build.
  • The new beta now supports positional constructor arguments with attributes:
    http://www.linqpad.net/download.aspx#beta
  • edited August 4
    Thanks so much for the quick turnaround time!

    Is it possible to make it so that when you hit tab for completion it removes the word Attribute from the class name? Other than that, works perfect! :smiley:
  • This should be fixed in 5.22.11
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!