apache / apache/grails-intellij-plugin
GSP: Settings / Code Style / HTML / "Insert new line before" does not affect GSP actions
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
It seems that Settings / Code Style / HTML / "Insert new line before" does not work for gsp actions. Tested with file:
```
<%@ page contentType="text/html;charset=UTF-8" %>
Start
Go!
```
Added "g:link" to the list in the setting, reformatted the file: no new line before g:link.
Same setting work for jsp actions in JSP file.
106.84.
---
*Imported from [IDEA-65939](https://youtrack.jetbrains.com/issue/IDEA-65939) · 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 reproducing the issue in IntelliJ IDEA 106.84 with the supplied GSP file, adding g:link to the HTML “Insert new line before” setting and reformatting it. Trace the GSP action formatting path and compare it with JSP action handling; done means the configured newline is inserted before g:link actions without regressing JSP formatting.
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
- 58/100