Setting up Autocomplete

I am recently moving from Netbeans (great free editor!) to PHPStorm. I love PHPstorm, but am missing something I got used to in Netbeans.

When I type something like:

if($somecondition):

and then hit enter, the editor automatically places

endif;

for me. It does the same thing when you use any structure like while, foreach, etc.

I am sure that you must be able to do this with PHPStorm, it does so much else.

How do I activate or set up this feature?

1 comment
Comment actions Permalink

Hi there,

AFAIK there is no such completion.

But you can use Live Templates functionality and set it up to speed up your typing of such structures.

http://blog.jetbrains.com/webide/2012/10/high-speed-coding-with-custom-live-templates/

0

Please sign in to leave a comment.