Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Start outlining by default in Visual Studio 2012 for all editors

$
0
0

I've seen similar questions for aspx files and C# files, but right now I'm working with HTML files, and this is driving me nuts. In VS 2010, all of my tags, regions, whatever, had the little "+" and "-" signs to collapse them. Now if I'm working on an HTML page I have to click Edit/Outlining/Start Automatic Outlining. Then I can collapse my HTML sections while working on others. All good. 

Then I close the page and reopen it or create a new page. All is not good anymore. 

Odd side note - CSS files don't seem to have this problem. 

Apparently for C# files, you can choose to always start this in the advanced options. I went through all the options for HTML but didn't find any such animal. There's a registry value in "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\HTML Editor\OutlineHTMLOnFileOpen" that if set to "1" supposedly fixes this (really? editing the registry for such a thing???) but that didn't work either. Another post suggested resetting the settings with "devenv.exe /resetsettings" and then trying the registry hack. I don't want to reset all my settings, particularly just to get my freaking outlining to work. 

Can anyone help with this? I really would like to avoid manually starting up outlining every time I create or open an HTML file, especially as there's not even a keyboard shortcut listed for it.


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>