Package com.python.pydev.analysis

Examples of com.python.pydev.analysis.IAnalysisPreferences


            }

            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) {
                //let's see if we should do code analysis
                AnalysisRunner.deleteMarkers(r);
            }
View Full Code Here


        markersAtLine.addAll(markersAtLine2);

        ArrayList<ICompletionProposal> props = new ArrayList<ICompletionProposal>();

        if (markersAtLine != null) {
            IAnalysisPreferences analysisPreferences = AnalysisPreferences.getAnalysisPreferences();
            String currLine = ps.getLine();
            for (MarkerAnnotationAndPosition marker : markersAtLine) {
                for (IAnalysisMarkersParticipant participant : participants) {
                    try {
                        participant.addProps(marker, analysisPreferences, currLine, ps, offset, nature, edit, props);
View Full Code Here

      SourceModule module = (SourceModule)AbstractModule.createModuleFromDoc(
          moduleName, new File(filePath), document, nature,
          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

Related Classes of com.python.pydev.analysis.IAnalysisPreferences

Copyright © 2018 www.massapicom. 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.