Quick actions in Visual Studio and or IntelliJ

lauralordelaure lauralordelaure at gmail.com
Wed Jun 4 03:46:43 UTC 2025


On Monday, 24 February 2025 at 18:18:50 UTC, singingbush wrote:
> 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 [Mapquest Directions](https://mapsdrivingdirections.io/)

Would the plugin need to support inheritance and interface 
hierarchy resolution to generate the correct method signatures 
with the right visibility and parameters?


More information about the Digitalmars-d-ide mailing list