title: How to do region collapse for JS in Visual Studio 2012/2013
body: <p>Region code collapse for JS in Visual Studio 2012 and 2013 ?</p>
  
  <pre><code>#region AutoComplete JS
  $("#&lt;%=txtBirim.ClientID %&gt;").autocomplete({
     source: function (request, response) {
       $.ajax({
         url: '&lt;%=ResolveUrl("~/Classlar/TextboxOtomatik.asmx/BirimGetir") %&gt;',
         data: "{ 'prefix': '" + request.term + "'}",
         dataType: "json",
         type: "POST",
         contentType: "application/json; charset=utf-8",
         success: function (data) {
         response($.map(data.d, function (item) {
           return {
           label: item.split('-')[0],
           val: item.split('-')[1]
         }
        }))
       },
      Code....
  #endregion
  </code></pre>
  
  <p>Is there anyway to do something like this ?</p>