saboya / gorm-logical-delete

Database-agnostic logical delete for Grails.
http://saboya.github.io/gorm-logical-delete
Apache License 2.0
1 stars 1 forks source link

IntelliJ code completion for logicalDelete named parameter in delete() #1

Closed saboya closed 9 years ago

saboya commented 9 years ago

Currently the IntelliJ GDSL doesn't add auto-complete for the logicalDelete named parameter in the delete method. Theoretically it's possible to describe named parameters with GDSL, however the GDSL definition doesn't take precedence over the existing one. There's a open ticket describing this limitation in GDSL.

A possible workaround is to define another signature for the method with the extra named parameter (reference). While that does work it also defines a non-existent signature, and I don't consider that a acceptable trade-off.

saboya commented 9 years ago

According to Maxim Medvedev, from JetBrains:

Currently there is no way to override existsing methods with gdsl. We will try to implement the feature in 15