How to collapse JavaScript functions / comment blocks in VS2010 / VS2008

I don’t think it’s possible now in VS2010 / VS2008, but I’m sure that someone should have made or could come up with some workaround using the extensibility of VS2010 / VS2008.

The ability to collapse javascript / comment blocks in the script tag in the aspx file editor and in the javascript file editor (*. Js) is the same as we can do in any other editor (C #, vb, xml).

I just thought that if possible, by creating blocks #region, as in the C # editor.

+3
source share
2 answers

Try JSEnhancements under the VS 2010 Extension Manager in the Tools menu.

http://www.martinilab.com/blog/253/vs2010-javascript-collapsing/

+8

! . .

VS2010. VS2008.

  • Javascript, aspx.
  • " " Ctrl + M, Ctrl + T

, , , , Ctrl + M, Ctrl + M .

+1

Source: https://habr.com/ru/post/1754776/


All Articles