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

   Issue no 1:
   Variables passed from controller to GSP view are not resolved in the view, 
ie no variable/method completion is available, and/or "click to navigate".
   Example code in the image attached: "instance" and "all" are underlined.
   It seems this is the same issue reported in 
[https://youtrack.jetbrains.com/issue/IDEA-49731](https://youtrack.jetbrains.com/issue/IDEA-49731)
 and 
[https://youtrack.jetbrains.com/issue/IDEA-40926](https://youtrack.jetbrains.com/issue/IDEA-40926),
 however it seems not solved in IDEA 2016.1.3 running a Grails 3.1.9 project on 
Linux/Open JDK 1.8.0_91.
   
   Issue no 2:
   The navigation method described here: 
[https://www.jetbrains.com/help/idea/2016.1/getting-started-with-grails-3.html](https://www.jetbrains.com/help/idea/2016.1/getting-started-with-grails-3.html)
   doesn't work fully: when in the controller class code, if I hit 
CTRL+ALT+HOME it goes directly to the auto-generated test class.
   If I'm in the Domain class, it shows the popup menu with: Controller and 
Test class.
   If I'm in the GSP view, it doesn't do anything at all.
   
   Issue no 3:
   Certain Domain class Grails methods are not recognized. I think I've seen 
this one reported elsewhere.
   In my screenshot, Test.save() and Test.list() are not recognized, although 
Test.listOrderBy...() is.
   
   Issue no 4:
   Changes in the controller are not reloaded, despite the message:
   File 
/home/<hidden-personal-data>/IdeaProjects/First/grails-app/controllers/first/TestController.groovy
 changed, recompiling...
   and the setting: Reload classes after compilation: Always.
   Workaround is this (found on Stackoverflow), assuming the project is run 
from Application.main():
   Edit Configurations -> Application -> VM Options -> add this:
   ```
   -noverify
   
-javaagent:/home/<hidden-personal-data>/.sdkman/candidates/grails/3.1.9/lib/org.springframework/springloaded/jars/springloaded-1.2.6.RELEASE.jar
   ```
   Issue no 5:
   There's no auto-completion for the Grails tags attributes. In the example, 
&lt;g:each _cursor here_ &gt; hitting CTRL-SPACE pops "No suggestions".
   
   And a suggestion for the end: please compile a list of known issues related 
to Grails 3, so that your users can read the page and the occasional workaround 
instead of wasting time. Adding IDE related frustrations to Grails 2 -&gt; 3 
upgrade head scratching is not good for health.
   
   ---
   
   *Imported from 
[IDEA-158134](https://youtrack.jetbrains.com/issue/IDEA-158134) · Type: Bug · 
Votes: 1*
   *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