Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 155291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:07:46+00:00 2026-05-11T10:07:46+00:00

Duplicate: VS2008 Removes my Indentation in .js file (Turn off auto formatting in the

  • 0

Duplicate: VS2008 Removes my Indentation in .js file (Turn off auto formatting in the formatting tab)

Hi I have VS2008 and ReSharper 4.0 and I’m having a problem. When I enter a new line of code in any .js file, it goes thru and reformats all of the JavaScript braces. I’ve found where in ReSharper where I can set brace behavior for C# (.cs) files. I’ve searched in VS2008 and couldn’t find any settings for JavaScript code.

    function doSomething(withMe)      {         for (idx in myArray)          {             if (myArray[idx] != -1)              {                 return 'yep';             }         }         return 'nope';     } 

Become this (which I like better, but my team likes the above instead)

    function doSomething(withMe) {         for (idx in myArray) {             if (myArray[idx] != -1) {                 return 'yep';             }         }         return 'nope';           } 

It’s getting painful to go back and re-add the CRs everywhere. Where can I find the setting to make this madness stop.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T10:07:47+00:00Added an answer on May 11, 2026 at 10:07 am

    Go To Tools -> Options.

    Expand Text Editor

    Expand JScript

    Uncheck all of the formatting options.

    alt text

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a problem with including xslt templates. I have a.xslt which includes b.xslt
I'm having a problem linking a C++ project in VS2008 when using the /clr
Possible Duplicate: Disable, but not uninstall Resharper 4.x onwards i have a full licensed
Does VS2008 have somewhat C++0x standard support? DUPLICATE Visual Studio support for new C
Duplicate: Django or Ruby-On-Rails? I have been reading on Ruby on Rails, and it
Duplicate: SQL - how to store and navigate hierarchies If I have a database
I have a very nice MVC Beta application developed using VS2008 on a win2008
Possible Duplicate: Will installing Visual Studio 2010 Beta side by side with VS2008 cause
Possible Duplicate: How to update Linq to SQL dbml file? Is there a quick
duplicate : What’s a simple way to undelete a file in subversion? What is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.