Commit Graph

65 Commits

Author SHA1 Message Date
Andrei Iurko
fa910aa4a3 [qodana] QD-9891 Add reviewed inspections categories and fix json schema validation
GitOrigin-RevId: c997f3886f587f5bbc864341691a90c9f55c6199
2024-10-30 14:47:21 +00:00
Andrei Iurko
4111cfc875 [qodana] QD-9891 Add aspects with the highest certainty for inspections
GitOrigin-RevId: 8fad66714287192bd5cbc8396a3d30f1ba139302
2024-10-11 14:49:57 +00:00
Evgenii Im
d8fde48aa6 [qodana] QD-7190 Update info, only Java | Security/Serialization issues/Probable bugs, Spring | Security
GitOrigin-RevId: 1cabd2e606bef39c2d628c28ad2f8b89a8d3adf1
2023-11-15 19:34:56 +00:00
Evgenii Im
c0cf5b8817 [qodana] QD-7190 Add metaInformation with CWE ids for inspections in qodana recommended for jvm
GitOrigin-RevId: e396b50fd419043446474fe0bccb39c501636730
2023-11-15 19:34:53 +00:00
Louis Vignier
c38cdeb515 [codeInspection.ui] Register InspectionProfileActionProvider#getAddActions in the inspection profile panel
IJ-CR-117041

GitOrigin-RevId: 7075cd66dd8019673dff9542b7c717a5b2b1a4a5
2023-10-28 14:49:30 +00:00
Bas Leijdekkers
68f89d5af4 RegExp: fix inspection dialog replacement label
GitOrigin-RevId: 5e558875ba39e9baf56e99ae6964dbc3dc93d53c
2023-10-27 19:31:29 +00:00
Louis Vignier
3ce785825d [regexp] Add RegExpAdvertiser
GitOrigin-RevId: b5e2f23b08579044dfc4e79526a5da89340a83ae
2023-10-26 16:47:12 +00:00
Louis Vignier
14259dc0e0 [codeInspection.ui] Decouple custom inspection logic from SSR plugin
#IDEA-335948 Fixed

GitOrigin-RevId: dff86a1b7edb287851590ea5d573362629dd8931
2023-10-26 16:47:09 +00:00
Yuriy Artamonov
c53774e2fc [inspections] IDEA-321711 Use optimized PsiElementVisitor implementations
GitOrigin-RevId: 18ebc32aec877f71cd185ee7072dd139c076e9a3
2023-09-16 15:18:22 +00:00
Bas Leijdekkers
90833452bc Move InspectionMetaDataDialog to reusable location
GitOrigin-RevId: bc72757ec4a2763e252cb87862d3d11e5b69551a
2023-04-18 17:58:34 +00:00
Bas Leijdekkers
02b517002d Make custom RegExp inspection meta data dialog more generic to make it reusable
GitOrigin-RevId: 174520233d03405c5693ba3e1017e027cffa3cbe
2023-04-18 17:58:31 +00:00
Bas Leijdekkers
6eb6d14019 RegExp: do not allow adding inspection with an existing name
GitOrigin-RevId: 63bf6ccc189cac5bd81c7b4f9eb7876f932b37de
2023-01-23 19:28:16 +00:00
Louis Vignier
7fc8884fd4 [regexp] Delete 'Open RegExp Dialog' action
GitOrigin-RevId: fb4b1b88a2087cb175b2b50677d6bcc9206b5251
2022-11-30 01:53:24 +00:00
Louis Vignier
839640ae3c [regexp] Custom RegExp inspections
Co-authored-by: Louis Vignier <louis.vignier@jetbrains.com>
Co-authored-by: Bas Leijdekkers <bas@jetbrains.com>

