I have a simple function whose parameters are unintuitively ordered:
async blockUser(currentUser: User, userToBlock: User) { ... }
I would like to (using a proper refactoring tool rather than regexs) refactor the function, and all times the function is called, to reorder the parameters for the new function signature:
async blockUser(userToBlock: User, currentUser: User) { ... }
I'd have hoped vsCode would have this in the 'Refactor' menu but can't find it.
How can I reorder parameters with vscode?
