Hi, I've got a couple of issues with 4.0.1.
1) Constants:
Is there any way to get constants to appear along with functions and variables in the code insight popup? I'm sure I used to get this no problem. I've ticked "Defines (constants)" in the code insight settings tab. I have various options defined in the normal manner, for example:
define( 'PG_RESELLER', 10005 );
define( 'PG_ENDCUST', 10006 ); |
However, typing PG_ only pops up the built in PostgreSQL functions and PG_RESELL pops up nothing. This happens in any script, either the script with the defines or otherwise. "Limit scope to includes" is off. Class constants ("const F_NULL = 1101;") pop up fine on ClassName:: being entered.
2) Autocompletion:
Autocompletion code doesn't indent. Again, I'm sure this used to be fine. When I autocomplete some code by hitting Ctrl+J, the first line is inserted where the completion code was, which is what I'd expect. However, future lines are not indented at all. Shouldn't they be indented to the same distance as the line which the completion code was on?