Visual Studio 2012 & Classic ASP indentation (Smart) -
first of all, known issue in 2012 (worked fine in vs 2008) (although it’s not reported classic asp being old):
http://connect.microsoft.com/visualstudio/feedback/details/766046/indentation-in-visual-studio-2012
ms have closed "not reproducible" bull!
just explain issue, take following example:
say cursor on line 60 after ")
pressing enter there placing cursor @ 'a
- should placing @ 'b
!
now then, can force vs place cursor @ 'b
changing indenting "smart" "block":
unfortunately; "block" infuriating, i.e. pressing enter after writing if x = y then
puts cursor @ same indentation level if
instead of if
+ 1
my question: has managed "smart" indenting working in classic asp files, if - how?
edit: here little video demonstrating problem (i type "???" every time cursor has moved wrong location)
http://www.heavencore.co.uk/filehub/videos/tech/visualstudio2013_classicasp.mp4
try hot keys auto-formatting of code in vs2012.
to format section: ctrl + e, ctrl + f
to format document ctrl + e, ctrl + d
also. consider better vbscript editor, vbsedit has "reformat code" option in "edit.." drop down , auto-block code.
Comments
Post a Comment