Feature Request: Feature parity between ContractAnnotationAttribute (R#, Rider) and @Contract (IntelliJ)

Completed

I've been using the ContractAnnotationAttribute and really like the idea.

As I was trying to learn more about the syntax, I found the documentation for IntelliJ's @Contract annotation, which appears to serve a similar purpose for Java projects. Unfortunately, a lot of the syntax it supports doesn't work with ContractAnnotationAttribute.

Specifically, the "new", "this", and "param1..." keywords would be really nice to have. Ideally though, it would be great if ContractAnnotationAttribute could support the entire syntax provided by @Contract, in both ReSharper and Rider.

2 comments
Comment actions Permalink

I only regret, that I have but one vote to cast for this feature request!

0
Comment actions Permalink

Hello,

thank you for the feedback.

I've filed a corresponding feature request - https://youtrack.jetbrains.com/issue/RSRP-478850.

You are welcome to comment or vote for it.

Thank you.

0

Please sign in to leave a comment.