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

Feature/config file #606

Merged
merged 9 commits into from
Dec 26, 2019
Merged

Feature/config file #606

merged 9 commits into from
Dec 26, 2019

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Dec 20, 2019

Initial attempt to resolve #354.
The configuration file is a JSON file according to the schema.
I've extended the public API with

  • GetVersion()
  • ReadConfiguration()
    so tooling could benefit from this as well.

Any feedback on the public API is welcome. @Krzysztof-Cieslak I think this is sufficient for FSAutocomplete, let me know what you think.

TODO:

  • Update documentation
  • Bump version to minor

Once merged:

  • Release a beta to gather feedback
  • Integrate beta in FsAutocomplete.

@Krzysztof-Cieslak
Copy link
Member

Krzysztof-Cieslak commented Dec 21, 2019

Yeah, I think single function for reading config is all we need in FSAC, looks good to me

@nojaf nojaf marked this pull request as ready for review December 21, 2019 12:06
@nojaf nojaf requested a review from jindraivanek December 21, 2019 12:07
@jindraivanek
Copy link
Contributor

Great work!

@nojaf nojaf merged commit c326be7 into fsprojects:master Dec 26, 2019
@nojaf nojaf deleted the feature/config-file branch December 26, 2019 09:08
@nojaf nojaf mentioned this pull request Feb 7, 2020
@ken-okabe
Copy link

Please update documentation for this configuration, so probably Ionide, etc can implement their IDE settings. thanks.

@nojaf
Copy link
Contributor Author

nojaf commented Aug 29, 2022

This configuration was deprecated in v4 in favour of .editorconfig.
You can use the online tool to easily grab the syntax for any setting:
https://fsprojects.github.io/fantomas/docs/end-users/Configuration.html#Trying-your-settings-via-the-online-tool

@ken-okabe
Copy link

@nojaf Thanks for your response. Wow, this is really great.

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.

Allow for saving arguments in a config file
4 participants