Commit Graph

5003 Commits

Author SHA1 Message Date
Yann Cébron
b47f5ffa32 [devkit] DOM: stub <idea-plugin@implementation-detail>
GitOrigin-RevId: 1a3720c91581b0e2ddd7028d6d49c997338e0af3
2024-07-10 17:07:41 +00:00
Yann Cébron
da18ede174 [devkit] Extract "Plugin should have pluginIcon.svg" check from PluginXmlValidity inspection (IDEA-355886)
GitOrigin-RevId: 52964f1e4f897556ac7fa045258340d103e2cdb5
2024-07-10 16:49:34 +00:00
Karol Lewandowski
1e46ed418c Sort inspection lists in DevkitInspectionsRegistrationCheckTest for easier assertion error reading
GitOrigin-RevId: 8b21577fb1e0a60d4a985fe2fe4289caabb559bc
2024-07-10 13:24:43 +00:00
Karol Lewandowski
6fd8c1e648 Enable UastHintedVisitorAdapterHintsInspection by default
GitOrigin-RevId: f5a55dcc77a453f5a3199f36e7ee4947ad8f73c0
2024-07-10 13:24:43 +00:00
Roman Shevchenko
474192eaad [vfs] dropping the obsolete JAR copying concept to make things simpler
GitOrigin-RevId: 2e7f2d0c3c04b5ed350eb15d0e21cf072f9c9a77
2024-07-09 18:10:24 +00:00
Vlad Koshkin
1d84270b7b Merge IJ-MR-138941: master-813e61b202209c2216e28c3c9a58cb8b5d4c0682
GitOrigin-RevId: ddefdde60e077fe76f295f1ef496526e1ef71a95
2024-07-09 02:19:47 +00:00
Tagir Valeev
d263e30396 Remove raw types in PopupStep#onChosen inheritors
GitOrigin-RevId: df36f1a249ab4d87c2d10e3d39c27f0351298921
2024-07-08 16:18:24 +00:00
Yuriy Artamonov
a0c7e5f29d [devkit] Dedicated icon for Bundle.properties files
GitOrigin-RevId: 0ab43ad83f33dc9a3bf38a886cca10a9e17d59ba
2024-07-06 12:29:23 +00:00
Vlad Koshkin
ce6f8813db Merge commit '813e61b202209c2216e28c3c9a58cb8b5d4c0682' into master-813e61b202209c2216e28c3c9a58cb8b5d4c0682
# Conflicts:
#	community/plugins/kotlin/core/src/org/jetbrains/kotlin/idea/references/KtFe10ReferenceResolutionHelperImpl.kt
#	community/plugins/kotlin/jvm-debugger/core/src/org/jetbrains/kotlin/idea/debugger/core/jvmNameUtil.kt
#	community/plugins/kotlin/refactorings/kotlin.refactorings.k2/src/org/jetbrains/kotlin/idea/k2/refactoring/inline/codeInliner/InlinePreprocessorUtil.kt

GitOrigin-RevId: de65740be8c1237da67bebcfd95aaf44db380104
2024-07-05 12:07:45 +02:00
Vladimir Lagunov
0fcfb9eacd IJent, DevKit: enable the new default FS only if it is in the source code
Otherwise, it's impossible to use Dev Build for branches that don't have MultiRoutingFileSystemProvider, like the branch 241.

GitOrigin-RevId: 247b84e22b2734f2541983df7cef886b7ec4b82d
2024-07-03 20:16:42 +00:00
Yann Cébron
92dd3b6256 [devkit] PluginDescriptorEditorTabTitleProvider: simplify
PluginIdDependenciesIndex guarantees that file is valid plugin descriptor

GitOrigin-RevId: 59a696a01816edcb363b7f054a85f8f5df07e620
2024-07-02 10:52:06 +00:00
Yann Cébron
998642ddb1 [devkit] DevKit project: include lib/modules in classpath (IDEA-355715)
GitOrigin-RevId: d1edb8ef596648948609388f0d05b18d4e018733
2024-07-01 15:02:48 +00:00
Yan Zhulanow
ace6572a1c [kotlin] Adapt to changes in 'containingSymbol' and 'containingDeclaration'
^KT-69535

GitOrigin-RevId: 59dfdb3fea56a3858be459988e41640b8ed53ae5
2024-07-01 10:37:41 +00:00
Vladimir Lagunov
b47ab08593 IJPL-149878 IJent WSL FS: module with constants, functions to enable in particular IDEs
To enable the new filesystem, some tricky VM options must be specified. Just changing the default value of the registry key is not enough.

The new code brings tooling and constants to ease enabling the IJent WSL filesystem in specific products.

`IjentWslNioFsToggler` stops specifying `-Didea.io.use.nio2` because `com.intellij.openapi.util.io.FileSystemUtil.computeMediator` is already aware of the IJent WSL filesystem and starts to use java.nio without the explicit system property.

`IjentWslNioFsToggler` keeps reacting to the registry key changes, but forces its value into the VM options, literally ignoring the state of the registry. It was done on purpose to make the VM options file the only source of truth and to not deal with registry-vmoptions synchronization issues.

