Code Style Cleanup
This commit is contained in:
parent
0a74b31bf3
commit
ddd31b58d7
|
@ -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<String, ResourceType> extensionMap = new HashMap<>();
|
||||
|
|
Loading…
Reference in New Issue
Block a user