Petras
Petras

Reputation: 4779

Custom intellisense for server controls?

Can you program/configure Visual Studio to produce custom intellisense for your own server controls.

eg can you get it to do this:

alt text http://www.yart.com.au/test/vs.gif

for a tag of your own like:

<MyCompany:MyTag ...

Upvotes: 3

Views: 2664

Answers (2)

HectorMac
HectorMac

Reputation: 6143

You should be getting this for free (default behavior of control). Are the references all in place while you are typing the custom control?

There is an attribute to hide properties from intellisense:

[EditorBrowsableAttribute (EditorBrowsableState.Never)] 

Use the description attribute to provide additional help:

[Description("My extra helpful description")]

There are some other attributes that affect intellisense and the property explorer you might want to look up...

Upvotes: 4

x0n
x0n

Reputation: 52480

Bluevision have a nice plugin for Visual Studio to do this for you. Last time I looked, it was free. (yep, it's still free!)

  • IntellisenseAttribute class allows you to specify members for which intellisense symbols will be generated.

  • Ability to generate default intellisense symbols for assemblies when you don't have access to the source code.

  • NEW Snaps right into the IDE so that intellisense generation can be automated during the build process.

  • Supports two visual views: Full Mode and Skin Mode.

  • Full source code.

  • FREE!

http://www.bluevisionsoftware.com/WebSite/ProductsAndServicesInfo.aspx?ID=9

Upvotes: 1

Related Questions