Hi everyone, This is my second post, so I hope you will excuse me if this has already been answered: When I write code in VS.NET, for instance: " intellisense completes the text to this: "<asp:TextField ? Is there a way to make Intellisense stop creating code
in alternating case, since it is making my otherwise beautiful code look messy. Thank you in advance,
I don't think there's a way to change it. But maybe it would make you feel better to know what you're seeing is called Camel-Case and Pascal-Case. Element names should be in Camel-Case (1st letter lowercased, 1st letter of any additional concatenated words
uppercased), while Attribute names should be in Pascal-Case (1st letter of every word in a concatenated string is uppercased). Camel-Case: asp, textField, dataGrid, myObject Pascal-Case: Asp, TextField, DataGrid, MyObject So there is a method to the madness.
;) The upside of this, is that whenever you examine anyone else's VS.NET written ASP.NET, you should see the same case. Which will result in more readable code all the way round.
yes, now I feel a whole lot better. Thank you for the answer, it makes (intelli:-)sense. I knew about the names for casing. And naturally I like to keep things tidy. So when I write code in my asp/aspx pages I like to have it looking neat and tidy. So since
ASPX controls look like HTML tags, I felt the need for mking them all lowercase. like HTML. But this actually makes more sense since it's objects :-) Cheers
None
0 Points
5 Posts
Intellisense
Feb 02, 2004 07:20 AM|Jaques|LINK
: Fear not, my magic 8-ball shall save the day!
None
0 Points
348 Posts
Re: Intellisense
Feb 02, 2004 08:00 AM|ssmoot|LINK
None
0 Points
5 Posts
Re: Intellisense
Feb 02, 2004 11:52 AM|Jaques|LINK
: Fear not, my magic 8-ball shall save the day!