Hi. I have two questions:
- How i make full autocomplete for my language (PHP)? e.g. I typed ‘mysql_f’ and pressed Ctrl+Space and see dropdown list with these words: ‘mysql_fetch_array’, `mysql_fetch_assoc’, ‘mysql_fetch_field’ etc…
Sorry for my bad English, if You don’t understand me, I attached screenshot from notepad++ with this feature:
i55.tinypic.com/2e4i2c9.png - How I make functions/variable-autocomplete in JS, as in PHP?
example: I type in PHP file:function myFunc($var) { return $var }
and in other place of document I type ‘myF’, press Ctrl+space and see dropdown with name of functions whose name begins with ‘myF’.
same with the variables. Why this feature works with PHP and not with JS?