diff --git a/build.gradle.kts b/build.gradle.kts index 24f5d9e..4d7eb3d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } group = "com.jmpeax" -version = "0.1.2-alpha" +version = "0.1.3" repositories { mavenCentral() diff --git a/src/main/java/com/jmpeax/ssltoolbox/pem/PEMFileEditorProvider.java b/src/main/java/com/jmpeax/ssltoolbox/pem/PEMFileEditorProvider.java index dc923ec..d4f407f 100644 --- a/src/main/java/com/jmpeax/ssltoolbox/pem/PEMFileEditorProvider.java +++ b/src/main/java/com/jmpeax/ssltoolbox/pem/PEMFileEditorProvider.java @@ -14,18 +14,10 @@ public class PEMFileEditorProvider implements FileEditorProvider { @Override public boolean accept(@NotNull Project project, @NotNull VirtualFile file) { - switch (Objects.requireNonNull(file.getExtension()).toLowerCase()) { - case "pem": - case "cer": - case "der": - case "crt": - case "ca-bundle": - case "p7b": - case "p7c": - return true; - default: - return false; - } + return switch (Objects.requireNonNull(file.getExtension()).toLowerCase()) { + case "pem", "cer", "der", "crt", "ca-bundle", "p7b", "p7c", "cert" -> true; + default -> false; + }; } @Override diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index b21fe59..28de926 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -21,8 +21,8 @@ directly within the IntelliJ IDEA environment.
]]>Release Date: September 10, 2024
+Release Date: September 13, 2024
Added support for Java Keystore (JKS) files,This allows users to manage JKS files directly from the plugin.
Added support for viewing certificate files directly from the plugin. Including the Certificate chain