Skip to content

.editorconfig support - #939

Closed
josefblaha wants to merge 1 commit into
fsprojects:masterfrom
josefblaha:editorconfig
Closed

josefblaha wants to merge 1 commit into
fsprojects:masterfrom
josefblaha:editorconfig

Conversation

@josefblaha

Copy link
Copy Markdown

This is my work-in-progress on the issue #650. In the first commit, I've implemented reading indentation size from a .editorconfig file. There is a new method CodeFormatter.ReadDocumentConfiguration to get the formatting configuration for a source file. It is intended to replace the current CodeFormatter.ReadConfiguration.

Notable TODOs are:

  • Define and read other Fantomas formatting options from the file.
  • Implement assembly weaving (or something equivalent), so that the dependency library is hidden.
  • Get rid of the restore warnings during build.

Also feel free to comment my programming style. I come from the C# world and F# is still a new language for me.

@nojaf nojaf mentioned this pull request Jul 1, 2020
3 tasks done
@josefblaha

Copy link
Copy Markdown
Author

Superseded by #940.

@josefblaha josefblaha closed this Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant