Commit Graph

1171 Commits

Author SHA1 Message Date
Vladimir Krivosheev
398ebce1d5 split content report
GitOrigin-RevId: ef449bdf4c5480a6ee3ce43b4af118c2c6e31219
2024-07-25 19:20:06 +00:00
Yuriy Artamonov
77eab13d1c [i18n] IJPL-158521 Apply ellipsis fix in platform messages
GitOrigin-RevId: c101f1ad0c1ec7e6b21f98f980557257901ab3d0
2024-07-19 18:47:16 +00:00
Yann Cébron
0531bbf42f [intelliLang] specify "language" attribute in registrations
GitOrigin-RevId: 1e84f4f75e4f12da3928fb2026340deb7422ae0a
2024-07-02 15:51:15 +00:00
Gregory.Shrago
92047f763d migrate getData to uiDataSnapshot: java
GitOrigin-RevId: 6917901f5fe425ee883779c2fc1775960c2af540
2024-07-01 17:55:51 +00:00
Tagir Valeev
440654c48f Pattern variable can be used fixes; other warning fixes
GitOrigin-RevId: 49f37e7f5d748be50ee66fdf66a5c9b98b1b7432
2024-06-18 19:55:23 +00:00
Daniil Ovchinnikov
6226776bd0 IJPL-148997 exclude non-abstract toString() from the API dump
GitOrigin-RevId: 6352bbb374532bca296d08131ae50083f69e46c0
2024-05-29 00:05:31 +00:00
Nikolay Chashnikov
148d10e520 [language injection] API cleanup: remove unused deprecated API (IJPL-503)
GitOrigin-RevId: 2b81982e08e3ce6c4b71fab1faf81e87a8e13bae
2024-05-16 18:02:11 +00:00
Vladimir Krivosheev
0da3439bd8 move to resource dir
GitOrigin-RevId: 3f5de4b0aa35effecd5befe47471b102888ef019
2024-05-06 16:55:12 +00:00
Daniil Ovchinnikov
b03b92e140 IJPL-148490 clean up empty file-classes from existing dumps
GitOrigin-RevId: ca701387e601a76ae25a3a31ca0a02432126e0fb
2024-04-30 20:39:42 +00:00
Mikhail Pyltsin
582c1c03e9 Pattern variable can be used mass cleanup
GitOrigin-RevId: 2cf24395e268af841e621531336548a865f5b339
2024-04-18 14:03:54 +00:00
Daniil Ovchinnikov
4369d7df5f IJPL-797 API dump: generate api-dump-unreviewed.txt and exposed API lists [4/4]
GitOrigin-RevId: c48b0b9a6e9596e841dc7928020418b9cd303bcd
2024-04-09 02:21:37 +00:00
Evgenii Ilichev
6ad18e270a [localization] move IntelliLangBundle.properties to the resources root
GitOrigin-RevId: d32ef8575d789b86f35808af273df18c939f1ad8
2024-03-12 00:18:39 +00:00
Tagir Valeev
c5ee011572 [java] PsiUtilEx.isInjectionTargetType: support string template inheritors
IDEA-346863 Ability to annotate methods returning inheritors of template processors with injection annotation

GitOrigin-RevId: a2953696a13825fc508a8dc27f8a2f0a21b0bc95
2024-02-21 11:47:14 +00:00
Tagir Valeev
f478a13fce [java-inspections] LanguageMismatchTest: test for method
GitOrigin-RevId: e529e5448f982c571f95e488c7a4a5750d6acdb9
2024-02-21 11:47:10 +00:00
Tagir Valeev
6e80ef3cc7 [java] Use Java 5 features
GitOrigin-RevId: 7db6edf696525b8d22dadf66fe12bd867068a6eb
2024-02-15 17:28:22 +00:00
Tagir Valeev
b145cd2784 [java-injection] Allow reassigning STR to language-specific constant (IDEA-333006)
GitOrigin-RevId: 29656ea1e3c85f350fe969c1b7025c1d18f0a2b9
2024-01-26 14:58:00 +00:00
Tagir Valeev
89181f4bcc [java-injection] Suggest to add annotation for string template; fix uninject for string template (IDEA-333006)
GitOrigin-RevId: fa5d23ab7e989ff79ba8d677ee8af16efa20c226
2024-01-26 14:57:54 +00:00
Tagir Valeev
88e3378be3 [java-injection] Basic support of trailing slash in text blocks and templates (IDEA-333006)
GitOrigin-RevId: dec53c61beb3c6fcaf2e8fca41a6f48e50e3ce13
2024-01-26 14:57:47 +00:00
Tagir Valeev
ac4072eda4 [java-injection] Support annotations on methods returning template processor (IDEA-333006)
GitOrigin-RevId: e08169d48cbd23db8cfaf2ee4466037bb70a2219
2024-01-26 14:57:40 +00:00
Tagir Valeev
bee9170893 [java-injection] Fix handling of empty lines in text blocks
GitOrigin-RevId: e3887bb5c7504d925dab62be8b7182a654b2cc0c
2024-01-26 10:22:51 +00:00
Tagir Valeev
108f842a27 [java] Minimal support for injections in string templates
IDEA-333006 Language injection in String templates

