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

   Provide a Grails application module.
   Provide grails-app/conf/Config.groovy with user defined properties like:
   ```
   environments {
       ideatest {
           my.own.secret = "Secret property string."
       }
   }
   my.own.secret2 = "Secret property string 2."
   ```
   Provide a reference to them in grails-app/controllers/AnyController:
   ```
   def sample = {
       render "<p>$ConfigurationHolder.config.my.own.secret</p>"
       render "<p>$ConfigurationHolder.config.my.own.secret2</p>"
   }
   ```
   Try completion after "$ConfigurationHolder.config.": they suggest predefined 
Grails properties like "grails.views.gsp.encoding", but not user defined 
properties.
   108.578.
   
   ---
   
   *Imported from [IDEA-71624](https://youtrack.jetbrains.com/issue/IDEA-71624) 
· 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