I am rewritting a custom QGIS application as a plugin for QGIS. I am testing it by writing some new code, then deactivate/activate the plugin in the plugin manager, which seems to me a bit cumbersome.
Is there a way to reload the plugin faster?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
@Nathan W answer in comments is correct. You need to use the Plugin reloader. This useful plugin does exactly what your looking for.
Just go in the Plugins menu/Manage and install plugins/Not installed/Plugin Reloader.
It'll add a new menu and you'll be able to reload a plugin with F5 key
As a bonus in your workflow, you might be interested to create your own repository on a common server (to share your plugin internally) :
With an XML file looking like this
<?xml version="1.0" encoding="iso-8859-1"?> <plugins> <pyqgis_plugin version="1.0" name="My Plugin"> <description>this my personnal plugin</description> <homepage>//mysrv/Plugins/</homepage> <file_name>myplugin.zip</file_name> <author_name>My and myself</author_name> <download_url>//mysrv/Plugins/myplugin.zip</download_url> <qgis_minimum_version>2.8</qgis_minimum_version> <experimental>true</experimental> </pyqgis_plugin> </plugins>