#586 php function with wrapped arguments not parsed

General (289)

Geany symbol list not showing function list when the function parameter has more than one line. I'm testing it on PHP file type with the code like below:

class x
function a($parameters)
echo "ok";

function b
echo "not show at the symbol list functions";

save that as any php file and at the symbol list there is only the function a. the function b isn't exists. I often create function with many parameters, so i had to make it new line to view the parameters... this not happened in geany 0.18.

any idea on showing the function when the parameters has multiline?

geany 0.19.1 (built on Sep 13 2010 with GTK 2.21.7, GLib 2.25.15)
Linux Mint 10 Kernel 2.6.35-22-generic


  • Nick Treleaven

    Nick Treleaven - 2010-11-22
    • summary: symbol list not showing function list --> php function with wrapped arguments not parsed
  • Colomban Wendling

    • priority: 5 --> 2
  • Colomban Wendling

    Geany 1.22 here and indeed your function b() doesn't show up. However if the opening parenthesis is on the same line as "function b" it gets detected correctly.

  • Colomban Wendling

    • status: open --> closed-fixed
    • assigned_to: Colomban Wendling
    • Found in: --> Unknown
    • Fixed in: --> v1.24

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks