Hello there,
Geany version : 1.27 GTK+ version : geany 1.27 (construit le Apr 17 2016 avec GTK 2.24.30, GLib 2.48.0) OS: Linux Mint 18 Sarah Filetypes : PHP and Javascript
The keybinding "Go to symbol definition" doesn't work if called from a PHP file to a symbol located in an open javascript file. A click on "UserLogin" on the following example fails with a message "UserLogin Not found".
<a class='login' href='#' onclick=UserLogin()>
The same keybinding works as expected on the following situations - call for a function/method from one PHP file to another PHP file (both open) - call "UserLogin" INSIDE the javascript file - when using Geany 1.23.1 with Linux Mint 17.3
Thanks for your help.
Phil
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1158
I quoted your code snippet to stop it being interpreted as HTML by GitHub.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1158#issuecomment-237089530
This is probably because Geany doesn't figure out the `UserLogin` is a JavaScript name and not an HTML one.
This comment is not fixing the issue, but might point out what'll be needed to fix it :)
Looks like it only considers symbols from files with the [same parser](https://github.com/geany/geany/blob/349b8c40e252ddf1b335e0849ffcd37c403d72e9...)
github-comments@lists.geany.org