Surround with PHP function

Hello,

Is there a way to surround with a php function? Example:

echo $database_row['some_field'];

place cursor on the variable (or highlight entire variable), press a "surround with function" shortcut, start typing "html" and select "htmlspecialchars" from the normal autocomplete popup. result is:

echo htmlspecialchars($database_row['some_field']);

Trying to invoke the existing surround with shortcut doesn't do anything in this case.

Shall I file a feature request?

Thanks,
David

1 comment
Comment actions Permalink

You should file a feature request. The most close feature request in BTS is: http://youtrack.jetbrains.net/issue/WI-2571

0

Please sign in to leave a comment.