title: Javascript AMD Modules: How to get Visual Studio intellisense across modules
body: <p>After looking into Asynchronous Module Definition (AMD) in the javascript context I was wondering how to get intellisense in Visual Studio 2010 for a dependent module. </p>
  
  <p>For example given module A:</p>
  
  <pre><code>define(function() {
      return {
          square: function(value) {
              return value * value;
          }
      };
  });
  </code></pre>
  
  <p>and a corresponding module B:</p>
  
  <pre><code>define(["A"], function(a) {
      return {
          value: a.square(10)
      }
  });
  </code></pre>
  
  <p>Then I would like to have full intellisense for the module A (represented as parameter a) within module B. Note that both of these modules would be defined in separate files (A.js and B.js in this case).</p>