Sublime Forum

3114: Symbol search detects whole method in PHP

#1

After upgrading to 3114 in my PHP app the symbol search within a file (⌘R) seems to be broken as the screenshot shows. It seems to be matching the entire method, not just the method signature.

Similarly the global symbol search (⌘⇧R) is matching every javascript function call in the entire repo, making it unusably slow and completely useless.

I’ve confirmed that downgrading to 3103 works fine after upgrade. (link for those needing it https://download.sublimetext.com/Sublime%20Text%20Build%203103.dmg)

0 Likes

#2

Most likely you have a tmPreferences file that is trying to use all of meta.function in the symbol list. You could try disabling packages to see which one seems to affect it.

0 Likes

#4

It appears to be the babel plugin, any idea why that would be affecting php?

0 Likes

#5

The fastest way would be a binary search (disable half of packages, repeat until you find the one in question). The Preferences > Package Settings > Package Control > Settings - User has a list of installed packages. Copy into ignored_packages in Preferences > Settings - User.

0 Likes

#6

As a side note goto symbol in project seems to only be matching open files, but i’ll give it a while to re-index just to be sure.

0 Likes

#7

Ah thanks, didn’t know about ignored_packages.

0 Likes