GitOrigin-RevId: 6a3c333f841f87cece56ddc26bcbc284cf1a1ecf
2024-06-28 20:15:32 +00:00
Bas Leijdekkers
e0045e4e0e [devkit] fix property choice format example in inspection description
GitOrigin-RevId: a972d9c8d014cfe953e2eaeb89bebb6115a4c3cf
2024-06-28 17:14:56 +00:00
Nikolay Chashnikov
fbcba43905 [jps tests] refactoring: rework jps serialization tests to use JpsSerializationManager API
JpsModelFromTestData utility is added which uses JpsSerializationManager instead of creating JpsModel and calling JpsProjectLoader directly. Tests are migrated to use it instead of extending JpsSerializationTestCase. This is needed to use these tests to verify the new implementation of JPS model serialization (IJPL-409). Also, the tests are migrated to JUnit 5.

GitOrigin-RevId: 874f0b01ea6ae5d31666b2dafb843052cc017024
2024-06-28 17:05:00 +00:00
Yann Cébron
86e7e7b31b [devkit] deprecate and inline usages of PsiUtil.isIdeaProject()
GitOrigin-RevId: e3215d018be4545ae6cb4aafc7c13acb2f142e17
2024-06-25 18:10:10 +00:00
Yann Cébron
b80beb69e3 [devkit] PsiUtil: mark API as internal
GitOrigin-RevId: c1860f67b8bfc0447f25f45d8d0db5538cef9589
2024-06-25 18:10:10 +00:00
Yann Cébron
3782dc0da3 [devkit] IJPL-115197 Provide distinct icon for V2 plugin.xml
GitOrigin-RevId: 400aaa59a3f796dc275171c10b48271bf6438d7e
2024-06-25 10:35:21 +00:00
Dima Golovkov
3f0635f2f6 Add pluginV2 icon for UX-2940
GitOrigin-RevId: b03cd76013cd5eeeb45072effb149801a770ebfb
2024-06-25 00:24:11 +00:00
Yan Zhulanow
effc441609 [kotlin] Migrate 'getKtType()' to 'type'
^KT-67996

GitOrigin-RevId: 9aa091b446003acdd256d0a1a244b6eb582854a5
2024-06-23 20:30:36 +00:00
Yan Zhulanow
aa046e9261 [kotlin] Migrate 'getReturnKtType()' to 'returnType'
^KT-67996

GitOrigin-RevId: 7dff22dcfef133152dd34989b8f5acdceef1b998
2024-06-23 20:30:35 +00:00
Yan Zhulanow
2b9bb37cd0 [kotlin] Migrate 'getKtType()' to 'expressionType'
^KT-67996

GitOrigin-RevId: 3a060e99ec65320d72bc4839df4efaebd17ada21
2024-06-23 20:30:35 +00:00
Yan Zhulanow
2e7eb91e72 [kotlin] Migrate 'KtType' to 'KaType'
^KT-67996

GitOrigin-RevId: d079b3ca7817c537905abc2336e1a584533ca25d
2024-06-23 20:30:35 +00:00
Yan Zhulanow
17b5cea829 [kotlin] Migrate 'KtUsualClassType' to 'KaUsualClassType'
^KT-67996

GitOrigin-RevId: d1fc8b58d55627f2d43198efaf0e0b3f81be95f7
2024-06-23 20:30:35 +00:00
Yan Zhulanow
e0cfce525e [kotlin] Migrate 'KtFunctionalType' to 'KaFunctionType'
^KT-67996

GitOrigin-RevId: e2ad6ceacaa313b4fd6ee2c9ee551c4c63e45886
2024-06-23 20:30:35 +00:00
Yan Zhulanow
b7e33c948c [kotlin] Migrate 'KtNonErrorClassType' to 'KaClassType'
^KT-67996

GitOrigin-RevId: d14505f253c01bd56232f3214471531fb9d25d71
2024-06-23 20:30:35 +00:00
Yan Zhulanow
e7d903911d [kotlin] Migrate 'KtTypeNullability' to 'KaTypeNullability'
^KT-67996

GitOrigin-RevId: 92b59e2d0db2ad72a5c73afa936abc6e891b51b1
2024-06-23 20:30:35 +00:00
Yan Zhulanow
069893e215 [kotlin] Migrate 'resolveCallOld()' to 'resolveToCall()'
^KT-67996

GitOrigin-RevId: 3731b499d35bcc1080e61c40c163eb509d9c417d
2024-06-22 19:53:47 +00:00
Yan Zhulanow
83c12757f3 [kotlin] Migrate 'KaClassOrObjectSymbol' to 'KaClassSymbol'
^KT-67996

GitOrigin-RevId: e69c3dd0efeb4646593b6a2c6cb370921436ecd1
2024-06-22 19:53:46 +00:00
Yan Zhulanow
8158733aae [kotlin] Migrate 'KtSymbol' to 'KaSymbol'
^KT-67996

GitOrigin-RevId: 85e8017f0b930300ef7639f937a3f20456cababd
2024-06-22 19:53:46 +00:00
Yan Zhulanow
f53155e7b4 [kotlin] Migrate 'KtPropertySymbol' to 'KaPropertySymbol'
^KT-67996

