Re: [QGIS-Developer] Best practices for storing plugin settings

2023-10-24 Thread Denis Rouzaud via QGIS-Developer
Hi Gabriel, There has been an introduction of a new settings API. There has been 2 QEP and 4 main PRs, but the main interesting changes for settings registration are in https://github.com/qgis/QGIS/pull/51295 You can refer to the coding standards documentation: https://docs.qgis.org/testing/en/do

Re: [QGIS-Developer] Best practices for storing plugin settings

2023-10-20 Thread WhereGroup
Hi Gabriel, there are no fixed standards but it might be a great project to evaluate the plugin landscape and see how people do it in the wild, to see if there are some defacto standards or best practises. I tried to document some variations I found recently in https://hannes.enjoys.it/blog/

[QGIS-Developer] Best practices for storing plugin settings

2023-10-15 Thread Gabriel De Luca via QGIS-Developer
Hello everyone, I'm developing a plugin and I'm not sure where to write the settings. Should I create the settings object with my own organization and application? I would expect a plugin's settings to be stored in the profile folder where the plugin is installed, within the same qgis configu