Skip to content

Parser should apply to OpenRewrite styles #982

@fabapp2

Description

@fabapp2

What needs to be done

It should be possible to provide OpenRewrite Style settings to the parser.

  • A default set of styles should be provided if reasonable (what is the default with OR?)
  • The set of styles should be provided as application properties
parser.styles=com.foo.MyStyle,com.bar.YourStyle
  • The default is set in ParserProperties

  • The style should be provided where required (ExecutionContext, Parser(s), ..)

  • Implemented code and tests that verify

    • Styles from properties are used
    • Code is formatted using the configured style(s)

OpenRewrite docs

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions