Sorien / silex-idea-plugin

Idea plugin for Silex Framework - plugin is not compatible with PHPStorm 2016.2
MIT License
26 stars 8 forks source link

When you setect item from autocomplete it should replace whole parameter text #16

Closed Sorien closed 9 years ago

Sorien commented 9 years ago

current

$app['re<caret>quest'] (select request_context from list) -> $app['request_contextuest<caret>']

should be

$app['re<caret>quest'] (select request_context from list) -> $app['request_context<caret>']

and ideally move caret after ]?

CarsonF commented 9 years ago

Yeah I think so. That's the default behavior right. I seem to recall some differences between hitting TAB and hitting ENTER. Tab seems to complete it all the way and replace the existing expression, but hitting enter seems to drop in the rest of the completed expression and leaves the existing trailing half there.