Commit Graph

1158 Commits

Author SHA1 Message Date
Yuriy Artamonov
f8c571105d [java] Skip Maven/Gradle libraries in JavaLibraryUtil while collecting files from JPS libraries
GitOrigin-RevId: 6238675fd89998a8bec910bed830a648058b5e56
2023-07-05 16:00:27 +00:00
Yuriy Artamonov
4a706bc038 [java] Skip Maven/Gradle libraries in JavaLibraryUtil while collecting files from JPS libraries
GitOrigin-RevId: 5b184601ee71948ce85a843be9acaaf3028bceee
2023-07-04 18:20:09 +00:00
Tagir Valeev
28a10fafe3 [java-inspections] AddMethodBodyFix, MakeMethodDefaultIntention: mod-command
GitOrigin-RevId: 3dca91388608db3252852bb82aea45388e684491
2023-06-27 11:08:38 +00:00
Pavel Porvatov
553fbd8b81 [Kotlin UI DSL] Port JavaCoverageOptions to Kotlin UI DSL
GitOrigin-RevId: 5af06b935563502b783c16bb2feaeb3d91a2b6f2
2023-06-18 20:09:41 +00:00
Yuriy Artamonov
9c6efec962 [spring] Do not rerun meta annotations searches on typing
GitOrigin-RevId: 8fc260c5b427453841c903862e0b18940469c474
2023-06-06 09:25:24 +00:00
Yuriy Artamonov
7383479383 [qute] Simplify code of QuteFileTypeUtils with JavaLibraryUtil
GitOrigin-RevId: 342fc800e726853790ca67f22ab2c9d58beb98ab
2023-05-08 22:07:07 +00:00
Tagir Valeev
8e08ed7169 [inspection-options] Pass project to customized options pane
Fixes IDEA-318984 Choose NotNull Annotation hangs with infinite "Searching..." indicator

GitOrigin-RevId: 3c575072412a95d0aad5854f4953349748ca3dc5
2023-05-05 19:45:28 +00:00
Yuriy Artamonov
d38b8dab03 [frameworks] IDEA-318723 Spring and microservices injectors lead to performance degradation in local inspections
GitOrigin-RevId: 6add2d494e52a26a23019b0ada50485c34e31ada
2023-05-05 16:17:26 +00:00
Vladimir Krivosheev
227d75a1fc don't extend DynamicBundle
GitOrigin-RevId: 49cbebd629a92877dbeeffba8d97b0631fb9407e
2023-05-05 09:46:42 +00:00
Vladimir Krivosheev
030668f02d Revert "[inspection-options] Pass project to customized options pane"
This reverts commit ff8fbe0e1e29b503a000ee311bebe7c6568fb752.

GitOrigin-RevId: f20f3638309a4058bdedae8dbbadd37188f9a8f3
2023-05-04 20:15:13 +00:00
Tagir Valeev
40b4546e44 [inspection-options] Pass project to customized options pane
Fixes IDEA-318984 Choose NotNull Annotation hangs with infinite "Searching..." indicator

GitOrigin-RevId: ff8fbe0e1e29b503a000ee311bebe7c6568fb752
2023-05-04 17:26:59 +00:00
Yuriy Artamonov
e84a11182c [frameworks] IDEA-318723 Spring and microservices injectors lead to performance degradation in local inspections
GitOrigin-RevId: 24f60a74e81b87c43b53e736755b0f1624b6c9d7
2023-04-26 10:49:41 +00:00
Bas Leijdekkers
7597b95fac Refactoring conflicts dialog: add missing @Nls annotations
GitOrigin-RevId: 48a915cc830a417e50b425800b32885c3bf43e96
2023-04-25 08:30:35 +00:00
Yuriy Artamonov
5000d63adf [frameworks] IDEA-318723 Spring and microservices injectors lead to performance degradation in local inspections
GitOrigin-RevId: cddee9c37e664bdc7469a89dd8cb0017fa125866
2023-04-24 19:34:09 +00:00
Yuriy Artamonov
b65ac8356c [java] JavaLibraryUtil moved to intellij.java
GitOrigin-RevId: f5cce6e0e98d6694b9303048621d27dd7a5a5dab
2023-04-15 20:16:54 +00:00
Vladimir Krivosheev
6dbda83b26 use komihash for icon classes to align rasterized key with a runtime cache key (same algo)
GitOrigin-RevId: fec04acb91d4a69d5c50571d3408c9b0ce3fddd4
2023-03-24 15:49:56 +00:00
Vladimir Dolzhenko
b4b261fb96 [kotlin] Replace LibraryModificationTracker with JavaLibraryModificationTracker
#KTIJ-24863 Fixed

