Commit Graph

19495 Commits

Author SHA1 Message Date
Roman Ivanov
32e4b3a8fd [java] CommonJavaInlineUtil: add javadoc
GitOrigin-RevId: 86fbac3d2bffa93a1bcc99821dac45ee3c50c74b
2022-02-07 19:49:27 +00:00
Roman Ivanov
ea32ccf2c4 [java] simplify: remove CommonJavaInlineUtilImpl and use InlineUtil instead
GitOrigin-RevId: 401018879da21d6ac862a2d88abaa38b91442651
2022-02-07 19:49:24 +00:00
Roman Ivanov
1303ca9896 PullAsAbstractUpFix add more information to better understand error
GitOrigin-RevId: 68e37095a8b6033876fa67d35ae44ce991e48c10
2022-02-07 19:49:21 +00:00
Dmitry Jemerov
c680dc213e Move "Package File" notification group to correct place, hide it from settings
GitOrigin-RevId: 04a3d9f5c4064d3c0581efb8e9d8657b1ad97e28
2022-02-07 18:29:49 +00:00
Roman Ivanov
3f659402e0 [java] consider java 18 not capturing inner class refs when possible in capturing cleaner inspection
IDEA-283307

GitOrigin-RevId: a1486b6c043cd40fff5da92125bc4c7aa2614891
2022-02-07 11:49:55 +00:00
Tagir Valeev
eea1bcb1c7 [java-analysis] Improve NullityInferrer
Use DFA where possible. Fixes IDEA-287718 A way for batch add `@Nonnull` annotation for methods, which IDEA infer as nonnull

GitOrigin-RevId: 4c8c7fb3f790648ef85a2dfed6111a3b4c50c13b
2022-02-07 10:30:54 +00:00
Alexandr Suhinin
dee2a83524 [javadoc inspection] test: fix old quickfix tests
GitOrigin-RevId: 97acecc139826abd3750cbe9c08d5c42878abf70
2022-02-07 09:48:57 +00:00
Alexandr Suhinin
a3a2ec3ab7 [javadoc inspection]: disable "JavaDoc" inspection
GitOrigin-RevId: f6cbaf6c1114636df1532e0c1c794cb19845b04b
2022-02-07 09:48:56 +00:00
Alexandr Suhinin
482e357338 [javadoc inspection]: test settings merger
GitOrigin-RevId: 263a669f8f505640c3295d9091f6de00cc3abec9
2022-02-07 09:48:54 +00:00
Alexandr Suhinin
4e35109e17 [javadoc inspection]: change default settings for "MissingJavadoc" inspection
GitOrigin-RevId: 6ff42d0e02bbc391f4efb0f8c6d28683e65dcda8
2022-02-07 09:48:52 +00:00
Alexandr Suhinin
a783b23ccb [javadoc inspection]: rename settings fields
GitOrigin-RevId: c3cd9c662643c25ee6f855c81194e99415f55479
2022-02-07 09:48:51 +00:00
Alexandr Suhinin
e522ae9b5d [javadoc inspection]: descriptions for "MissingJavadoc" and "JavadocDeclaration"
GitOrigin-RevId: cf584d21680d345e25af01842c41cb07688af486
2022-02-07 09:48:49 +00:00
Alexandr Suhinin
b8ce6d3e04 [javadoc inspection]: copy javadoc declaration analysis from "JavaDoc" inspection
GitOrigin-RevId: 0d86d36cca1aee87e99acc3070f8bbeb6c3cee83
2022-02-07 09:48:41 +00:00
Alexandr Suhinin
dee5d62919 [javadoc inspection]: copy missing javadoc analysis from "JavaDoc" inspection
GitOrigin-RevId: 85c4d92c3eff8bfa8aaf6b602763ca48b6c5acbd
2022-02-07 09:48:40 +00:00
Alexandr Suhinin
8ddc580a11 [javadoc inspection]: split settings into Missing javadoc and 'Javadoc declaration problem'
GitOrigin-RevId: b2aa297e5b12b4bf9d1184424d0dee768ec768b1
2022-02-07 09:48:38 +00:00
Roman Ivanov
a40f2a74dc introduce ChangeTypeSignatureHandlerBase to be able to use it in java.impl and JavaSpecialRefactoringProvider for type safety
GitOrigin-RevId: d8386ccf19a56e727e1a77a39dc1760cb4417042
2022-02-07 00:03:41 +00:00
Roman Ivanov
83ec77ada3 extract base interface for pull up handler
GitOrigin-RevId: 632d86c5f0143b68da2f93f324215f9aea037d17
2022-02-07 00:03:38 +00:00
Roman Ivanov
cc46bcd24d introduce CommonJavaInlineUtil service to use it inside java.impl
GitOrigin-RevId: 01e651d9d4ad163686f231d935755437acc3a581
2022-02-07 00:03:35 +00:00
Roman Ivanov
f4975d5bc1 fix after rebase
GitOrigin-RevId: dbaacc175671497d6152af743f2aa11c1c5866df
2022-02-07 00:03:32 +00:00
Roman Ivanov
59d761566c move suggestFieldName & related from refactoring module to java impl
GitOrigin-RevId: d9037d52f1b9336b71233ca85a141e7503d011d0
2022-02-07 00:03:29 +00:00
Roman Ivanov
354e1aac45 move chooseEnclosingMethod and dialog from refactoring module to java impl
GitOrigin-RevId: eec8cba241f3fed4c811c55989ecb2432376a762
2022-02-07 00:03:26 +00:00
Roman Ivanov
b2d8a304a6 move canBeStatic from refactoring module to java impl
GitOrigin-RevId: 52567226055a331abaa5c1ddde80a654196d2aea
2022-02-07 00:03:23 +00:00
Roman Ivanov
6feeb548c2 Make RefactoringConflictUtil a service
GitOrigin-RevId: 6ce32801e29a35cbc14c5ea5b669a55b0e6facf9
2022-02-07 00:03:20 +00:00
Anna Kozlova
02c569b58d [java] keep existing type annotations when new param is added to the constructor (IDEA-287983)
GitOrigin-RevId: 9a22583cf9333be8855545c87443484bce62a19c
2022-02-04 10:41:45 +00:00
Anna Kozlova
869cdc16de [java] [refactorings] simplify change signature refactoring callbacks
GitOrigin-RevId: 6cf8b748dc0753722b75602388dbe05d71e0d749
2022-02-04 10:41:44 +00:00
Tagir Valeev
c09d961baf [java-completion] IDEA-287916 Overriding method name deprioritizes void methods
GitOrigin-RevId: ccb44945b1f3fe35b2c8bc02d45096881a3be7a6
2022-02-04 09:46:27 +00:00
Dmitry Gridin
efd9c45dca [cri] rename EP 'isUpToDateChecker' to 'isUpToDateCheckConsumer'
^KTIJ-20657