GitOrigin-RevId: b98b49cacaa5d713fc16ce5e7de1905dafe58874
2024-06-22 19:53:46 +00:00
Yuriy Artamonov
db137e32b5 [devkit] IJPL-157104 DevKit: Ignore unstable API declared in this project option for PluginXmlValidity inspection
GitOrigin-RevId: fd60ef40ac5da239ea942d0d4aeef1fe3459778b
2024-06-21 18:13:49 +00:00
Yann Cébron
de3c5578e4 [devkit] move to appropriate package
GitOrigin-RevId: 1931031045177ffe0715fa3f308e1b7495be9b18
2024-06-20 17:51:39 +00:00
Yan Zhulanow
945c59ebb9 Merge commit 'fb0b5d95b1b945e38319a28aef9c570f84c37ce3'
GitOrigin-RevId: fc990f2e70fc1bdfe36c6130c87344f51a55e683
2024-06-20 23:37:03 +09:00
Yann Cébron
1d0ac8c33e [devkit] "Extension class should not be public": show dedicated hint for services (IJPL-115185)
GitOrigin-RevId: 8ddceed617020cacc5e5c2cd3dfab5d3b0fbd8ad
2024-06-20 14:27:35 +00:00
Vladislav Rassokhin
78e0059e89 [platform] move isIdeaProject to a dedicated class in intellij.platform.ide.core as it's widely used
GitOrigin-RevId: 73c43defd45327b2beb761cd3a2d027d04754d7c
2024-06-20 13:09:26 +00:00
Yann Cébron
4eecc6f594 [devkit] ExtensionClassShouldBeFinalAndNonPublicInspection: minor performance (IJPL-115429)
GitOrigin-RevId: 5f75d42fdb37e09f871500e1cb8f1d39a3583d9d
2024-06-20 13:04:00 +00:00
Yann Cébron
9156069504 [devkit] api-dump files support: icons, generated sources notification
GitOrigin-RevId: fd2ae0f2bb05dc196bbb33d9d13ef1f9684a9e9b
2024-06-19 15:15:35 +00:00
Yann Cébron
81971d10ee IJPL-156832 DevKit: extract "element should be defined in..." checks for IDEA project to separate internal inspection
GitOrigin-RevId: dc8cffb5861d5fa31e979112270ceab8758357d4
2024-06-19 13:30:10 +00:00
Yann Cébron
d04822fdb6 [devkit] DevKitPluginXmlInspectionBase: note
GitOrigin-RevId: eb4c4a3933add920a3951dacb8853109214a24ee
2024-06-18 20:29:39 +00:00
Yann Cébron
3472e5574a [devkit] remove "Analyze Extension Point Usage" actions, remove obsolete keys
GitOrigin-RevId: 0879c5be1db9ec1df62b9f8f958f3577209f1505
2024-06-18 20:29:39 +00:00
Dmitrii Gridin
b1c5a5b446 [Kotlin] rename KaFunctionSymbol -> KaNamedFunctionSymbol
^KT-68882

GitOrigin-RevId: f4b6abeddc29ce3ad0fc9ba5d4e4e7b8db5237f6
2024-06-18 20:25:19 +00:00
Karol Lewandowski
b236d7801e IJPL-115558: Fix UInjectionHost false-positive
GitOrigin-RevId: 9f8685ae87d7c64688dea2c59ddfa4af49824f45
2024-06-18 15:17:43 +00:00
Yann Cébron
56773a418e IJPL-156810 <idea-plugin> "package": resolve in module dependencies
GitOrigin-RevId: 6db3859fb555b6cba508195866292ce56c08601d
2024-06-18 13:47:51 +00:00
Yann Cébron
c82d7ec455 [devkit] DevKit SDK: broken classpath (IDEA-355049)
revert regression from 67b83f5d3d45aea10e59fcc773bd49f3bc584059

GitOrigin-RevId: d615af560b6b001194f85a2b408b3d6253eeccb5
2024-06-18 12:55:37 +00:00
Yann Cébron
62f8bf8fcb [devkit] PsiEnumConstantResolvingConverter: add exception for WebSymbolReferenceProblem.ProblemKind
GitOrigin-RevId: e5404d6c20ae2c641a30fbd1a15bb6d868cc8ffe
2024-06-18 11:53:03 +00:00
Yann Cébron
413bc96ea1 [devkit] PsiEnumConstantResolvingConverter: remove obsolete class
GitOrigin-RevId: 961cc747f88c1163eb7274eba26386921900652c
2024-06-18 11:53:03 +00:00
Yann Cébron
ac35d39538 [devkit] DevKitBundle: use non-obsolete setup
GitOrigin-RevId: 77cd5b6be2802754f655ab23098f3fd5b592a981
2024-06-18 10:27:34 +00:00
Yann Cébron
9e0efa6038 [devkit] remove @VisibleForTesting classes from API dump
GitOrigin-RevId: b8a2daa416444e9c7cc8d58eea9755c73bf62c08
2024-06-18 10:27:34 +00:00