title: Intellisense comment on a object variable in VS2012
body: <p>I'm trying to create intellisense (VS2012) comments in my javascript code. I'm using class constructions and want to add comments to a class variable (the self.name in this example)</p>
  
  <pre><code>bht.ProcessStep = function (data, instrument) {
     var self = this;
     self.name = "test";
  };
  </code></pre>
  
  <p>I tried to comment this as a <code>&lt;field&gt;</code>, but that won't work. The only solution I found to make it work is to add the following comment as a seperate line in the class (so not directly above the "name" declaration).</p>
  
  <pre><code>/// &lt;field name='name' static='false' type='String'&gt;Name of the process step.&lt;/field&gt;
  </code></pre>
  
  <p>Is there a way to add this comment directly above my declaration?</p>