GitOrigin-RevId: ccd9324b3fc40e39a75ec905c209ea7a18f7f80b
2022-02-04 09:29:04 +00:00
Dmitry Gridin
6a656747a6 [cri] run isUpToDate compiler activity only if necessary
^KTIJ-20657

GitOrigin-RevId: 2aab58ef11c729e60dc079bdf5c16b87e0fa42e6
2022-02-04 05:25:22 +00:00
Dmitry Avdeev
e81ec333ac IJP-1077 Inlay hints: new settings UI
description for method chains

GitOrigin-RevId: 6264b76ce343a2c078b5b44910ac2ab561494913
2022-02-03 11:36:44 +00:00
Anna Kozlova
3f2f2960ff [java] [documentation] do not trigger decompiler on documentation shown (IDEA-285806)
GitOrigin-RevId: 8980d50dd900896077cbeee5faebce03aea37330
2022-02-03 10:56:21 +00:00
Anna Kozlova
9915ebf1dd cleanup unused code
GitOrigin-RevId: 374382ff488aae0c49cd85e0e50d7b71b2acf1f6
2022-02-03 10:56:19 +00:00
Dmitry Avdeev
0311ee1a62 IJP-1077 Inlay hints: new settings UI
snippet & description for implicit types

GitOrigin-RevId: 03a2b9f5fe5145855dc746ef7d6b6e6113c311f9
2022-02-03 10:30:39 +00:00
Artemiy Sartakov
fd2a2d85f0 IOStreamConstructorInspection: updated description (IJ-CR-20017)
GitOrigin-RevId: d718c2ceda50a1267eb7d64e6a903b0bd3b64dc2
2022-02-03 07:30:02 +00:00
Dmitry Avdeev
eb54bfca5b IJP-1077 Inlay hints: new settings UI
snippets & descriptions updated

