I'm learning PHPStorm, so hopefully I'm just missing something here.
I'm having trouble getting PHPStore to auto-complete the code constructs of basic PHP statements.
For example, in a PHP document, if I type "swit", the code completion suggestion popup appears, and "switch" is the first option. The background is blue. If I select the "switch" option by hitting return or enter or by clicking the option in the popup, it simply completes the word "switch" in my document, but makes no attempt to complete the full PHP switch() statement code construct.
If, while the suggestion popup is displayed, I hit the Ctrl+Shift+Enter key combination, the suggestion popup disappears, and a pink-background popup appears in its place that says "No suggestions".
The same happens for all basic PHP logic statements that I've attempted, including "if", "for", "foreach", and "while".
Auto-completion of most built-in PHP functions I've tried, such as date(), header(), array_key_exists(), array_merge(), etc., work fine, with the exception of require_once(), which results in the same behavior as described above.
The auto-completion suggestion popup appears very quickly. I originally set the Autopopup in (ms) setting to 1000 to make it pop up more quickly. Now, however, if I change that value to a large value like 15000, it still pops up almost instantly.
PHPStorm version is 7.1.3.
Operating system: Mac OS X Mountain Lion 10.8.5.
It will auto-complete references to existing custom functions correctly, completing the function name, adding the parenthesis, and providing the parameter hints.
I'm not aware of any issues with my keyboard or any other keyboard-related shortcuts in PHPStorm or any other applications.
I seem to recall this functionality working for me at some point in my early learning.
I've invalidated the caches and restarted PHPStorm, per some other forum suggestions.