Пример #1
0
 public SassyStudioPackage()
 {
     _ScssOptions = new Lazy<ScssOptions>(() => GetDialogPage(typeof(ScssOptions)) as ScssOptions, true);
     _Options = new OptionsProvider(this);
     _DTE = new Lazy<DTE2>(() => ServiceProvider.GlobalProvider.GetService(typeof(DTE)) as DTE2);
     _ScssService = new ScssLanguageService();
 }
Пример #2
0
        private void RegisterScssLanguage()
        {
            _ScssService = new ScssLanguageService();
            ((IServiceContainer)this).AddService(typeof(ScssLanguageService), _ScssService, true);

            LanguageSettings = new LanguageSettings();
        }