Exemplo n.º 1
0
        public static MissingImportAnalysis GetMissingImports(this ITextSnapshot snapshot, ITrackingSpan span)
        {
#pragma warning disable 0618
            return(VsProjectAnalyzer.GetMissingImports(PythonToolsPackage.Instance, snapshot, span));

#pragma warning restore 0618
        }
Exemplo n.º 2
0
 /// <summary>
 /// Gets a ImportAnalysis providing a list of imports for the selected identifer if the identifier is
 /// currently undefined.
 ///
 /// New in v1.1.
 /// </summary>
 public static MissingImportAnalysis GetMissingImports(this ITextSnapshot snapshot, IServiceProvider serviceProvider, ITrackingSpan span)
 {
     return(VsProjectAnalyzer.GetMissingImports(serviceProvider, snapshot, span));
 }