''

def run(self, edit):

    if stino.arduino_info[u'init_done']:
        file_path = self.view.file_name()
        dir_path = os.path.dirname(file_path)
        conf_file_name = u'config.stino-settings'
        conf_file_path = os.path.join(dir_path, conf_file_name)
        if os.path.isfile(conf_file_path):
            os.remove(conf_file_path)
            app_dir_path = stino.arduino_info[u'arduino_app_path']
            settings_path = os.path.join(app_dir_path, u'global.stino-settings')
            settings = stino.file.SettingsFile(settings_path)
            pkg = settings.get(u'package', u'')
            ptfm = settings.get(u'platform', u'')
            ver = settings.get(u'version', u'')
            pkgs_info = stino.arduino_info.get(u'installed_packages', {})
            ptfm_info = stino.selected.get_platform_info(pkgs_info, pkg, ptfm, ver)
            if ptfm_info:
                stino.do_action.put(stino.on_platform_select, pkg, ptfm)
                stino.do_action.put(stino.on_version_select, ver)
                keys = settings.get_keys()
                for key in keys:
                    if key.startswith(u'option_'):
                        value = settings.get(key)
                        stino.on_board_option_select(key, value)
                board = settings.get((u'board@%s' % ptfm), u'')
                stino.do_action.put(stino.on_board_select, board)
                programmer = settings.get(u'programmer', u'')
                stino.on_programmer_select(programmer)
