Intellisense for object initializers

SyntaxEditor .NET Languages Add-on for WPF Forum

Posted 12 years ago by Craig - Varigence, Inc.
Version: 11.1.0545
Avatar
It would be very useful to expose intellisense for object initializers. When I declare an object like:

new Bob() { FirstVal = 1; SecondVal = 2; }

Typing within the curly braces should have intellisense so I can detect the type of properties I can assign to, and their possible values.

Thanks,

-Craig

Comments (11)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Craig,

We'll add that to the TODO list for the resolver and will mark this post with the item.


Actipro Software Support

Posted 12 years ago by 7Alpha7
Avatar
I would like also this feature to be implemented !

;)

[Modified at 12/04/2011 11:54 AM]
Posted 11 years ago by Craig - Varigence, Inc.
Avatar

Just wondering if any work's been done on this, or if there are plans to implement this in the near future.

Thanks,

-Craig

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

Hi Craig,

I'm sorry but we haven't worked on this yet and have some higher priority things that we're working on for 2013.1.


Actipro Software Support

Posted 10 years ago by Duraid Wadie
Avatar

Is there any update on this feature? would be great if you could support this in vb.net language too

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

Hi Rob,

I'm sorry but no updates on this as of yet.


Actipro Software Support

Posted 7 years ago by Roman Eisendle
Avatar

Hi,

Anything new on this feature?

I think this feature is missing badly in the .NET addon.

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

Hi Roman,

We don't have anything new on this but I'll try and bump up the priority on it.


Actipro Software Support

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

Hello,

We're adding property/field name completion within object creation expression initializers to the upcoming 2017.2 version.


Actipro Software Support

Posted 2 years ago by Landon
Avatar

Did this end up getting added? Construction Initializer parameter lists don't seem to be working in the latest version, is there something I need to do to enable them?

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

Hi Landon,

I did a quick test here and it seemed to be working.  Can you provide a very small yet complete code snippet we can paste in our SDI Code Editor demo that shows the issue?  Thanks!


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.