Shaykatc's WebLog

VS 2003 Tip #11: Autocomplete on new class creation

In Everett we made a small change to Intellisense to lessen the code you had to type. Often you will new up a class and write something like:

Foo x = new Foo();

In VS7 you had to type out the whole thing. In Everett we had Intellisense pop up after the new, to autocomplete the class name. This is one of those small features which just makes Everett (to me) so much more enjoyable to use.

As a side note, once we did this, one of the first bugs we saw was that if we declared x to be of type Foo higher up in the file, and then later on declared “x = new“, we didnt autocomplete. I am deeply appreciative of our QA team :-)

 

 

Published Monday, March 29, 2004 4:43 PM by shaykatc

Comments

 

Jim said:

If VS.Net can support intellisense for Javascript I will love and kiss every single one of VS.Net developers. That's the feature I would die for. Javascript support, Javascript Support. VS.Net 2003 is an awesome product, but javascript support is not as good as others. Especially for the browsers.
March 29, 2004 11:48 PM
 

Hendrik Swanepoel said:

I have found that there are limited intellisense support for client-side Javascript (due to the fact that it's not type safe), but only if your Javascript funtions are embedded into the aspx page itself.

It would've been helpful if the members of the IHTMLElement interface were displayed as a standard list in the Intellisense menu when working with unknown Javascript objects. But it's understandable that this may be misleading.
March 30, 2004 3:58 AM
 

Omer van Kloeten said:

I don't know if this already exists in Whidbey, but how about adding a feature that filters all classes that inherit from that class in the pop up?
This way, if I declare an instance of type A, from which class B derives, I would have only A and B in my pop up list, with A highlighted.
April 3, 2004 4:29 AM
 

英国留学 said:

If VS.Net can support intellisense for Javascript I will love and kiss every single one of VS.Net developers. That's the feature I would die for. Javascript support, Javascript Support.
April 28, 2004 10:01 PM
 

耳机 said:

This is one of those small features which just makes Everett (to me) so much more enjoyable to use.
April 28, 2004 10:01 PM
 

dru said:

+1 for JavaScript Support
May 4, 2004 5:30 PM
 

Porcelain Insulator said:

good
July 14, 2004 9:13 PM
New Comments to this post are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker