| Subject: How can I turn off javascript "auto-formatting"? |
| Group: microsoft.public.vstudio.general |
| Date: 8/27/2008 10:38:44 AM |
| From: Richard.Gohs@pa-tech.com |
Hello All, I've recently made the switch from VS2005 to VS2008 ... I've noticed that if I copy/paste a javascript function such as function foo () { } .... it ends up "mangling" (in my opinion) this function to look like ... function foo () { } .... notice the opening brace has moved. This same behavior occurs while typing in javascript as well ... is there an option to turn this off ... or for that matter an option that I could use to force this "mangling" in the other direction? (Our code standards are that the open/close brace are vertically aligned) Thanks, Richard |
| Back |
| Subject: Re: How can I turn off javascript "auto-formatting"? |
| Group: microsoft.public.vstudio.general |
| Date: 8/27/2008 10:46:07 AM |
| From: Lloyd Sheen [Email Address Protection] |
Richard.Gohs@pa-tech.com wrote: > Hello All, > > I've recently made the switch from VS2005 to VS2008 ... I've noticed > that if I copy/paste a javascript function such as > > function foo () > { > } > > ... it ends up "mangling" (in my opinion) this function to look > like ... > > function foo () { > } > > ... notice the opening brace has moved. This same behavior occurs > while typing in javascript as well ... is there an option to turn this > off ... or for that matter an option that I could use to force this > "mangling" in the other direction? (Our code standards are that the > open/close brace are vertically aligned) > > Thanks, > Richard Tools/Options/Text Editor/JScript/Formatting A bunch of options. LS |
| Back |
| Subject: Re: How can I turn off javascript "auto-formatting"? |
| Group: microsoft.public.vstudio.general |
| Date: 8/27/2008 12:34:23 PM |
| From: Richard.Gohs@pa-tech.com |
Thanks for the help ... I had been looking undern Tools|Options|Text Editor for a while ... what I didn't realize/see at first was the checkbox down at the bottom for "Show all settings" ... everything's working fine now ... thanks again ... |
| Back |
| Subject: Re: How can I turn off javascript "auto-formatting"? |
| Group: microsoft.public.vstudio.general |
| Date: 8/27/2008 1:16:00 PM |
| From: Lloyd Sheen [Email Address Protection] |
Richard.Gohs@pa-tech.com wrote: > Thanks for the help ... I had been looking undern Tools|Options|Text > Editor for a while ... what I didn't realize/see at first was the > checkbox down at the bottom for "Show all settings" ... everything's > working fine now ... thanks again ... Don't you just hate the default settings. Seems that MS thinks we are a bunch of dolts. I really hate the show all files setting when you create a new project. LS |
| Back |