apache / apache/grails-intellij-plugin
Grails gsp class name careless autocompleate
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
In a GSP file
1. type **${TestC}**
2. ctrl+whitespase (after letter C)
3. Correct class will be suggested – press enter
At result will be inserted class with full path
**${new com.test.TestClass}** and import of class at start of GSP
And Idea immediately show hint "Replace qualified name with import"
**${new TestClass}** mast be inserted, without unnecessary path
Bug exist in Idea 2016.3 and reproducible for any version of grails
---
*Imported from [IDEA-166410](https://youtrack.jetbrains.com/issue/IDEA-166410) · Type: Bug · Votes: 1*
*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 GSP completion case in a Grails project using IntelliJ IDEA, starting with `${TestC}` and the documented Ctrl+Space step. Confirm that completion inserts `new TestClass` with an import instead of the fully qualified class name, and verify the IDE no longer suggests replacing the qualified name with an import.
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
- Mostly clear
- Newbie friendliness
- 65/100