fantomas-tools icon indicating copy to clipboard operation
fantomas-tools copied to clipboard

Ability to import settings

Open MangelMaxime opened this issue 3 years ago • 4 comments

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.

MangelMaxime avatar Oct 10 '22 19:10 MangelMaxime

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.

nojaf avatar Oct 10 '22 19:10 nojaf

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.

MangelMaxime avatar Oct 10 '22 20:10 MangelMaxime

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

nojaf avatar Oct 10 '22 20:10 nojaf

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)

sergey-tihon avatar Oct 11 '22 07:10 sergey-tihon