mwarrenus / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

imenu include all named function definitions #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Given the javascript source:

  function outer () {
     function inner () {}
  }

  dojo.declare("MyClass", {
     mymethod: function () {}
  });

js2-mode's imenu only lists outer.  I'd like it to include inner and
mymethod.  Ideally, I'd like any named function to be included in the
imenu menu.

What version of the product are you using? On what operating system?

20090723 on Mac OS X, 1.7.0 (packaged) Ubuntu

Please provide any additional information below.

I can't tell if this is a bug report or a feature request. :)

Some of the comments lead me to suspect that this is a bug.

Original issue reported on code.google.com by j1m...@gmail.com on 28 Jul 2010 at 8:07