jdaugherty opened a new issue, #178:
URL: https://github.com/apache/grails-intellij-plugin/issues/178

   Grails 2.3 offers an AST transformation annotation `@DelegateAsync` that 
covers any service in async manner. More information here 
[http://grails.org/doc/latest/guide/async.html#promises](http://grails.org/doc/latest/guide/async.html#promises)
   It would be great if IDEA support code completion and code navigation for 
such async services.
   
   Example:
   ```
   class SimpleService {
       def activate() {
   
       }
   }
   ```
   ```
   @DelegateAsync(SimpleService)
   class AsyncSimpleService {
   }
   ```
   ```
   class HRequestService {
       AsyncSimpleService asyncSimpleService
       SimpleService simpleService
   
       void activateHexagonRequest(HexagonRequest hexagonRequest) {
           simpleService.activate()
           asyncSimpleService.activate() // no code completion or code 
navigation
       }
   }
   ```
   
   ---
   
   *Imported from 
[IDEA-133923](https://youtrack.jetbrains.com/issue/IDEA-133923) · Type: Feature 
· Votes: 0*
   *Comments, attachments, dates and reporter are not part of the export — 
follow the link above for the full history.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to