GitOrigin-RevId: 111699b4da89302ca27e8ea67de9b9d043b8d4c2
2022-02-02 15:46:17 +00:00
Artemiy Sartakov
8ea5f82040 Related problems: extract member information in bg thread (EA-360103)
GitOrigin-RevId: c06db71970fb0a1b4f85c0e1cd5f9f463e13c0c8
2022-02-02 09:47:01 +00:00
Anna Kozlova
60e91d83f8 EA-445963 (plugin) - NPE: ProjectUtil.calcRelativeToProjectPath
GitOrigin-RevId: 78a4e795c5eb540174a11fdc4c615098dd38396d
2022-02-02 08:35:10 +00:00
Artemiy Sartakov
c699fe0e24 IOStreamConstructorInspection: cr fixes (IJ-CR-20017):
1. report for arbitrary expressions that expect OutputStream / InputStream
2. report for arbitrary file creation arguments
3. check recursively if file creation argument is effectively final
4. reuse effectively final path variables if possible
5. use Paths.get() instead of Path.of() since 'of' method appeared only in java 11
6. info level for java 10 and higher

GitOrigin-RevId: 0a778328fe938faa0fe7eb2f199064f90b7a6d1b
2022-02-02 08:24:36 +00:00
Dmitry Trofimov
6cfea6e0b5 CodeServer: Python extract method refactoring, also decouple platform Rename refactoring from UI and lang modules
GitOrigin-RevId: fbe188a96f7eeaa168d6acf2874b1b759b9d8791
2022-02-01 19:19:46 +00:00
Vladimir Krivosheev
c62a9aead8 cleanup, use NIO
GitOrigin-RevId: 8606fa652d2f3397dfdd8e82010d99651982ea99
2022-01-31 18:45:00 +00:00
Anna Kozlova
884bff7aa3 [java] [refactorings] simplify change signature refactoring
search for overriders in a separate run

GitOrigin-RevId: 64f8d8dfb4c386553f8b9b917d4e740757e7a2f7
2022-01-31 15:42:56 +00:00
Alexey Kudravtsev
306d067698 remove incorrect @Nullable from getIcon() to avoid multiple "returning not null from nullable method" false positives
GitOrigin-RevId: f6db4092c037f563b2b19e909fed325e46af4ebe
2022-01-31 13:45:48 +00:00
Bas Leijdekkers
5ba739b481 small improvements to "Stream API call chain can be replaced with loop" inspection messages
GitOrigin-RevId: 1bb01310db3e3233bf4ef1b1cb40a49ba50e793a
2022-01-31 10:13:17 +00:00
Bas Leijdekkers
64b5b30b64 small improvements to "Stream API call chain can be simplified" inspection messages
GitOrigin-RevId: 97de1fccf08a714baab42068fafcaa3db4c00edd
2022-01-31 10:13:16 +00:00
Bas Leijdekkers
358239888b improve "Redundant step in 'Stream' or 'Optional' call chain" inspection messages
GitOrigin-RevId: 37afe33d6a5e437a80338183e0019bf399fcfc45
2022-01-31 10:13:15 +00:00
Bas Leijdekkers
312cbd98d6 show method calls with () in "Manual min/max calculation" inspection messages
GitOrigin-RevId: 0be6faa7bd6ea391f53bc811fe8f3124424fd950
2022-01-31 10:13:14 +00:00
Bas Leijdekkers
659cdfc319 inspection description tweak
GitOrigin-RevId: fe0040a9fd08a3f25093095a855590fe089af782
2022-01-31 10:13:12 +00:00
Bas Leijdekkers
8a2adc4155 inspection description update
GitOrigin-RevId: 0e44ec56a5c6fd9670234a221afd1678053ff30e
2022-01-31 10:13:11 +00:00
Bas Leijdekkers
da946de5b0 Make New | package-info.java dumb aware (IDEA-287596)
GitOrigin-RevId: e2faf267138c86b4cea9c987ea50fe3815de534a
2022-01-31 10:13:07 +00:00
Alexander.Kirsanov
7a94ea807f [platform, cwm] Migrate API to EditorComposite. Operate on a level of EditorComposites in CWM
GitOrigin-RevId: 2e068286734f8c9a99756d4e77bcc01f2e71f8e8
2022-01-31 09:56:24 +00:00
Tagir Valeev
aec54bdd3e [refactoring] IDEA-287118 Hide under registry key, as it causes performance problems
GitOrigin-RevId: b073238246b2f6b6fa5927a7d3edc67af8f0be68
2022-01-31 07:36:29 +00:00