Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.6.1.M1
-
Fix Version/s: None
-
Component/s: Formatting
-
Labels:
-
Environment:STS 2.8.1
-
Number of attachments :
Description
I have lists that are being broken onto separate lines that I wish to keep on the same line.
I tried to simply turn off formatting for this section of code, to no avail.
It appears that the groovy formatter does not respond to this directive: @formatter:off that is part of the base eclipse formatter
grails.plugins.springsecurity.interceptUrlMap = [
'/js/**': ['IS_AUTHENTICATED_ANONYMOUSLY'],
'/css/**': ['IS_AUTHENTICATED_ANONYMOUSLY'],
'/images/**': ['IS_AUTHENTICATED_ANONYMOUSLY']]
is being turned into
grails.plugins.springsecurity.interceptUrlMap = [
'/js/**': [
'IS_AUTHENTICATED_ANONYMOUSLY'
],
'/css/**': [
'IS_AUTHENTICATED_ANONYMOUSLY'
],
'/images/**': [
'IS_AUTHENTICATED_ANONYMOUSLY'
]
Yes, this is not something we have implemented yet. It would be a good thing to have.