Commit Graph

237 Commits

Author SHA1 Message Date
Tagir Valeev
2ba9a65828 IDEA-167980 Add quick fix to merge two annotations which are not marked as repeatable
GitOrigin-RevId: 6cc5742354b484ea996ec6a0d2bfa29f3013a08a
2019-05-30 12:07:55 +03:00
Aleksey Rostovskiy
185284cee6 get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE_GEN_STEP to skip it instead
GitOrigin-RevId: 9aac8ee4ed1ebf2a29de18a238825fafb1ab88f9
2019-05-27 15:08:08 +03:00
Alexandr Suhinin
9215f4240b [duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
2019-05-27 15:07:30 +03:00
Daniil Ovchinnikov
2fbe50d29e remove ide.interlanguage.fixes registry key
GitOrigin-RevId: ebb903b75690313fb2a9b97f15f744ee1208e310
2019-05-21 16:17:06 +03:00
Daniil Ovchinnikov
370dd452df deprecate and schedule for removal old CreateMethodFromUsage fixes
GitOrigin-RevId: 879a0114050fb686b0f8fe137e505798933f56cc
2019-05-21 16:15:36 +03:00
Daniil Ovchinnikov
972c551d2c deprecate and schedule for removal #createCreateConstructorFromCallFix
GitOrigin-RevId: fed6cf98e7febe648844c7d569434d7553ff5009
2019-05-21 16:15:06 +03:00
Daniil Ovchinnikov
b89b79b1a3 deprecate and schedule for removal #createCreateConstructorFromSuperFix and #createCreateConstructorFromThisFix
GitOrigin-RevId: 3a91be0b7ad2507d6041f75816f1553997dc9487
2019-05-21 16:14:36 +03:00
Anton Makeev
c105e26db3 Merge remote-tracking branch 'origin/master' into amakeev/gradle
GitOrigin-RevId: f9a633252daf311ecab19002c0f4757052eee9dc
2019-05-17 19:13:15 +03:00
Anton Makeev
d457f1b8d2 Merge remote-tracking branch 'origin/master' into amakeev/gradle
GitOrigin-RevId: dde010049a2a7ec2d336249fe52a49b17156f4a3
2019-05-17 19:10:16 +03:00
Anton Makeev
8f7747ad98 Merge remote-tracking branch 'origin/master' into amakeev/gradle
GitOrigin-RevId: f4b9386436ead2e9d7fb7e3d18bfb47dfc2f8bf0
2019-05-17 19:03:29 +03:00
Anton Makeev
b54aaf7e4e IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
2019-05-17 19:02:16 +03:00
Vladimir Krivosheev
daeb83f9ef extract object serializer annotations to external module for runtime gradle needs, extract JdomSerializer to reduce dependency on object serializer (projectModel impl doesn't depend on it anymore and do not export it)
GitOrigin-RevId: 4079c283416c767b2c0a4330d6fa4e9a471c7ec8
2019-05-15 14:07:15 +03:00
Vladimir Krivosheev
fe966298a9 extract util methods that implemented in Kotlin from projectModel-api module to a new module util-ex, move xmlSerializer.kt (and related code) to object-serializer module
* These methods implemented in Kotlin because because of using kotlin-only features or because Kotlin is a more suitable language. So, cannot be reimplemented in Java and moved to existing `util` module (this module is already bloated, but it is another topic).
* There are modules that depends only `util-ex`, but on on `projectModel-api`.

GitOrigin-RevId: c959763fb5b07abaf783ea4b1991b713bb3a1ad8
2019-05-10 16:08:56 +03:00
Dmitry Avdeev
83f21c7197 Merge remote-tracking branch 'origin/master'
GitOrigin-RevId: 211e84dab4063848c1d3d835a526271ee1466636
2019-05-07 17:03:19 +03:00
Dmitry Avdeev
f9664fc455 IDEA-211555 Freeze on completion in XML file
do not process xincludes in ExtensionDomExtender

GitOrigin-RevId: d631dcd52d5bf500b61960473e16237008ad02a3
2019-05-07 17:02:41 +03:00
Yann Cébron
497332e337 ChangeParametersRequest: fix Javadoc
GitOrigin-RevId: 11533345245ae02f5dff278f48a2497a6fc0cc0a
2019-05-06 20:21:45 +03:00
Nicolay Mitropolsky
b147a90835 JvmElementActionsFactory: reverting createChangeModifierActions removal because it couldn't be deleted yet
GitOrigin-RevId: 1ee1fa3ec675f1dcf0f37b538c4627347855c83b
2019-05-03 03:13:52 +03:00
Aleksey Pivovarov
322db66a12 Recover after problematic merge
This commit reverts 65a557bb38f6ac03afa9aabaf02cb8d99fc68a91
                    3f5cfd958d9b6b54393c15983ac94f519c37fe61

GitOrigin-RevId: 8fb8ccbb17d0e217a83f265c185a943b0f5a7ed6
2019-05-03 01:52:21 +03:00
Nicolay Mitropolsky
9b850726ee [uast-groovy] UInjectionHost support
GitOrigin-RevId: 49ec454d1831796fa63b77fdc965f61985bf877e
2019-05-03 01:47:46 +03:00
Vladimir Plyashkun
c33e69a545 CPP-16098 - Lags during inplace rename typing
- reverted some of the changes

GitOrigin-RevId: c7c07b80a76c29794ef31e0e916e62f7f302917a
2019-05-03 01:47:14 +03:00
Leonid Bushuev
34be4bbf7d Apply the change from Develar: cleanup - specify UTF_8 charset explicitly
GitOrigin-RevId: 3f5cfd958d9b6b54393c15983ac94f519c37fe61
2019-05-03 01:46:11 +03:00
Vladimir Plyashkun
61a3e18b78 Merge branch 'master' into vplyashkun/inplace_rename_lags
GitOrigin-RevId: aaecc2a32e4e42de827efb45b8df733874a722e4
2019-05-03 01:41:29 +03:00
Leonid Bushuev
9f35a30458 SQL code style per dialect: UI
GitOrigin-RevId: 72cca4d6a23a5e2aa2089c03932ab2e9d08bfa48
2019-05-03 01:36:24 +03:00
Daniil Ovchinnikov
660b4ef021 [jvm] cleanup: remove old unused methods from JvmElementActionsFactory
GitOrigin-RevId: 4ca2354457fa60b29977d0a3efaf5c9c3fbfa15e
2019-04-28 19:17:42 +03:00
Roman.Ivanov
0f8d589a14 Remove GeneralizeCatchFix as more general alternative exists 2019-04-03 12:37:11 +07:00
Nicolay Mitropolsky
df9600f711 [jvm-lang] updateMethodParametersRequest made using java functional interfaces instead of Kotlin functions (IDEA-CR-45428) 2019-03-26 14:59:56 +03:00
Nicolay Mitropolsky
e95d1a2065 [jvm-lang] updateMethodParametersRequest added. ExistingParameterWrapper marked as not for public use 2019-03-22 19:18:42 +03:00
Nicolay Mitropolsky
027a62d44c [jvm-lang] createChangeParametersActions made able to keep existing parameters as is (IDEA-199838) 2019-03-14 11:03:02 +03:00
nik
04c70e5b54 platform: move UnusedDeclarationFixProvider from platform to java
The extension point is declared in JavaIdePlugin.xml and called from java modules only, so it makes no sense to have this interface in the platform.
2019-03-06 09:58:35 +03:00
Pavel Dolgov
ec58711cf3 Java: Quick fix for missing 'return' in lambda body (IDEA-169551) 2019-02-20 13:27:57 +03:00
Vladimir Krivosheev
21bb502273 use extensionList 2019-02-05 12:45:03 +01:00
Nicolay Mitropolsky
9cb62123bf Uast: prefer UField over UMethod in alternative conversions
because otherwise Kotlin 1.3.30 will almost never provide `UField`-s to `UastHintedVisitorAdapter` because it will return getters and setters instead of fields
2019-01-30 14:55:35 +03:00
Tagir Valeev
c6423e16bf On maybe unassigned variable: try to fix the switch statement which assigns given variable (IDEA-193906) 2019-01-28 13:05:00 +07:00
Sergey Patrikeev
3943b7fda9 IJSDK-550: Clean up @since javadoc tags.
@ApiStatus.AvailableSince annotations are automatically generated on the build server for each build, and get published to the IntelliJ Artifacts Repository.
2019-01-24 22:28:38 +03:00
Alexey Kudravtsev
93f518ffc2 cleanup 2019-01-18 14:48:24 +03:00
nik
d2653869a5 IntelliJ project configuration: rename KotlinJavaRuntime library to kotlin-stdlib-jdk8
For clarity and consistency with artifactId and other Kotlin libraries.
2019-01-11 11:59:04 +03:00
Nicolay Mitropolsky
7dcfbccc08 Uast: conversion possibility check optimisation 2019-01-10 11:06:00 +03:00
Vladimir Krivosheev
d6089a80c8 use getExtensionList 2019-01-09 15:36:38 +01:00
Nicolay Mitropolsky
5c90b501e1 IDEA-CR-41633: [uast] UastHintedVisitorAdapter as a more performant version of UastVisitorAdapter
(cherry picked from commit 08572d72766b9a557aa360832e5300b7c77ea215)
2018-12-28 13:06:50 +03:00
Dmitry Batkovich
2a419046ba dead code 2018-12-11 17:19:44 +03:00
Dmitry Batkovich
60cc57c777 java global inspections: remove unused field 2018-12-11 15:55:18 +03:00
Dmitry Batkovich
33098b6300 add javadoc for QuickFixFactory.createModifierListFix 2018-12-07 08:34:41 +03:00
Tagir Valeev
8a1302c2a4 Provide fixes for missing branches in switch expression (create 'default', create missing branches)
Fixes IDEA-203071 Switch expressions: provide fix to generate missed branches for enum switches
Fixes IDEA-203449 Switch statement without default branch: provide a quick-fix
2018-12-03 18:53:10 +07:00
Dmitry Batkovich
41e56ebf20 java global inspections: replace usages of uast as psi 2018-11-21 16:51:49 +03:00
Dmitry Batkovich
86cbecad34 RefField parent might be a RefFile 2018-11-16 17:43:27 +03:00
Leonid Shalupov
eade077bfc ModuleExtensions: do not apply changes if nothing was changed
IDEA-CR-36822
IDEA-199211 Refactor code dependent on project model implementation
2018-10-02 11:48:02 +03:00
Dmitry Batkovich
d28aac1be5 unused declaration make a query for external non java usages in queryExternalUsagesRequests() 2018-09-24 16:46:18 +03:00
Vladimir Krivosheev
1e26c6c926 BaseState object property must allow only base state as parent type, add test for Compound RC serialization 2018-09-17 09:05:49 +03:00
Alexey Kudravtsev
544c3b670f fix for changing parameter types for method which used to extend the generic-parameter-method which was refactored to bounded wildcards and "both method signatures have same erasure" error appeared as a result 2018-09-14 16:01:02 +03:00
Dmitry Batkovich
098c6318cf re-implement java global inspection graph using uast 2018-09-13 08:18:27 +03:00