apache / apache/grails-intellij-plugin

Grails gsp intellisense for g:set

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

Description

I would like to suggest support for this.

If i have a .gsp page in my Grails application theres no support intellisense wise for this neither in refactoring, go to declaration aso.

in a .gsp page:
<g:set var="myService" bean="myService"/>
${myService.myMethod()}

in MyService.groovy
class MyService {
String myMethod() {}
}

if you refactor myMethod() the code in the .gsp file is not included.
Like wise if you select myMethod() in the .gsp file and select go to implementation nothing is found

---

*Imported from [IDEA-177663](https://youtrack.jetbrains.com/issue/IDEA-177663) · Type: Feature · 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

Reproduce the example in a .gsp page using and MyService.groovy with myMethod(). Start by checking how refactoring and Go to Declaration/Implementation behave for myMethod in the .gsp file; done means these actions include the GSP reference and resolve it to MyService.groovy.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.