Quick actions in Visual Studio and or IntelliJ
singingbush
singingbush at hotmail.com
Mon Feb 24 18:18:50 UTC 2025
On Friday, 17 January 2025 at 12:52:40 UTC, Joshua Petersen wrote:
> Could quick actions be added to make it easier when
> implementing an interface to generate method signatures for the
> required methods for you? Similar to how The Light Bulb does it
> for C# and for Java in IntelliJ. So when you hover over the
> error that the methods have not be defined it shows a quick fix
> button which would generate the method stubs for you.
Yes, that's possible. I think what you want in Intellij is to use
com.intellij.codeInspection.LocalQuickFixOnPsiElement
Some existing quick fixes that have been implemented in the
Intellij D plugin are here:
https://github.com/intellij-dlanguage/intellij-dlanguage/tree/develop/src/main/kotlin/io/github/intellij/dlanguage/quickfix
More information about the Digitalmars-d-ide
mailing list