A tool to eliminate Case-sensitivity in C#?

  • Thread starter Thread starter Starwiz
  • Start date Start date
S

Starwiz

I'm a VB.net programmer, and I'm about to start working
with two C++ programmers and teach them .net.

I've decided to use C# in teaching them, since it's
similar enough to VB.net that I can read and write it, and
it's what's most familiar to them.

My major problem with C#, however, is its case-
sensitivity. I've heard people talk about how wonderful
it is until they're blue in the face, but the fact stands
that I'm lazy, and I guess so many years of VB has
accustomed me to not having to type anything but
declarations in capital letters.

So my question is: is there a tool or macro for C# that
will eliminate its case-sensitivity? I googled all sorts
of phrases, but all to no avail...

Thanks,
-Starwiz
 
Starwiz said:
So my question is: is there a tool or macro for C# that
will eliminate its case-sensitivity? I googled all sorts
of phrases, but all to no avail...

Short answer: Shift-Space (Code-Completion) ist a really great (and cheap)
tool ;-)

Jürgen Beck
MCSD.NET, MCDBA, MCT
www.Juergen-Beck.de
 
Starwiz said:
I'm a VB.net programmer, and I'm about to start working
with two C++ programmers and teach them .net.

I've decided to use C# in teaching them, since it's
similar enough to VB.net that I can read and write it, and
it's what's most familiar to them.

My major problem with C#, however, is its case-
sensitivity. I've heard people talk about how wonderful
it is until they're blue in the face, but the fact stands
that I'm lazy, and I guess so many years of VB has
accustomed me to not having to type anything but
declarations in capital letters.

So my question is: is there a tool or macro for C# that
will eliminate its case-sensitivity? I googled all sorts
of phrases, but all to no avail...

Thanks,
-Starwiz
 
I don't think such a thing could work safely in most instances b/c by C#'s
very nature, it's case sensitive and the next time you opened a project in
VS.NET where the programmer used for example, lowercase for private class
variables and uppercase for Properties, it'd give you some serious
headaches. You could write an add-in to do it as you typed , but making
something like that commercially would be a lot of trouble b/c of the way
many programmers in C languages use case sensitivity to their advantage.
This probably isn't that helpful to your problem, but you may find it
interesting ...
http://www.gotdotnet.com/team/csharp/learn/columns/ask.aspx#case
 
Short answer: Shift-Space (Code-Completion) ist a really
great (and cheap)

Absolutely, but it doesn't work until you've typed the
first word of the statement, whatever it is. It's that
first word that's the biggest problem; after I type System
with a capital S, I can get to whatever I need...it's just
remembering to that fools me. :)
 
That's exactly what I was looking for.

Now, why didn't they have an _option_ for fixing case in
the language to begin with? lol...keep the C developers
happy, and make more VB converts...oh well.
 
Starwiz said:
That's exactly what I was looking for.

Now, why didn't they have an _option_ for fixing case in
the language to begin with? lol...keep the C developers
happy, and make more VB converts...oh well.
Why not make an option for VB to be case senstive as well?

The main problem is it confuses people and breaks code. If someone expects
case senstivity and writes case senstive code, and then someone who expects
case insenstivity works on it...exactly what would happen?
 
Hello Starwiz,

you also can type "sys" in Visual Studio .NET 2003. I don't remember the
behavior in Version 2002.

Jürgen Beck
MCSD.NET, MCDBA, MCT
www.Juergen-Beck.de

Starwiz said:
Short answer: Shift-Space (Code-Completion) ist a really great (and cheap)
tool ;-)

Absolutely, but it doesn't work until you've typed the
first word of the statement, whatever it is. It's that
first word that's the biggest problem; after I type System
with a capital S, I can get to whatever I need...it's just
remembering to that fools me. :)
 
Back
Top