GitOrigin-RevId: a3dca0ee377db405b035f13e38a66be0c8ddf042
2023-03-20 19:43:50 +00:00
Nikolay Chashnikov
496511375f [project model] mark FacetUtil.saveFacetConfiguration and FacetState.getConfiguration as @Nullable
...and add necessary checks. This fixes NullPointerException, which may happen if there is an InvalidFacetConfiguration without a configuration tag (reproduced in IntelliJConfigurationFilesFormatTest).

GitOrigin-RevId: 804d3271e97c8415a22e130ffd4ddddf93e944df
2023-03-17 11:59:33 +00:00
Vladimir Krivosheev
c2a15934fc move to a proper package - com.intellij.ui.icons
GitOrigin-RevId: ed098d216e0f4ce96e9a0e1e1b89300ac2537d79
2023-03-10 17:11:35 +00:00
Nikolay Chashnikov
a31e763bd1 [java] i18n: add annotations to properties of MavenCoordinates class
GitOrigin-RevId: 7f430dbde489b0678600440c503c4ce3a7f16867
2023-03-06 13:32:50 +00:00
Tagir Valeev
d9da9a93bc [java-refactoring] IDEA-314127 Unbundle 'Generify' refactoring to 'Additional Java Refactorings'
GitOrigin-RevId: 029f86a736760325c27f1a79a993f35db375bfdb
2023-02-25 12:25:04 +00:00
Dmitry Kichinsky
9f64f99739 EA-794737 rename setConfigFileInfos to setConfigFileItems
GitOrigin-RevId: 355d362355689ce7980e86408522fe26b63fc1f1
2023-02-14 13:40:12 +00:00
Dmitry Kichinsky
07be62918d EA-794737 fix NullPointerException
GitOrigin-RevId: c4b3e8a00ea3b41b8efdafa036a6f8668b591b9a
2023-02-10 20:39:36 +00:00
Roland Illig
51433a2080 Fix typo 'speedup' when used as a verb
GitOrigin-RevId: 55935e091477ffbb538e9ea45fbec06b607d2f4e
2023-02-07 11:23:27 +00:00
Tagir Valeev
e9832acb26 [java] Use pattern variables; other minor cleanup
GitOrigin-RevId: e2345bd54d92f6676c6fbc55955e85cbdc5c2793
2023-02-01 17:09:26 +00:00
Dmitry Kichinsky
8a1e46fa89 IDEA-307609 ConfigFileItem moved to intellij.java module
GitOrigin-RevId: cbbd90224b5c224f08ceef3225c382e58136632e
2023-01-29 22:07:09 +00:00
Nikolay Chashnikov
8ce3039acf cleanup: get rid of usages of deprecated constants from PsiType (IDEA-309438)
GitOrigin-RevId: 3373eb8b47af51b9f6dd71e565f773d69e8a3218
2023-01-26 16:11:57 +00:00
Vladislav.Yaroshchuk
fe605bb706 IDEA-269182 UX-2436 RepositoryLibraryDescription: add new icons show library has a checksum or a bind repository
GitOrigin-RevId: 05837187c8581fa3120609d345b936f433b4a2fa
2023-01-19 11:57:48 +00:00
Nikolay Chashnikov
1487a324c4 cleanup: remove redundant '@author' tags from javadoc comments - 7
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: f2a6ec37a89b7497556ced0b92be3fa7679ba304
2023-01-18 17:01:47 +00:00
Nikolay Chashnikov
98b622aa27 cleanup: remove redundant '@author' tags from javadoc comments - 5
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: e1f798814ca7f22747768b99cbcd962d820bbfb9
2023-01-18 17:01:41 +00:00
Bas Leijdekkers
efba7d83ea Java: use variable name statistics in in-place introduce refactorings to get better naming suggestions
GitOrigin-RevId: 90ade731912e4b5065b384fca1adf1194a0a3300
2023-01-16 19:16:48 +00:00
Vladimir Krivosheev
98ace0a061 use XXH3 instead of MurMur3 to generate an icon image key
The main reason — use XXH3 everywhere

GitOrigin-RevId: 7b158b9b3689d16f09182abb0b58113c7303f874
2022-12-27 08:01:26 +00:00
Tagir Valeev
ce032b58f0 [java-inspections] UnusedDeclarationInspection: OptPane used; refactoring
All extra buttons -> JavaInspectionButtons
Controls -> JavaInspectionControls
VisibilityModifierChooser removed

GitOrigin-RevId: 428052e5ef6c86c941f64eb7731c692674a6d394
2022-12-24 17:19:43 +00:00
Dmitry Kichinsky
67c908c444 IDEA-307609 WebFacetConfigurationBridge implementation
GitOrigin-RevId: 4a011b1c7d350fb881d3745a95b5b1d73a8a613a
2022-12-22 11:29:18 +00:00
Tagir Valeev
d0ef7fb19e [inspections] OptCustom: rework now rendered with separate extensions; example with configureAnnotationsButton
I still hesitate to store custom object inside OptCustom, as this would prevent it from being easily serializable and transferable to frontends. We assume that the whole information necessary to render a specific custom control is serialized into the additional 'data' string. We'll see how it works.

