title: Eclipse - supporting outline view with require.js define(...)
body: <p>I have a large code writing within <a href="http://requirejs.org/docs/api.html#define" rel="nofollow noreferrer">define(...)</a>  as the following format - </p>
  
  <pre><code>define(['angular'], function(angular) {
          function foo () {
              console.log("Hi") ; 
          }
          function foo2 () {
              console.log("Hi") ; 
          }
          function foo3 () {
              console.log("Hi") ; 
          }
  } )
  </code></pre>
  
  <p>The Eclipse is missing all the <a href="http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fcoutline.htm" rel="nofollow noreferrer">outline view</a> output for this format , mean - showing nothing  . </p>
  
  <p>How to make it supporting this format , mean - direct me to all function and variables declaration  ?</p>
  
  <p>Here my current outline view is attached - </p>
  
  <p><img src="https://i.stack.imgur.com/igUFh.png" alt="enter image description here"> </p>