adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

Show function syntax for functions #12749

Open fnetX opened 8 years ago

fnetX commented 8 years ago

Hey, I am not sure if this was already proposed (but I didn't find it).

What about showing the function syntax when it gets typed.

E.g. I type in a php document "hash(" and under the line I see string hash ( string $algo , string $data [, bool $raw_output = false ] ) as it is defined in PHP here http://php.net/manual/en/function.hash.php .

Inspired by the Geany IDE :D Additionally you could propose own functions e.g.

function example($foo,$bar){
return $foo + $bar;
}

And if I type example I see may be [custom] example ( $foo , $bar )

Thank you and I hope you know what I mean

ficristo commented 8 years ago

You could try https://github.com/Brackets-PHP/Brackets-PHP-SmartHints or see if there is another extension

fnetX commented 8 years ago

Ah ok thank you. But I meant the preview of the syntax :D But this is good and I will try other extensions if I have time :D