GitOrigin-RevId: 6ea1bd6460658db2cb767819710c3595f4cdaffb
2024-01-25 19:15:27 +00:00
Andrey Cherkasov
1a62d88764 Cleanup: use light services
^IDEA-254577

GitOrigin-RevId: 01afb3f2166f8713cd4599f37d43ecf7f4d2944c
2024-01-23 06:03:51 +00:00
Gregory.Shrago
b3371fce4b drop obsolete DumbAwareEDTUActionButton
Also, fix some more yellow code.

GitOrigin-RevId: c58d970724bb01f5ed6936f1fd84187520608628
2024-01-09 00:29:25 +00:00
Nikolay Chashnikov
82d7fcff34 [jps] cleanup: remove implementations of deprecated JpsElement.BulkModificationSupport.applyChanges
The method isn't used anymore.

GitOrigin-RevId: 1783d1d74ecc1f3c46d738c14ce89bdbaaa0cc43
2023-12-27 19:30:16 +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
Vladimir Krivosheev
69fc441f6e IJPL-310 mark extensions as obsolete (part 11)
GitOrigin-RevId: ef915fa2bf11f9fbcdf9ebbf80bc553129314335
2023-10-29 20:09:28 +00:00
Vladimir Krivosheev
93cf03becc IJPL-310 convert to modern language (part 4)
GitOrigin-RevId: 1865aac0d791d53332d5eb229e276f628233270e
2023-10-29 20:08:05 +00:00
Tagir Valeev
51854f80b3 "Method can be static" fix massive application
GitOrigin-RevId: ed296b85922a6814d5c6057b5cbc720f0c546e41
2023-10-20 19:12:56 +00:00
Georgii Ustinov
96356837d3 [java] Fix language injection for java records
IDEA-321083 review refactor. Avoid class casts

GitOrigin-RevId: 00018c6f9eb076bf11ad4112cedd9452f595f737
2023-10-19 14:19:51 +00:00
Georgii Ustinov
a1c958acb5 [java] Fix language injection for java records
IDEA-321083 review refactor

GitOrigin-RevId: 086ff09f23a8156f45113204676eaff7788fa177
2023-10-17 19:05:43 +00:00
Georgii Ustinov
5a00cc1b8c [java] Fix language injection for java records
#IDEA-321083 fixed

GitOrigin-RevId: 6370f1cdbf9f21490f5ec82e8e44fe1b2d995bee
2023-10-17 13:32:52 +00:00
Andrey Cherkasov
46e2dfa159 The "Mismatch between light service level and its constructor" inspection: cleanup
GitOrigin-RevId: 2a6e7bcc32cb11f9fcdfa77c717aac6183182fb5
2023-10-12 03:02:23 +00:00
Tagir Valeev
aa6829d7c1 [java-tests] IDEA-333831 Separate mock JDK and JetBrains annotations for testing
Also: avoid manual mocking of Java 10 classes in StreamCollector10Inlining test, use mockJDK11 instead
Also: rewrite SliceTestCase and its inheritors to LightJavaCodeInsightFixtureTestCase, as annotations.jar is not included into project created by DaemonAnalyzerTestCase
Also: 'mutates' attribute of @Contract annotation is resolvable now, as we can use newer jetbrains-annotations library.
Also: documentation tests now don't generate links to JetBrains annotations, which corresponds to the actual behavior in production

