Package com.python.pydev.analysis

Examples of com.python.pydev.analysis.IAnalysisPreferences.clearCaches()


            AnalysisRunner runner = new AnalysisRunner();
            checkStop();

            IAnalysisPreferences analysisPreferences = AnalysisPreferences.getAnalysisPreferences();
            //update the severities, etc.
            analysisPreferences.clearCaches();

            boolean makeAnalysis = runner.canDoAnalysis(document) && PyDevBuilderVisitor.isInPythonPath(r) && //just get problems in resources that are in the pythonpath
                    analysisPreferences.makeCodeAnalysis();

            if (!makeAnalysis) {
View Full Code Here


          false /* checkForPath */);

      // see com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis
      IAnalysisPreferences analysisPreferences =
        AnalysisPreferences.getAnalysisPreferences();
      analysisPreferences.clearCaches();
      IIndentPrefs indentPrefs = DefaultIndentPrefs.get();
      indentPrefs.regenerateIndentString(); // TAB_INDENT pref may have changd.
      OccurrencesAnalyzer analyzer = new OccurrencesAnalyzer();
      IMessage[] messages = analyzer.analyzeDocument(
        nature, module, analysisPreferences, document,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.