from Dart.sublime_plugin_lib import PluginLogger from Dart.lib.editor_context import EditorContext import logging _logger = PluginLogger('Dart') _logger.warn_aboug_logging_level() editor_context = EditorContext()
from Dart.lib.error import ConfigError from Dart.lib.error import FatalConfigError from Dart.sublime_plugin_lib import PluginLogger from Dart.sublime_plugin_lib.filter import TextFilter from Dart.sublime_plugin_lib.io import AsyncStreamReader from Dart.sublime_plugin_lib.path import join_on_win from Dart.sublime_plugin_lib.path import to_platform_path from Dart.sublime_plugin_lib.plat import is_windows from Dart.sublime_plugin_lib.plat import supress_window from Dart.sublime_plugin_lib.settings import FlexibleSetting from Dart.sublime_plugin_lib.subprocess import GenericBinary from Dart.sublime_plugin_lib.subprocess import killwin32 from Dart.sublime_plugin_lib.text import decode_and_clean _logger = PluginLogger(__name__) class DartSdkPathSetting(FlexibleSetting): ''' Data descriptor. Reads a setting from Dart config file so that it can be a single value or a value keyed by platform. Usefult to easily retrieve a global setting for all platforms, or a per-platform setting. ''' def __init__(self, *args, **kwargs): try: del kwargs['name'] del kwargs['expected_type'] except KeyError:
from Dart.sublime_plugin_lib import PluginLogger from Dart.lib.editor_context import EditorContext import logging _logger = PluginLogger('Dart') _logger.warn_aboug_logging_level() editor_context = EditorContext()