title: Visual Studio 2012 & Classic ASP indentation (Smart)
body: <p>First of all, this is a known issue in 2012 (Worked fine in VS 2008) (Although it’s certainly not widely reported with classic ASP being so old):</p>
  
  <p><a href="http://connect.microsoft.com/VisualStudio/feedback/details/766046/indentation-in-visual-studio-2012" rel="noreferrer">http://connect.microsoft.com/VisualStudio/feedback/details/766046/indentation-in-visual-studio-2012</a></p>
  
  <p>MS have closed this as "Not Reproducible" which is bull!</p>
  
  <p>Just to explain the issue, take the following example:</p>
  
  <p><img src="https://i.stack.imgur.com/7TBaw.jpg" alt="enter image description here"></p>
  
  <p>Say my cursor is on line 60 after the <code>")</code> pressing Enter there is placing my cursor at <code>'A</code> - it should be placing it at <code>'B</code>!</p>
  
  <p>Now then, I can force VS to place the cursor at <code>'B</code> by changing indenting from "Smart" to "Block":</p>
  
  <p><img src="https://i.stack.imgur.com/RXatj.jpg" alt="enter image description here"></p>
  
  <p>Unfortunately; "Block" is just as infuriating, i.e. pressing Enter after writing <code>If X = Y then</code> puts the cursor at the same indentation level as the <code>If</code> instead of <code>If</code> + 1</p>
  
  <p>My question: has anyone managed to get "Smart" indenting working in classic asp files, if so - how?</p>
  
  <p><strong>Edit:</strong> here is a little video demonstrating the problem (I type "???" every time the cursor has moved to the wrong location)</p>
  
  <p><a href="http://www.heavencore.co.uk/filehub/Videos/Tech/VisualStudio2013_ClassicASP.mp4" rel="noreferrer">http://www.heavencore.co.uk/filehub/Videos/Tech/VisualStudio2013_ClassicASP.mp4</a></p>