GitOrigin-RevId: 025ad2acefe111b0e8d2111446a8190d6d28b965
2022-11-24 14:42:03 +00:00
Filippova Maria
2d28eed303 WI-60779 highlight as error if DEFINE subpattern contains more than two branches
GitOrigin-RevId: 8af565f6438654c11285be1a24a709e40869fb40
2022-08-12 16:05:23 +00:00
Filippova Maria
2a0ffa17ff WI-60369 Support an ability to call a PCRE numbered group
GitOrigin-RevId: b58439eda68ea2df047c54330a0c6fe3bbc7946b
2022-08-12 16:05:19 +00:00
Bas Leijdekkers
be71678b09 RegExp: don't suggests simplifying replacements that are not equivalent in Unicode mode (IDEA-290490)
GitOrigin-RevId: cb85ddaee91cb6ff13596603e10fce7a55eac07c
2022-05-29 13:35:38 +00:00
Filippova Maria
677bd7e889 IDEA-292945 New Inspection: \d is redundant with \w in the same class (\D with \W)
GitOrigin-RevId: 7c2e57a4e3bf8a61e08bf326460576766f851a98
2022-05-17 22:24:30 +00:00
Aleksandra Zolushkina
afd1eb158f RegExp: fix redundant escape sequences in regex inspection description
GitOrigin-RevId: 4e77f547ed1b66a18f467939bde95fbb02553673
2022-04-07 06:04:26 +00:00
azhebel
e5628b9860 IJPF-CR-4193 Proofread Simplifiable expression inspection
GitOrigin-RevId: 0c44cb0eb0e732f1642e84871117f0c6ebb9e6b4
2022-01-27 09:09:29 +00:00
azhebel
b284808a02 IJPF-CR-3976 Proofread Redundant escape sequences in regex inspection
GitOrigin-RevId: aa2ba61338b6488bf8d3cdde82294d7d00867a43
2022-01-25 23:56:24 +00:00
Bas Leijdekkers
ce078dac32 RegExp: new "Regular expression can be simplified" inspection (IDEA-286122)
Supersedes the "Asterisk closure can be collapsed to plus closure" inspection which was only available in PhpStorm

