RC2 and RC3 - Java - Open Class dialog shows all javascript methods in project?

I first noticed this in RC2... when you press Control-N (in Windows) and start typing a class name you also see all javascript functions that match the name in the list?  I think this is new?  Would it be possible to add a checkbox to turn this off?  Similar to how the Control-Shift-N dialog for files has a "Include java classes" checkbox?

0

Hello chris,

I first noticed this in RC2... when you press Control-N (in Windows)
and start typing a class name you also see all javascript functions
that match the name in the list? I think this is new? Would it be
possible to add a checkbox to turn this off? Similar to how the
Control-Shift-N dialog for files has a "Include java classes" checkbox?


All JavaScript functions or functions which look like class constructors?

Language filtering in Goto Class is planned, but not for 8.1.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Permanently deleted user

I guess a better fix would be to add the filter icon to the dialog, like the "Enter file name" dialog has so that we can uncheck "javascript methods" from the list?

0
Avatar
Permanently deleted user

_ALL_ Javascript functions..... for instance, these are coming up in the list:

function rm_somemethod(callingWindow, params, ele) {
    var s1 = params.get('paramname1');
    anotherMethod(s1);
   
    var searchFrame = document.getElementById('searchIFRAME');
    anotherMethod2(searchFrame.contentWindow, 'param2');
}


function selectioncleared(callingWindow, params, ele) {
    var searchFrame = document.getElementById('searchIFRAME');
    if (!searchFrame) return;
    if (callingWindow == searchFrame.contentWindow) {
        populateSomething(null);
    }
}

0
Avatar
Permanently deleted user

It looks like this is fixed in RC4... it's not matching any javascript functions at all now (not even ones which define custom objects and have prototyped methods defined).

0
Avatar
Permanently deleted user

The EAP of 8.1.1 is doing this again.... should I file an issue in Jira for this?

0

请先登录再写评论。