Override autocomplete with custom function?
Is there any way to set up a custom function to override the default autocomplete? For example, when I type error_log, I want it to automatically fill in error_log(":::username.
Please sign in to leave a comment.
Hi there,
>Is there any way to set up a custom function to override the default autocomplete?
As far as I understood your request -- NO.
>For example, when I type error_log, I want it to automatically fill in error_log(":::username.
You can use Live Templates -- they are shown in completion popup as well.
https://confluence.jetbrains.com/display/PhpStorm/Live+Templates+%28Snippets%29+in+PhpStorm