GitOrigin-RevId: a63c6fce88b3700cc521e8b113069a4b2b50a3e4
2022-01-13 20:26:25 +00:00
Bas Leijdekkers
6fecec667a RegExp: more clear error message
GitOrigin-RevId: aa6b5d2de81037f7291867c314dbdc1b5cd9549e
2021-12-20 10:55:11 +00:00
Bas Leijdekkers
ccc210eeb2 RegExp: don't report \{ as redundant escape and add option to not report \} and \] (IDEA-243874, WEB-54046, PY-47380)
GitOrigin-RevId: 1ce7073269aaa2a1cd843765f97820bca8155747
2021-12-20 10:55:08 +00:00
Bas Leijdekkers
4a7760e002 RegExp: new "Suspicious back reference" inspection (IDEA-265242)
GitOrigin-RevId: 45e50a07ed61263c502a7e4fedcc15376b49095f
2021-12-07 12:07:26 +00:00
Alexey Kudravtsev
1d865159eb make RegExpRedundantEscape inspection name consistent with its class name because in tests it's sometimes instantiated via constructor, in which case its getShortName() calculates differently
GitOrigin-RevId: ec201fd12bc52c61b515deb1e0fec42e2a24b3c9
2021-11-02 11:46:51 +00:00
Bas Leijdekkers
00c70b7eee RegExp: fix inspection description editing mistake
GitOrigin-RevId: edf1377175a7958ad353533db6e732b6a097060e
2021-08-12 14:32:25 +00:00
Bas Leijdekkers
c50a102e50 update RegExp inspection descriptions with examples
GitOrigin-RevId: 1daa0f68ede1036d134127cdacd0b61e5d438ca8
2021-06-06 13:43:39 +00:00
Aleksandra Zolushkina
c259131c03 Proofread RegExp intention action description
GitOrigin-RevId: c7ba1c0c5dbb9b9662c68bf3416fde863b039b43
2021-05-05 11:19:49 +00:00
Alexey Kudravtsev
ecad62483f provide readable file type name (instead of e.g. PLAINTXT), unify property names for file type description, add test for having getDisplayName() in a FileType
GitOrigin-RevId: eb857f57def6d82a2051fc2610a24de266ee8386
2021-03-09 12:18:29 +00:00
Bas Leijdekkers
eccf815b89 RegExp: conditionals support for Ruby and improved conditionals support for PHP (RUBY-27316, WI-51955)
GitOrigin-RevId: 4790db7eeaf658d724ba7c70ed138c9472bf8f2c
2020-11-06 13:44:04 +00:00
Bas Leijdekkers
044afc1613 RegExp: simplify parse error message
GitOrigin-RevId: d9a3763a488de4912c850693ea23bf4b714988e4
2020-10-30 16:54:17 +00:00
Bas Leijdekkers
143337cad9 RegExp: new "Unnecessary non-capturing group" inspection (IDEA-228664)
GitOrigin-RevId: d6288b1241bf4253030c6f91ecb73f17a6ea4710
2020-10-27 20:06:33 +00:00
Bas Leijdekkers
75339de4c1 RegExp/Stylus: fix misplaced property
GitOrigin-RevId: 571015232fe5e0ec4f705a5c09654145803c06f3
2020-10-27 20:06:32 +00:00
Bas Leijdekkers
11d20b495b RegExp/JavaEE: fix misplaced property
GitOrigin-RevId: 0c9c4a19ef2e7bd5a71e7c63613a20e5dfc59a51
2020-10-27 20:06:31 +00:00
Bas Leijdekkers
4d715d6e5e RegExp: remove <resource-bundle> mistake
GitOrigin-RevId: 60535212128a400d194d189ec22ecd41a3bccdbc
2020-09-08 14:22:27 +00:00
Bas Leijdekkers
e68c7b5841 RegExp: group name i18n
GitOrigin-RevId: 2eef5efea7cab1991d532c9d1e991efcefd2f6fd
2020-09-08 10:40:08 +00:00
Bas Leijdekkers
0e236d37a1 regexp fix capitalization
GitOrigin-RevId: 3524764849b96b54b1b28d7f55719d75722efb49
2020-08-27 08:46:44 +00:00
sergey.vasiliev
20619a464b javaee platform: i18n
GitOrigin-RevId: 8251168faa83eb917db90116c7c9f827e64ee5c1
2020-08-22 14:56:23 +00:00
Alexander Doroshko
3227639d0f WEB-47047 Stylus internationalization
GitOrigin-RevId: 75e39069c6cd64ee0f84e83a954d81915f362e78
2020-08-21 19:20:01 +00:00
Bas Leijdekkers
e700183f6f regexp: internationalize regexp checker default sample text
GitOrigin-RevId: a8b76b48c442b66626e4e1f347846112ed10076f
2020-08-03 15:34:29 +00:00
Bas Leijdekkers
77fd895afb RegExp: l10n
GitOrigin-RevId: c28b3cc5bd49bf95ec1ed3103f5464846ab743ee
2020-08-03 15:34:26 +00:00
Bas Leijdekkers
8f330f9e49 RegExp: fall back to "find" in RegExp Checker when "match" doesn't match the complete text (IDEA-198226, IDEA-220373)
GitOrigin-RevId: 1fc955064548995660915bdfe82589be0e813706
2020-06-15 10:33:43 +03:00
Bas Leijdekkers
8409c605ff regex: new Check Regexp UI phase 1 (IDEA-242695)
GitOrigin-RevId: f3b8200dfb921f267199f25da284c3e3715a6b45
2020-06-08 17:25:52 +03:00
Bas Leijdekkers
d5f1358d26 regex: new "Redundant nested character class" inspection (IDEA-236620)
GitOrigin-RevId: 49924c8b4fd920da3dc357d1d1655a9783d1a139
2020-04-03 18:44:34 +00:00
Bas Leijdekkers
cbd19c935f regex: fix false positive in case of nested classes
GitOrigin-RevId: c73091ff46baa78354ff8cea8455b5bb874ea57f
2020-04-03 18:44:34 +00:00
Bas Leijdekkers
f3706eec90 regex: convert 'Duplicate character inside character class' warning into inspection and add quick fix (IDEA-215101)
GitOrigin-RevId: ba4bc0ae1d737649c548301ee056f78e7adf0d96
2020-04-01 13:31:02 +00:00
Bas Leijdekkers
9787e7e20f regex: i18n of inspection names
GitOrigin-RevId: 4541ba320267948d0c6eba3b1bfd878a4f9ce108
2020-04-01 13:31:02 +00:00
Bas Leijdekkers
36da7fef2d regex: rename
GitOrigin-RevId: 27aece4136c868fb4e8fe29402c9b824a8a50132
2020-03-30 18:46:03 +00:00
Bas Leijdekkers
0be2e4d1e3 regex: fix calculating alternatives lengths (PY-37085)
GitOrigin-RevId: 0fa48d78f8fd0f99df19dd0608bd214c52cd58a7
2020-03-17 20:53:55 +00:00