Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ...
like image 767
Petras Avatar asked Dec 17 '25 17:12

Petras


2 Answers

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...

like image 133
HectorMac Avatar answered Dec 20 '25 07:12

HectorMac


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

like image 35
x0n Avatar answered Dec 20 '25 06:12

x0n



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!