Bug 368424

Summary: detect JavaScript function expressions assigned to variables for function outline search bar
Product: [Applications] kdevelop Reporter: Be <be.0>
Component: Language Support: QML/JavaScriptAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 5.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Be 2016-09-07 21:34:06 UTC
The function outline search bar works for JS functions defined with the syntax:

function functionName (args) {stuff};

but not with functions defined as expressions assigned to a variable:

functionName = function (args) {stuff};

Considering that variables can be reassigned to a function expression at any point, to support this something would have to be added to the GUI to move between places in the code where the variable is assigned to a different function.

Reproducible: Always