vscode-intelephense
vscode-intelephense copied to clipboard
Move function to class method
The main purpose of this is to rename a global function to a static method of a well namespaced class to help migrate legacy code.
Something like rename symbol would work if it understands how to find the target class to move the function to. A checkbox for keeping the original function as a wrapper function that just calls the new function would be useful.