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
Export/Import settings #336
Comments
Alongside this, we can have "export/import settings" feature. This can help portability of settings? |
Export is simply copying the settings file to somewhere else, import is simply pasting another settings file and restart CP Editor, so I'm wondering if that will be helpful. BTW, now the settings are saved to the file when exiting, so it will be better if the user can manually save the settings to the file, and it can be automatically done when clicking "reveal the settings file in the file manager". |
I'm just suggesting that the import/export feature more user friendly. |
It is a good idea, because the editor settings file is hidden be default exporting it can mean copying it to a user chosen location. Like say C://Users/Ashar/backup/settings/cpeditor-settings.cped
Importing a settings will mean a overwrite of current settings, user need to choose the file with extension This way user can also have a backup at any other location say GitHub or can also be shared. Another reason for export and import is that, in different OS, the location of settings file is different if a user is willing to use our editor in 2-3 different OS, instead of manually remembering the location in every OS they can simply export/import. This should be simple and easy to implement as well. |
I missed this point, then I agree that import/export is better.
Why not
Reveal the settings file in the file manager also solves this. Which of these should we have?
Should we validate the settings? I think it won't be an easy job. I think it's OK to ignore the case that the user manually changes some settings and makes it invalid. |
No, I agree we can ignore the manual modifications. User should not change settings file themselves, if they do, they are responsible for consequences. Export/Import Settings will be best, it fixes all above mentioned issue and I haven't seen application that exposes or reveals settings in file manager.
|
OK, so we just add import/export with |
Yes as if now, it will be great. |
@allcontributors add @shakeabi as a contributor for ideas. |
I've put up a pull request to add @shakeabi! 🎉 |
Is your feature request related to a problem? Please describe.
Now it's hard for the user to find the settings file, thus hard to export/import the settings.
Describe the solution you'd like
Add "Export settings" and "Import settings" in the "Options" menu of the main window (AppWindow).
We can use
cped
as the extension of the exported file.Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: