vscode-intelephense icon indicating copy to clipboard operation
vscode-intelephense copied to clipboard

Move function to class method

Open juacala opened this issue 2 years ago • 0 comments

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.

juacala avatar Mar 10 '22 12:03 juacala