how to stop Visual Studio 2010 outlining of Jscript - visual-studio-2010

I'm editing JavaScript using Microsoft Visual Studio 2010.
But every time I open a a .htm .html or .js file, it defaults to adding all the annoying little outlining + symbols.
In VS C++ and other languages, you can turn this off by setting Tools > Options > > Formatting

Related

How to get visual studio code and visual studio 2022 to match code formatting

It seems like the default settings for code formatting (javascript, typescript, CSS, etc.) are different between visual studio code and visual studio 2022. What is the best way to get these to have the same formatting rules & settings?

Visual Studio 2010 Ultimate Handling Issue

I have installed Visual studio 2010 Ultimate newly in my system for 64 bit. It is looking some what difference. I could not choose my class names and object names form the drop down menu. It is hidden.
How to get that in Visual Studio 2010
Enable it in Tools > Options > Text Editor > All Languages >
Check the 'navigation bar' checkbox.

Red or green squiggly lines in Solution Explorer in VS 2013

What are these green squiggly lines in VS 2013 Solution Explorer underlining solution name, project name and file name and how to remove them? I just opened the solution and no files are checked out or modified.
No code is underlined and no errors or warnings are detected by Visual Studio in the file:
Productivity Power Tools for Visual Studio 2013 does that.
Here's the user request page:
https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2455502-show-errors-in-solution-explorer-like-eclipse-does
You can disable the feature by turning it OFF from Visual Studio Options menu > Productivity Power Tools > Solution Error Visualizer.

Visual Studio 2013 - How to turn off auto-indentation in code editor?

There is a post that goes on about Visual Studio with 'intelligent' word wrap in How to make word wrap respect indentation in Visual Studio?
However - its a personal preference and can make code more unreadable in some cases.
In Visual Studio 2013 - this auto-indentation is default behavior.
How do you in Visual Studio 2013 turn this off?, so we get word-wrapping going back to the previous way - all-left aligned?
There doesn't appear to be an option in Visual Studio Options, or maybe I am missing something. If it is missing in Visual Studio Options, does anyone know of an add-in that will reset this auto-indentation?
I have VS2010 but try this:
Options/Text Editor/C#/Tabulations and then at identation block select none.
PS. You have to expand the options, if you select text editor it will show only the general options for text editor.

How to get syntax highlighting for alternate file extension for Visual Studio 2010 or 2013?

For older version of Visual Studio it was a simple tweak in registry
http://codebetter.com/darrellnorton/2004/04/21/get-visual-studio-syntax-highlighting-for-alternate-file-extensions/
But for Visual Studio 2010+ the same key doesn't exist in registry so how to do it now ?
Go to Tools -> Options -> Text Editor -> File Extension and type your alternative extension and then associate it with your editor (e.g. Microsoft Visual C++)

Resources