LLBL for VS2005 feature request

Posts   
 
    
tvoss avatar
tvoss
User
Posts: 192
Joined: 07-Dec-2003
# Posted on: 07-Jul-2005 19:12:26   

You know how intellisense in VS2005 can be modified to show all or just the most used properties?

What if you could use that feature in LLBL to show all properties of an LLBL generated object or just the properties that are associated one to one with the table fields so we can use the intellisense better to make sure we are filling all properties before saving etc.

Just an idea. simple_smile

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 09-Jul-2005 16:43:13   

I don't know how intellisense can be modified. Can it be modified?

Frans Bouma | Lead developer LLBLGen Pro
jtgooding
User
Posts: 126
Joined: 26-Apr-2004
# Posted on: 12-Jul-2005 14:58:55   

I need to find it but there is an attribute that allows you to 'hide' a property/method etc from intellisense. I jsut can't remember the name of it off the top of my head. Beyond that I don't know of anything that changes intellisense.

Edit:

System.ComponentModel.EditorBrowsableAttribute Design-time attribute.

Specifies whether IntelliSense support should provided in the property editor for a property. This attribute can also be applied to methods and events. The argument of the constructor of this attribute is a value of the System.ComponentModel.EditorBrowsableState enumeration. The default value, System.ComponentModel.EditorBrowsableState.Always, is implied when this attribute is not applied. Apply this attribute if you want to hide a member in IntelliSense.

The enum has several levels including 'hide advanced members' etc.

John

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 12-Jul-2005 17:09:04   

That only applies to the property editor grid (so binding an object with properties which are marked with Browsable(false) won't show up). Several properties are marked as Browsable(false) (as in: almost all not interesting properties, which have to be public) though IMHO they do show up in intellisense. I've to check though.

Frans Bouma | Lead developer LLBLGen Pro