Reputation: 1451
Is there a way in Visual Studio Code to extract the selected lines to a PHP function?
I saw there is a way to do it for C#, but I did not find a way for PHP.
Upvotes: 2
Views: 2183
Reputation: 65453
No, not builtin at least.
Features like extract method have to be implemented per-language. Try filing a feature request against the PHP extension: https://github.com/felixfbecker/php-language-server/issues
Upvotes: 1