Skip to content

Annotations format #91

@gagnechris

Description

@gagnechris

Currently when executing scalariform on a source file which includes annotations, the definition and annotation are put on the same line. Can a parameter be introduced to turn this specific formatting off?

For example, here is why my code looks like before executing scalariform (2 lines):
@ApiModelProperty(value = "A description of the model property")
val modelProperty: Option[ModelPropertyInfo] = None,

Here is what the above code is changed to after executing scalariform (1 line):
@ApiModelProperty(value = "A description of the model property") val modelProperty: Option[ModelPropertyInfo] = None,

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions