Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecurityConfiguration.java: Eclipse Code Formatter Turned Off #10580

Closed
SudharakaP opened this issue Oct 8, 2019 · 2 comments

Comments

@SudharakaP
Copy link
Member

commented Oct 8, 2019

Overview of the issue

This question was raised by @amirensit on Gitter.

On #9416 we have turned the Eclipse formatter off and on for a certain piece of code in SecurityConfiguration.java by adding \\@formatter:off and \\@formatter:on. I was wondering why this was added? Is there some kind of formatting issues with Eclipse? 😄

cc: @mraible

Related issues

#9416

Browsers and Operating System
  • Checking this box is mandatory (this is just to show you read everything)
@vishal423

This comment has been minimized.

Copy link
Contributor

commented Oct 9, 2019

That allows to preserve the manual formatting of security DSL. Also, that syntax is not specific to eclipse, and also works well with intellij.

@SudharakaP

This comment has been minimized.

Copy link
Member Author

commented Oct 9, 2019

@vishal423 : Thanks for the explanation. Ah, didn't know that this is also common to Intellij. 😄

@SudharakaP SudharakaP closed this Oct 9, 2019
@pascalgrimaud pascalgrimaud added this to the 6.4.0 milestone Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.