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

[Feature Request] Method Signature Refactoring

Open DreamFulFil opened this issue 4 years ago • 3 comments

All prevalent IDEs such as Eclipse, IntelliJ, Netbeans provides a way to refactor method signatures. It would be nice to have such a feature implemented in VSCode since the methods are usually spread across the entire project, and currently no such refactoring actions are supported(checked the documentation and opened/closed issues). Visual Studio seems to have such an existing feature

Thank you for the hard work.

DreamFulFil avatar Sep 09 '21 21:09 DreamFulFil

It should be possible, but the tricky part is creating a UI around it. We could probably have a look at https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/tree/org.eclipse.jdt.ui/ui%20refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeSignatureWizard.java as a start point.

rgrunber avatar Sep 10 '21 03:09 rgrunber

any news on this?

Med-H avatar Feb 12 '22 12:02 Med-H

I'm also anxiously awaiting this feature. How is feature work prioritized? Can we vote somewhere?

coltongoates avatar Jun 09 '22 15:06 coltongoates

This is now implemented in the Netbeans language server plugin: https://marketplace.visualstudio.com/items?itemName=ASF.apache-netbeans-java

That plugins has other issues however, so I hope we will get this soon.

ewot avatar Oct 27 '22 11:10 ewot

I'll take a look these days.

CsCherrYY avatar Feb 06 '23 06:02 CsCherrYY

we have an upstream PR: https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/428 which will make the processors available in jdt.ls.

CsCherrYY avatar Feb 08 '23 07:02 CsCherrYY