Restore defaults for Plugin Options

Use case or problem

When trying any plugin, I always modify many plugin options’ value. Is there a better way to show the option which has been modified and its default value?

Proposed solution

  • After plugin installation, create an default-data.json.
  • By comparing default-data.json with data.json, it will get the modified option list.
  • Show the modified option in Strong text.
  • Show the default value after the modified option’s description.
1 Like

This sounds like a community plugin rather than default feature. After these proposed changes the plugin options page would look extremely cluttered. You could probably use git and git diff to achieve this using 3rd party tools.

1 Like

Thanks for sharing.

git is a good workaround for me.

I think that another good ui example is like vscode settings as following: