def generate_auto_complete(self, base, iterable_var):
        sugg = []
        for entry in iterable_var:
            compare_entry = entry
            compare_base = base
            if self.settings.get(IGNORE_CASE_SETTING):
                compare_entry = compare_entry.lower()
                compare_base = compare_base.lower()

            if self.compare_entries(compare_entry, compare_base):
                if entry not in sugg:
                    sugg.append(entry)
        return sugg
dataset/ETHPy150Open skuroda/Sublime-AdvancedNewFile/advanced_new_file/completions/completion_base.py/GenerateCompletionListBase.generate_auto_complete/original