GitOrigin-RevId: 50c35ad0640ba4975a9adeae21a434f2c1bc0fd2
2022-12-18 13:58:49 +00:00
Yuriy Artamonov
df700a9b38 [java] More details in JavaDoc of JavaLibraryModificationTracker
GitOrigin-RevId: 00706f3167b30e7b72f602bc7b089ad42f13a552
2022-12-15 11:47:32 +00:00
Vladislav.Yaroshchuk
17c7aaddbe IDEA-269182 Drop verify-sha256-checksum attribute from RepositoryLibraryProperties
GitOrigin-RevId: 8a9684d4040d19caa50243d36f8034e90bf2b9c5
2022-12-14 18:36:40 +00:00
Roland Illig
b6498793f7 Convert package documentation for openapi.roots to Java
Move the documentation to the platform module, as the documentation is not specific to Java.

GitOrigin-RevId: 787509ad873a402c9b52c0b7210fd60c5b2a87d8
2022-12-14 14:57:54 +00:00
Nikolay Chashnikov
1081d1ae38 [java] add base interface for LibraryProperties corresponding to Maven artifacts (IDEA-302625)
...and implement it for Maven libraries in JPS projects.

GitOrigin-RevId: 1cd13a574155a56655076a20d49aa03bf276349f
2022-12-05 15:44:22 +00:00
Vladislav.Yaroshchuk
4c1c4ee5ff IDEA-269182 Replace @Nullable with @NotNull where applicable
GitOrigin-RevId: 3be9b5c5e098dd497afca0605f4ba8379007dcf3
2022-12-05 14:31:30 +00:00
Vladislav.Yaroshchuk
88c6b1a667 IDEA-269182 Get rid of unneeded JAR_REPOSITORY_ID_NOT_SET constant
Alias for null - replace usages with null

GitOrigin-RevId: d9ba998045293f8a947922f866538f9529aa09ea
2022-12-05 14:31:27 +00:00
Vladislav.Yaroshchuk
a891a308b4 IDEA-269182 Support custom icons for Repository library
Customize icon if library has enabled checksum or bind repository.
Now transparent stub is used instead of icons: waiting for UX-2436.

GitOrigin-RevId: 556187c18c1dbeb5d2ccbca0b678491e0802556c
2022-12-02 02:12:01 +00:00
Vladislav.Yaroshchuk
03d72b09da IDEA-269182 Update RepositoryLibraryProperties
Add new verification and JAR repository mappings to
JpsMavenRepositoryLibraryDescriptor fields

GitOrigin-RevId: 951f81d2a61f721434e01c2a21dfbe26d0b6b493
2022-12-02 02:11:54 +00:00
Alexey Kudravtsev
06ef1c679c SafeDeleteProcessorDelegate: fix method signature type
GitOrigin-RevId: bd31da03aed2fb8eff372f6974427a7f2f556cf6
2022-11-29 12:47:22 +00:00
Yuriy Artamonov
cd8d11e579 [frameworks] Remove temporary PIEAE diagnostics from MetaAnnotationUtil
GitOrigin-RevId: 5a48db5101c10a8f96255ec491af82f5a0d5f054
2022-11-28 20:17:32 +00:00
Alexey Kudravtsev
da30b85943 remove usages of newHashSet in favor of immutable Set.of() or standard new HashSet()
GitOrigin-RevId: 8086ceb3525e58630d2fc5862bf047352332e791
2022-11-24 13:42:41 +00:00
Nikolay Chashnikov
e7195f6214 cleanup: remove '@author peter' tags from javadoc comments
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: 99ea11604b3d5dfdf838d7f3685477814e642ceb
2022-10-13 14:39:10 +00:00
Vladimir Krivosheev
160df91912 cleanup
GitOrigin-RevId: e892cc679cb1e487e53410764daa837ef4ef6356
2022-10-08 10:14:55 +00:00
Andrey.Cherkasov
000c62ae4a intention previews: some more refactoring
IJ-CR-95632

GitOrigin-RevId: fc3dbc3502783c733e8b44a88faa03d0b9598cf6
2022-09-26 17:31:56 +00:00
Anna Kozlova
01cd2c3693 [kotlin] safe delete: process parameters in java overrides (KTIJ-21136)
via light elements

GitOrigin-RevId: 1e39b30d68cba0a69942d60ab5c2810bf05c6328
2022-09-26 08:39:42 +00:00