public FortranCodeNavCore(VisualStudioIDE visualStudio) { Version = GetType().Assembly.GetName().Version; Log.Write(string.Format("Fortran CodeNav {0} initializing...", Version)); SyntaxTreeMaintainer = new SyntaxTreeMaintainer(visualStudio); VisualStudio = visualStudio; VSLogger.RealLogger = new LogRedirector(); VisualStudio.FilePassesFilterDelegate = KeepFile; VisualStudio.VisualStudioClosing += VisualStudioClosing; // intellisense var fortranIntellisense = new FortranIntellisenseProvider(VisualStudio, SyntaxTreeMaintainer); IntellisenseController = new VSIntellisense(VisualStudio) { OnCodeCompleteActivating = fortranIntellisense.OnCodeCompleteActivating, OnCodeCompleteUpdating = fortranIntellisense.OnCodeCompleteUpdating }; }
public void ClearCaches() { SyntaxTreeMaintainer.ClearCaches(); }