From 52717444294560b25ec1565983bf4606e4206782 Mon Sep 17 00:00:00 2001 From: Alexandr Evstigneev Date: Sun, 20 Oct 2024 18:00:26 +0400 Subject: [PATCH 1/3] [Qodana] exclude gen directory from all inspections --- qodana.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qodana.yaml b/qodana.yaml index 12b59c456a..cdd19b0db6 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -2,3 +2,7 @@ version: "1.0" linter: jetbrains/qodana-jvm profile: path: .idea/inspectionProfiles/Project_Quality.xml +exclude: + - name: All + patterns: + - "**/gen/**" \ No newline at end of file From 45a22f37a9469a6d49e38950c339d6a6a3028a36 Mon Sep 17 00:00:00 2001 From: Alexandr Evstigneev Date: Sun, 20 Oct 2024 18:00:46 +0400 Subject: [PATCH 2/3] [Qodana] Unused values and visibility --- .../java/com/perl5/lang/perl/parser/PerlParserProxy.java | 1 + .../main/java/com/perl5/lang/perl/parser/PerlParserUtil.java | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugin/core/src/main/java/com/perl5/lang/perl/parser/PerlParserProxy.java b/plugin/core/src/main/java/com/perl5/lang/perl/parser/PerlParserProxy.java index f11e07247e..0725bb8b85 100644 --- a/plugin/core/src/main/java/com/perl5/lang/perl/parser/PerlParserProxy.java +++ b/plugin/core/src/main/java/com/perl5/lang/perl/parser/PerlParserProxy.java @@ -30,6 +30,7 @@ public static boolean file_item(PsiBuilder b, int l) { return PerlParserGenerated.file_item(b, l); } + @SuppressWarnings("UnusedReturnValue") public static boolean block_content(PsiBuilder b, int l) { return PerlParserGenerated.block_content(b, l); } diff --git a/plugin/core/src/main/java/com/perl5/lang/perl/parser/PerlParserUtil.java b/plugin/core/src/main/java/com/perl5/lang/perl/parser/PerlParserUtil.java index 7502efb420..035491e0f3 100644 --- a/plugin/core/src/main/java/com/perl5/lang/perl/parser/PerlParserUtil.java +++ b/plugin/core/src/main/java/com/perl5/lang/perl/parser/PerlParserUtil.java @@ -121,7 +121,7 @@ public static boolean statementSemi(PsiBuilder b, int l) { } - protected static boolean isOperatorToken(PsiBuilder b, @SuppressWarnings("unused") int l) { + static boolean isOperatorToken(PsiBuilder b, @SuppressWarnings("unused") int l) { return PerlTokenSets.OPERATORS_TOKENSET.contains(b.getTokenType()); } @@ -367,6 +367,7 @@ public static boolean parseUseParameters(@NotNull PsiBuilder b, int l, @NotNull /** * Helper method to pass package [version] in use statement */ + @SuppressWarnings("UnusedReturnValue") public static boolean passPackageAndVersion(@NotNull PerlBuilder b, int l) { assert GeneratedParserUtilBase.consumeTokenFast(b, PACKAGE); PerlParserGenerated.perl_version(b, l); @@ -399,7 +400,7 @@ public static boolean parseNo(@NotNull PsiBuilder b, int l) { return false; } - public static boolean parseBareString(@NotNull PsiBuilder b, int l) { + public static boolean parseBareString(@NotNull PsiBuilder b, int ignored) { IElementType type = b.getTokenType(); if (type != STRING_CONTENT && type != STRING_SPECIAL_ESCAPE_CHAR) { return false; From ea461c38e4e69cdb8fa69db48a54a03569c0d1a3 Mon Sep 17 00:00:00 2001 From: Alexandr Evstigneev Date: Sun, 20 Oct 2024 18:01:58 +0400 Subject: [PATCH 3/3] Release 2024.2.3 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index be61671067..a6b1a7fe41 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,7 +22,7 @@ platformBranch=.2 platformBuild= pluginVersion= pluginBranch= -pluginBuild=.2 +pluginBuild=.3 useInstaller=false pycharmVersion=192.4787.5-EAP-SNAPSHOT clionVersion=192.4787.12-EAP-SNAPSHOT