js3-mode icon indicating copy to clipboard operation
js3-mode copied to clipboard

imenu failed to list the functions in js3-mode

Open redguardtoo opened this issue 12 years ago • 4 comments

Here is the sample code, js3-mode-20120508 installed through elpa,

(function () {
    var Hello = this.Hello = (function ($) {
        function locateIFrameIndex(iframe) {
          alert('bye world')
        }
        var onCrossDomainMessage = function (e) {
          alert('hello world')
        };
        return {
          init:function(){
            alert('init')
          }
        };
    })(jQuery);
})(this);
$(document).ready(Hello.init);

redguardtoo avatar Jul 10 '12 03:07 redguardtoo

You know, I was actually wondering if anyone used imenu support in js3-mode. I was going to take it out in the next version.

tamzinblake avatar Jul 10 '12 13:07 tamzinblake

how you do the nav thing in javascript then?

redguardtoo avatar Jul 11 '12 04:07 redguardtoo

Another vote for this issue. I find imenu quite useful via helm for js nav, but not being able to jump to names async.waterfall functions, for example, is a bit of an issue for me with js3-mode.

eethann avatar Feb 25 '13 06:02 eethann

+1. I find imenu useful, it'll be nice to get this working for js3. For now the alternative is to use helm-occur.

rags avatar Aug 03 '14 14:08 rags