GitOrigin-RevId: e460826893c1277cb2b78b18aae9d5aca97d8333
2023-10-05 11:24:29 +00:00
Daniil Ovchinnikov
27e155fc21 IJPL-167 bump language and API version 1.8 -> 1.9
GitOrigin-RevId: 5204df1784bbbba550476415e4ceff7368ab5fd4
2023-09-19 19:52:47 +00:00
Yuriy Artamonov
5987706537 [inspections] IDEA-321711 NotNull result for HintedPsiElementVisitor.getHintPsiElements
GitOrigin-RevId: 3d3c1a35efe5ba6f6ea7266c48760f658f689631
2023-09-16 15:45:41 +00:00
Yuriy Artamonov
c53774e2fc [inspections] IDEA-321711 Use optimized PsiElementVisitor implementations
GitOrigin-RevId: 18ebc32aec877f71cd185ee7072dd139c076e9a3
2023-09-16 15:18:22 +00:00
Yuriy Artamonov
10167ae72d [performance] IDEA-326893 Do not trigger parsing of injected fragments from InjectedReferencesContributor
GitOrigin-RevId: 71dab268fabd42786d1330898c23fd9fe06e70ea
2023-08-16 20:54:52 +00:00
Piotr Tomiak
a0474b3513 WEB-60697 Language Injection Settings Only Allow JS in WebStorm - revert part of changes from commit 8757506bcf0ff8d4def215b60e2178f2547da000
GitOrigin-RevId: abe6464935c5e34a871787f708239e6708c8e88d
2023-07-28 10:40:50 +00:00
Tagir Valeev
eceaae8757 Enhanced switch used; other minor warnings fixed
GitOrigin-RevId: 36dd4522e953681b2fc3463968d172d2bf6453bf
2023-06-13 13:42:37 +00:00
Nicolay Mitropolsky
ed474ede1c [intelli-lang] don't use and deprecate InjectedLanguage.getAvailableLanguageIDs() (IDEA-321015)
GitOrigin-RevId: aeab76633461f3fd8e08eba55dc346f39db6ccc2
2023-05-30 19:06:11 +00:00
Tagir Valeev
427bdb73f2 [java-injection] Fix handling last line of text block injection
GitOrigin-RevId: b5326b848172f1b39430ae7aee6ba43bc1eda7e1
2023-05-10 18:16:47 +00:00
Vladimir Krivosheev
227d75a1fc don't extend DynamicBundle
GitOrigin-RevId: 49cbebd629a92877dbeeffba8d97b0631fb9407e
2023-05-05 09:46:42 +00:00
Louis Vignier
1a47dfe94d [codeInspection] Fix platform inspection descriptions
GitOrigin-RevId: e7aa72a7617ed91803722dacf8b53cb21b7ff760
2023-04-28 13:13:17 +00:00
Nicolay Mitropolsky
91e77f7c18 [intelli-lang] keeping spaces in prefix, suffix and patterns (IDEA-241012, IDEA-50150)
GitOrigin-RevId: 5983902791c308673bf94ac08473059f1fd4cc85
2023-04-20 19:28:24 +00:00
Nicolay Mitropolsky
cefcfeec15 [intelli-lang] IDEA-317190: restoring old behavior to InjInfo
otherwise `ListTableModel.setItems` doesn't update records in table, which leads to losing connectivity between table items and config state

GitOrigin-RevId: ba9fcea245533a7d0a07dc63c75ef636611252d6
2023-04-19 20:59:46 +00:00
Alexey Kudravtsev
0e7e076bca make testHugeAppendChainDoesNotCauseSOE not fail with SOE
GitOrigin-RevId: 491b7297b1e8a5dbdf61e789003afdd2e520ca5f
2023-04-13 13:29:41 +00:00
Tagir Valeev
af0ab28793 Remove warnings (mostly redundant casts after UIUtil.invokeAndWaitIfNeeded overload removal)
GitOrigin-RevId: bbfe7db3e48548bf60dcd625cb83170030aedd7b
2023-03-23 15:30:27 +00:00
Alexander Zolotov
900c0ca178 [textmate] distinguish extension and filename matchers while detecting a file type
while detecting file type in injection try to use languageId as both matchers: as file name and as file extension

GitOrigin-RevId: 2ac6fbc6dd8f1bbde84858aa28737a7317ac6ebc
2023-03-20 20:19:51 +00:00
Vladimir Krivosheev
9918211807 optimize images for tips and tricks
GitOrigin-RevId: 6c3bce62e20f201448bb7cbac951d31be4b499d5
2023-03-14 16:44:07 +00:00