Beispiel #1
0
 public static void LoadRoslynResources()
 {
     Task.Factory.StartNew(() =>
     {
         //must be a separate method to allow assembly probing
         InitSyntaxer(pluginDir);
         CSScriptHelper.InitRoslyn();
     });
 }
Beispiel #2
0
        static public void OnCurrentFileChanged()
        {
            if (CodeMapPanel != null)
            {
                CodeMapPanel.RefreshContent();
            }

            if (Npp.Editor.IsCurrentDocScriptFile() && Config.Instance.UseRoslynProvider && Config.Instance.StartRoslynServerAtNppStartup)
            {
                CSScriptHelper.InitRoslyn();
            }
        }