https://bugs.kde.org/show_bug.cgi?id=447947

            Bug ID: 447947
           Summary: Javascript parser does not understand functions
                    declared with this.function_name
           Product: kdevelop
           Version: 5.7.211200
          Platform: Mageia RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: QML/JavaScript
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: fatger...@gmail.com
  Target Milestone: ---

SUMMARY
***
Javascript 'objects' can be defined as functions with methods declared using
'this' - eg
function my_function() {
    this.some_method = function() {
        do_some_stuff
    }
}
***


STEPS TO REPRODUCE
1.  Define a function as such and then hover over the function declared with
'this.some_method()'

OBSERVED RESULT
Nothing happens, even after reparsing the entire project

EXPECTED RESULT
The code navigation popup should appear, showing all calls to that method

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro ARM-RPi
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to