src/eric7/Project/Project.py

branch
eric7
changeset 9603
4c17d54de9a3
parent 9576
be9f8e7e42e0
child 9604
12c879b251d6
equal deleted inserted replaced
9602:28e7f6cdf385 9603:4c17d54de9a3
1 # -*- coding: utf-8 -*- 1 ""# -*- coding: utf-8 -*-
2 2
3 # Copyright (c) 2002 - 2022 Detlev Offenbach <detlev@die-offenbachs.de> 3 # Copyright (c) 2002 - 2022 Detlev Offenbach <detlev@die-offenbachs.de>
4 # 4 #
5 5
6 """ 6 """
790 else: 790 else:
791 return self.__fileCategoriesRepository[category].fileCategoryExtensions[:] 791 return self.__fileCategoriesRepository[category].fileCategoryExtensions[:]
792 792
793 def initFileTypes(self): 793 def initFileTypes(self):
794 """ 794 """
795 Public method to initialize the filetype associations with default 795 Public method to initialize the file type associations with default
796 values. 796 values.
797 """ 797 """
798 self.__pdata["FILETYPES"] = { 798 self.__pdata["FILETYPES"] = {
799 "*.txt": "OTHERS", 799 "*.txt": "OTHERS",
800 "*.md": "OTHERS", 800 "*.md": "OTHERS",
804 "*.e4p": "OTHERS", 804 "*.e4p": "OTHERS",
805 "*.epj": "OTHERS", 805 "*.epj": "OTHERS",
806 "GNUmakefile": "OTHERS", 806 "GNUmakefile": "OTHERS",
807 "makefile": "OTHERS", 807 "makefile": "OTHERS",
808 "Makefile": "OTHERS", 808 "Makefile": "OTHERS",
809 "*.ini": "OTHERS",
810 "*.cfg": "OTHERS",
811 "*.toml": "OTHERS",
812 "*.json": "OTHERS",
809 } 813 }
810 814
811 # Sources 815 # Sources
812 sourceKey = ( 816 sourceKey = (
813 "Mixed" if self.__pdata["MIXEDLANGUAGE"] else self.__pdata["PROGLANGUAGE"] 817 "Mixed" if self.__pdata["MIXEDLANGUAGE"] else self.__pdata["PROGLANGUAGE"]

eric ide

mercurial