lombok-intellij-plugin icon indicating copy to clipboard operation
lombok-intellij-plugin copied to clipboard

Add support for @StandardException

Open astubbs opened this issue 3 years ago • 4 comments

With the upgrade to https://github.com/mplushnikov/lombok-intellij-plugin/pull/1069 1.18.21, comes @StandardExeption. https://projectlombok.org/features/experimental/StandardException

astubbs avatar Nov 11 '21 12:11 astubbs

I ran into some issues in Intellij regarding the @StandardException in Lombok. Is this because this has not been implemented yet in the plugin?

See also the comments I made on adding a custom constructor to an Exception annotated with @StandardException which is not recognized by Intellij: https://github.com/projectlombok/lombok/issues/375#issuecomment-953050001

But also the default constructors added by Lombok when adding the @StandardException are not recognized, while the Maven build runs perfectly fine.

Manfred73 avatar Nov 16 '21 15:11 Manfred73

Is this because this has not been implemented yet in the plugin?

Yes, I think so. See the features list in the readme.

astubbs avatar Nov 16 '21 17:11 astubbs

This still seems to be a problem the plugin with Intellij bundled 222.4345.14. Will this be supported in the future?

Manfred73 avatar Oct 20 '22 14:10 Manfred73

I don't know why it's not stated anywhere, but the new bug tracker is https://youtrack.jetbrains.com/ since this plugin was integrated into IntelliJ IDEA.

There's a feature request similar to this one https://youtrack.jetbrains.com/issue/IDEA-280823/New-lombok-feature-StandardException

@mplushnikov Can you please:

  1. Inform your community in the README about the IntelliJ bug tracking and disable Issues in this Github project
  2. Check the comments in the IDEA issue linked above and fix the issue about the Constructor not being shown in IntelliJ

I personally don't use IntelliJ IDEA right now, so I can't check whether it has been fixed since the last comment of March 2022.

bergerst avatar Oct 24 '22 07:10 bergerst