diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/resources/ResourceType.java b/src/main/java/the/bytecode/club/bytecodeviewer/resources/ResourceType.java index 700f2e05..89918667 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/resources/ResourceType.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/resources/ResourceType.java @@ -33,7 +33,18 @@ public enum ResourceType // TODO add the files icons for the missing files from the.bytecode.club.bytecodeviewer.util.SyntaxLanguage // or from org.fife.ui.rsyntaxtextarea.FileTypeUtil or from org.fife.ui.rsyntaxtextarea.SyntaxConstants - CLASS_FILE(IconResources.classIcon, "class"), JAVA_ARCHIVE(IconResources.jarIcon, "jar", "war", "ear"), ZIP_ARCHIVE(IconResources.zipIcon, "zip"), ANDROID_ARCHIVE(IconResources.androidIcon, "apk", "wapk", "dex", "xapk"), IMAGE_FILE(IconResources.imageIcon, "png", "jpg", "jpeg", "bmp", "wbmp", "gif", "tif", "webp"), CONFIG_TEXT_FILE(IconResources.configIcon, "properties", "xml", "jsp", "mf", "config", "csv", "yml", "yaml", "ini", "json", "sql", "gradle", "dockerfile", "htaccess", "plugin", "attachprovider", "transportservice", "connector"), JAVA_FILE(IconResources.javaIcon, "java"), TEXT_FILE(IconResources.textIcon, "txt", "md", "log", "html", "css"), CPP_FILE(IconResources.cplusplusIcon, "c", "cpp", "h"), CSHARP_FILE(IconResources.csharpIcon, "cs"), BAT_FILE(IconResources.batIcon, "bat", "batch"), SH_FILE(IconResources.shIcon, "sh", "bash"), + CLASS_FILE(IconResources.classIcon, "class"), + JAVA_ARCHIVE(IconResources.jarIcon, "jar", "war", "ear"), + ZIP_ARCHIVE(IconResources.zipIcon, "zip"), + ANDROID_ARCHIVE(IconResources.androidIcon, "apk", "wapk", "dex", "xapk"), + IMAGE_FILE(IconResources.imageIcon, "png", "jpg", "jpeg", "bmp", "wbmp", "gif", "tif", "webp"), + CONFIG_TEXT_FILE(IconResources.configIcon, "properties", "xml", "jsp", "mf", "config", "csv", "yml", "yaml", "ini", "json", "sql", "gradle", "dockerfile", "htaccess", "plugin", "attachprovider", "transportservice", "connector"), + JAVA_FILE(IconResources.javaIcon, "java"), + TEXT_FILE(IconResources.textIcon, "txt", "md", "log", "html", "css"), + CPP_FILE(IconResources.cplusplusIcon, "c", "cpp", "h"), + CSHARP_FILE(IconResources.csharpIcon, "cs"), + BAT_FILE(IconResources.batIcon, "bat", "batch"), + SH_FILE(IconResources.shIcon, "sh", "bash"), ; public static final Map extensionMap = new HashMap<>();