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

Ability to import settings #436

Open
MangelMaxime opened this issue Oct 10, 2022 · 4 comments
Open

Ability to import settings #436

MangelMaxime opened this issue Oct 10, 2022 · 4 comments

Comments

@MangelMaxime
Copy link
Contributor

When testing or reporting issues, I often needs to manually set the setting on fantomas-tools which is error prone and not easy to do.

It would be nice, if I could copy/paste my existing configuration into fantomas-tools to import it.

@nojaf
Copy link
Collaborator

nojaf commented Oct 10, 2022

I'm not 100% in favour of this.
It is preferred that people reproduce the problem with a limited amount of settings.
Sometimes the problem exists with the default settings and the user's actual settings only add noise and throw you off guard.

@MangelMaxime
Copy link
Contributor Author

Another usage is also to make it easier for people to adapt their configuration.

For example, if something is not working the way I want it, the browser often provide a faster feedbacks loop. But I have the initial cost of setting up my current settings in it.

@nojaf
Copy link
Collaborator

nojaf commented Oct 10, 2022

Still seems like a first-world problem to me 😸.
I would review your PR when I see one, but no promises...

@sergey-tihon
Copy link
Member

Agree with @MangelMaxime here, also miss this feature.

In my workflow, first I try to reproduce thee bug and then minimize code sample and localize the bug. The hardest part is to sync configuration. (I am glad that I am not the only one who do not like defaults and official style guide 😝)

With current Setting panel also not clear what was the default value and what modified in my current version (when I clicked on several switchers). From UX viewpoint I would prefer Settings panel with 2 modes (visual and textual). Textual is editable, support copy-pasting and with support of config minimization (remove setting that set to default value)

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

No branches or pull requests

3 participants