Code in a function to rewrite
Hello!
I work with the program 'Vers 5.0.2 PhpStorm'.
Is there the possibility in PhpStorm existing code in a function to rewrite?
Example:
bla bla bla bla bla
blub blub blub blub blub
------------------------------
private function(){
bla bla bla bla bla
blub blub blub blub blub
}
Your sincerly
Stephan
请先登录再写评论。
Do you mean surround with function? Please try pressing Ctrl+Alt+T.
Kirill
Hello!
Thanks for the quick reply.
This is exactly what I was looking for.
Does PhpStorm the possibility for duplicate code search and outsource this to a Function?
Sincerely yours
Stephan
I'm looking for a tool that queries the name of the function and. The type of the function (public, protected, private)
Is there this tool in PhpStorm?
Sincerely yours
Stephan
Maybe Go to symbol (Ctrl+Alt+Shift+N) will help?