possible fix for not displayed dialog message after upgrade the plugin
@@ -10,17 +10,7 @@ from os import path, remove
from shutil import rmtree
from sublime import message_dialog
from sublime_plugin import EventListener
-
-from .commands import *
-from .platformio.update import Update
-from .beginning.pio_install import PioInstall
-from .libraries.tools import get_setting, save_setting
-from .libraries.syntax import Syntax
-from .libraries.paths import getMainMenuPath, getPackagesPath
-from .libraries.paths import getDeviotUserPath, getPluginName, status_color_folder
-from .libraries.preferences_bridge import PreferencesBridge
-from .libraries.project_check import ProjectCheck
-from .libraries import messages, status_color
+from .libraries.paths import getPluginName
package_name = getPluginName()
@@ -69,6 +59,17 @@ def plugin_unloaded():
if(path.isdir(user)):
rmtree(user)
+from .commands import *
+from .platformio.update import Update
+from .beginning.pio_install import PioInstall
+from .libraries.tools import get_setting, save_setting
+from .libraries.syntax import Syntax
+from .libraries.paths import getMainMenuPath, getPackagesPath
+from .libraries.paths import getDeviotUserPath, status_color_folder
+from .libraries.preferences_bridge import PreferencesBridge
+from .libraries.project_check import ProjectCheck
+from .libraries import messages, status_color
+
# plugin_unload is not working so if the status bar color
# folder is present when ST starts, it will remove it.
