Skip to content

Editor.config: insert_final_newline is ignored by Fantomas #2002

Closed
@auduchinok

Description

Original issue: RIDER-72601.

What steps will reproduce the issue?

create a fsharp file in rider without a final newline;
create an .editorconfig file with insert_final_newline=false (either as a global setting or specific for *.{fs, fsi, fsx});
format the file

What is the expected result?
Rider does not insert a final newline.

What happens instead?
Rider inserts a final newline.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions