apache / apache/grails-intellij-plugin
Setup goto for grails custom taglib input attributes
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
Support feedback:
We have added custom tags to the taglib which wrap existing gsp tags such as the <g:javascript src="..."/> to support cache busting by changing the file names based on which build number we are on.
The only problem with these custom tags, we cannot use intellij's goto functionality to view which files the input attributes are referring to without manually looking up the files ourselves.
For example using the tag <g:javascript src="myDir/myJs.js"/>
If I hold control and left click on the src attribute, intellij will navigate to myDir/myJs.js and open the file.
Our custom tags do not have this feature even if the attributes have the same name and javadoc.
Is there a way to add support for this in our project? Such as adding a javadoc which tells intellij the src attribute is a dir?
---
*Imported from [IDEA-199021](https://youtrack.jetbrains.com/issue/IDEA-199021) · Type: Feature · Votes: 31*
*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 with IntelliJ's goto behavior for the src attribute on built-in tags and compare it with equivalent custom taglib attributes. The work is done when control-clicking a custom tag's src attribute navigates to the referenced file, matching the built-in tag behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100