In VB.NET every new or saved project gets intellisense popups but in C# I get nada.
You're not getting the intellisense because you're typing them in the wrong case.
Let's say you have an object called MyStupidCasedObject. In the IDE, type "mys" (sans quotes) and press Ctrl+SpaceBar. This will bring up the intellisense and the object in the proper case.
Also, everything is case sensitive.
That's not a problem. That's a feature. (Subjectively, anyways)
Well that just blows! You'd think that since C# has all the attention as the forerunner in the VS suite it would at least have as much functionality as VB.NET.
Oh wel, I thought it was the case but I didnt believe it. This is a "Feature" that I dont want. Does that mean the VB is better the C#?
Thanks though
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
That's what a VB.NET supporter like myself would say. It does take a little time getting accustomed to the nuances that the new language environment presents.
Yes, but this "feature" really slows down development especially if your learning it. I usually can figure things out from the object listings supplied by intellisense. Without it I have to rely upon searching the Object Browser.
Edit: 19,000 posts.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
The case-sensitivity is an inherited trait from C. It's not really of any value because good coding practice generally dictates that you never differentiate two objects by case alone. You get used to it soon enough though. It's not really an issue in the 2005 IDE though. In VB.NET 2003, if you type "messagebox." you get an Itellisense listing that let's you select the Show method. In C# 2003 this would not work, as you would have to type "MessageBox." so that the case matched the actual class name. In 2005 C# is actually smarter than VB. The Intellisense in VB.NET 2005 is unchanged (as of beta 2 at least) whereas in C# you get Intellisense as soon as you type the first letter of the class name, and it's case-insensitive. This means you can type "mes", then hit the down-arrow and tab and you've got "MessageBox". That will speed up development I think you'll find.
Congrats on the milestone, oh ancient and wrinkled one.
I have been putting off installing 2005 Beta 2 because I want to load it on to a secondary test system that I have not got completely prepared for the install. Need to archive data and do a fresh install of 2000 or maybe XP but its only a PIII 550.
C# 2005 sounds like it will be something that will overtake VB quite easily and will draw more interest by me. I just need to get the RTM version of 2005 when it comes out in order to install it on my production system.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Trust me Rob, C# '05 is the most productive IDE I've worked in With a well-designed framework app you don't have to write too much code but what you do write you churn out.
The code snippets feature is way cool. I think you may have missed this extension to what you were talking about penagate, but if you type "fo" you can then press tab twice and have the skeleton of a for loop added automatically. It then helps you make changes if required by updating the loop definition if you change the counter and also letting you tab to the condition. The key sequence I used to get the result you see in the attached screenshot was f,o,tab,tab,j,tab. Cool huh? You can create your own code snippets too, although I haven't tried it yet. It's kind of like specialised macros.
Last edited by jmcilhinney; Oct 6th, 2005 at 11:05 PM.
I think I might be like one of those folks sleeping on the computer store's doorstep when Win95 was released. I'm even looking forward to Visual SourceSafe 2005! How sad is that?
Code snippets can probably change the way we exchange code too. You can create your own code snippets in XML files, and simply load them in the IDE, they'll be available to you. So instead of writing tutorials, you can explain a bit and just supply a code snippet which the user can use and substitute values in.
Of course, this only serves to expand the host of potential programmers, no matter what their IQ
In their attempt to make programming easier and more productive they are doing nothing more then making it possible for the common man to be a "programmer" but when in reality they are only "copy/paste" programmers.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.