mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-131456 //noinspection InspectionName(s) should fully support comments
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// "Suppress for class" "false"
|
||||
public class Test {
|
||||
|
||||
{
|
||||
int i = 0;
|
||||
//noinspection SillyAssignment my very long comment
|
||||
i = i;
|
||||
}
|
||||
}
|
||||
@@ -52,7 +52,7 @@ public class SuppressionUtil extends SuppressionUtilCore {
|
||||
"(\\s*,\\s*" + LocalInspectionTool.VALID_ID_PATTERN + ")*)\\s*\\w*";
|
||||
|
||||
@NonNls
|
||||
public static final Pattern SUPPRESS_IN_LINE_COMMENT_PATTERN = Pattern.compile("//" + COMMON_SUPPRESS_REGEXP); // for Java, C, JS line comments
|
||||
public static final Pattern SUPPRESS_IN_LINE_COMMENT_PATTERN = Pattern.compile("//" + COMMON_SUPPRESS_REGEXP + ".*"); // for Java, C, JS line comments
|
||||
|
||||
@NonNls
|
||||
public static final String ALL = "ALL";
|
||||
|
||||
Reference in New Issue
Block a user