VS 2003: First Complaint

VS 2003 is great. I love the new C# autocomplete stuff, but one thing I can't stand is how they implemented the override autocomplete. Unlike every single other autocomplete function in VS.NET, where you type like you normally would and then hit tab or alt-space to complete, you have to type override to get it to come up, and then it automatically does. So, if you are used to typing something like:

"protected override void CreateChildControls"

You will get autocomplete after the override keyword is typed. This is great and all, but if by reflex you start to type "void," the intellisense isn't smart enough to know you are typing "void," it expects a function name. So now, you have to type:

"override Crea..."

Nice. Less Typing and all, but it isn't exactly valid C# code, so if you've been programming in C# for 20 hours a day since beta 2 it just don't feel right (and my reflexes always are typing "protected override void" before I remember that they added the autocompete)... alas, I will get used to it, but doesn't anyone else think it is wierd how this works?

5 Comments

  • Another reason VB.NET is better than C#! <g,d&r!>

  • I will admit that the VB IDEs have always been more intuitive for some reason :-( Luckily, the IDE differences aren't as big in 2003 though.

  • It does take a bit of getting used to, but I love it. (Lets not mention lazy coders again...).





    My personal fav so far is the IntelliSense, followed closely by manually adding event handlers... Thats NICE.

  • C# seems to be missing a bunch of intellisense or have I missed something (I hope I did) In VB.net when you type SomeForm.Visible = , you get a dropdown autocomplete directly after typing =. In C#, SomeForm.Visible == ; nothing happens. Now is true/false not much to remember, but the options for eg StartPosition has to be one of the FormStartPosition position enums. Perhaps very lazy of me, but I'd like to have a dropdown of choices rather then having to find the right enum.

    Got here by Google, so please forgive me if I'm not following the right course/etiquette, but do you guys happen to know of a setting that enables this intellisense behaviour? Can't find any myself.



    cheers,

    Robert

  • No, VB has a lot more support for autocomplete, because it has a lot more background compilation going on has a focus on productivity (where C# emphasizes proper design, so it doesn't have a few of the RAD features VB does). Visual Studio Whidbey does add a bit more support to the C# code editor, but rumor has it that the team behind the IDEA Java IDE is also developing a C# plugin to Visual Studio, which should also be very nice

Comments have been disabled for this content.