public override List <ICompletionEntry> GetCompletionData(IProjectContent projectContent)
        {
            PythonModuleCompletionItems completionItems = PythonModuleCompletionItemsFactory.Create(standardModuleType);
            List <ICompletionEntry>     items           = new List <ICompletionEntry>(completionItems);

            return(items);
        }
Example #2
0
        ArrayList GetCompletionItemsFromModule(PythonStandardModuleType type)
        {
            PythonModuleCompletionItems moduleItems = PythonModuleCompletionItemsFactory.Create(type);
            ArrayList items = new ArrayList(moduleItems);

            return(items);
        }
Example #3
0
        public override ArrayList GetCompletionData(IProjectContent projectContent)
        {
            PythonModuleCompletionItems completionItems = PythonModuleCompletionItemsFactory.Create(standardModuleType);
            ArrayList items = new ArrayList(completionItems);

            return(items);
        }
        List <ICompletionEntry> GetCompletionItemsFromModule(PythonStandardModuleType type)
        {
            PythonModuleCompletionItems moduleItems = PythonModuleCompletionItemsFactory.Create(type);
            List <ICompletionEntry>     items       = new List <ICompletionEntry>(moduleItems);

            return(items);
        }
		public static PythonStandardModuleMethodGroupResolveResult Create(PythonStandardModuleType type, string methodName)
		{
			PythonModuleCompletionItems completionItems = PythonModuleCompletionItemsFactory.Create(type);
			MethodGroup methods = completionItems.GetMethods(methodName);
			if (methods.Count > 0) {
				return Create(methods);
			}
			return null;
		}