jacktasia / dumb-jump

an Emacs "jump to definition" package for 50+ languages
GNU General Public License v3.0
1.57k stars 150 forks source link

Correctly jump to PHP function definitions and class definitions. #323

Closed cweiske closed 4 years ago

cweiske commented 4 years ago

Previously, variable definitions were shown when trying to jump to a PHP function definition.

Definining a function context alone breaks jumps to class definitions from constructors, so a class context needs to be defined as well.

Resolves: https://github.com/jacktasia/dumb-jump/issues/322