apache / apache/grails-intellij-plugin
GSP code style: Space in empty tag
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
When autocompleting, I want to get a space character before the closing `/>` in an empty GSP tag
For HTML and XML tags there already seems to be an option for this in the settings.
I've attached a few screenshots to illustrate the problem.
---
*Imported from [IDEA-134764](https://youtrack.jetbrains.com/issue/IDEA-134764) · 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
Start by finding the GSP tag-completion code and the existing HTML/XML setting for spacing before a closing />. Check how those settings affect autocomplete, then determine where GSP completion can follow the same behavior. Done when completing an empty GSP tag inserts a space before /> and the behavior is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100