apache / apache/grails-intellij-plugin

Grails render block with markup incorrectly flagged as "cannot resolve symbol"

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

According the "render some markup to the response" example on [http://grails.org/doc/latest/ref/Controllers/render.html](http://grails.org/doc/latest/ref/Controllers/render.html), it is syntactically correct to include markup inside a Grails render block. IntelliJ IDEA is incorrectly flagging the q() and p() lines in the code block below as "cannot resolve symbol". The attached screen shot shows what I am seeing inside IDEA.
```
render {
q( randomQuote.content )
p( randomQuote.author )
}
```

---

*Imported from [IDEA-128834](https://youtrack.jetbrains.com/issue/IDEA-128834) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported Grails render block in IntelliJ IDEA using the q() and p() example from the issue and compare it with the linked render documentation. Trace the plugin's handling of markup inside render blocks; done means those lines are no longer flagged as "cannot resolve symbol".

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.