Commit Graph

928 Commits

Author SHA1 Message Date
Louis Vignier
7ccd3af88d [jdk] Introduce ExternalJavaConfigurationService and migrate SdkmanrcWatcher
#IDEA-355295

GitOrigin-RevId: bbcefd977b5d88e3a8b0d137b1b5cfda6eb3050a
2024-07-19 14:33:47 +00:00
Aleksey Dobrynin
c96bc2d64f [java, import-module] resolve "import module" jep 476 IDEA-355535
GitOrigin-RevId: 4a4ee8cfafdba657d062317d3e014061af69a3e4
2024-07-17 12:27:11 +00:00
Yann Cébron
6e1285e760 plugin descriptors: remove obsolete suppression comments for 'PluginXmlValidity' inspection
GitOrigin-RevId: 25a17cf82be4c35d4e12472e392aea15b55ea105
2024-07-16 18:55:00 +00:00
Georgii Ustinov
a3196c0297 [Java. Code Formatting] Remove bad way of migration JavaCodeStyleSettings
IDEA-110857

GitOrigin-RevId: b44f2d53170f7753d5c7c61d1caec72e0af3c432
2024-07-11 12:29:38 +00:00
Georgii Ustinov
4f741ef16c [Java. Code Formatting] Create a migration activity for java codestyle settings
IDEA-110857

GitOrigin-RevId: 6469cfd69acf5e68dad3cced70942326ebde1c7c
2024-07-04 19:56:48 +00:00
Yann Cébron
4504284ed9 [various] plugin descriptors: suppress "Invalid extension point name" warnings
we can't change existing names in a backwards-compatible way

GitOrigin-RevId: 46f8980842d90dd1aae3ce5a9a32dfd4afc30735
2024-07-03 20:24:32 +00:00
Louis Vignier
e36368c437 [jdk] Add an action to add a JDK from the disk
#IDEA-278404

GitOrigin-RevId: 3a76079870980ef43276a9bdcea520e74a00ce2d
2024-07-03 15:56:41 +00:00
Louis Vignier
825e125cfa [jdk] Add an action to download a JDK
#IDEA-278404

GitOrigin-RevId: ba0c3940d2d1909cc3831a37d20e84841c295a6d
2024-07-03 15:56:41 +00:00
Nikolay Chashnikov
f3ab5a172e [jps build] provide a way to pass workspace model to the JPS build process in serialized way (IJPL-409)
If newly introduced 'jps.build.use.workspace.model' registry option is enabled, required modules and libraries are added to the JPS build classpath, paths to global and project cache file for the workspace model are passed to the build process, and it loads the project model from them instead of reading the project configuration files.

It's an experimental approach, and it isn't fully implemented yet:
 * it doesn't ensure that caches are up-to-date;
 * the cache currently cannot be loaded by the build process because it references entities and other classes aren't available in the build process (e.g. ScratchRootsEntity and VirtualFileUrlBridge).

GitOrigin-RevId: 54a4a49566ca9dd0433c7a13251c2e28fc051e78
2024-07-01 14:04:06 +00:00
Bas Leijdekkers
2fce834c88 Move registry key to Java plugin (IJ-CR-137130)
GitOrigin-RevId: eb6da35f1760cc93aebed16c46bdc48f08e97353
2024-06-24 19:20:28 +00:00
Yuriy Artamonov
b333fe8ad9 [codevision] IJPL-156683 Simplify changing the default alignment of inlay hints in IDE
GitOrigin-RevId: e18312174ae63c4bfcf00941963628a748ade580
2024-06-21 22:13:16 +00:00
Alexander Kuznetsov
948d66738b [debugger] IDEA-348853 implement Java evaluator statistics
GitOrigin-RevId: d06e86bdcf53ab2190c055d82f39241559f8cfd6
2024-06-20 17:48:42 +00:00
Alexander Lobas
89d58ee436 IJPL-150231 Move icon mappings from json to icon generator
GitOrigin-RevId: 4d4576fc7eeb92ec43c36abec2d62d271b45d9a4
2024-06-15 23:19:46 +00:00
Yuriy Artamonov
b9416a8db9 [java] IJPL-34876 Declare icons and texts for ParseSdkmanrcAction declaratively
GitOrigin-RevId: 16e5d519d8be7f64fd5f286580d70c96c91d72de
2024-06-15 21:01:31 +00:00
Louis Vignier
ae1c936551 [refactoring] Rename RenameCodeVisionSupport to RefactoringCodeVisionSupport
GitOrigin-RevId: e8019906e00d1d283c580516620f883d10074a6b
2024-06-14 08:36:17 +00:00
Mikhail Pyltsin
baa43b9496 [java, compilation-charts] fix: plugin configuration
GitOrigin-RevId: ebda075c469a3a36c9da53bbaba4a5b37f42d19d
2024-06-12 15:52:20 +00:00
Aleksey Dobrynin
2edba4709f [java, compilation-charts] support compilation charts for JPS and Maven IDEA-346294
GitOrigin-RevId: 1a81a298541f02ae165dfb8327b5899614f1d195
2024-06-12 15:51:14 +00:00
Yuriy Artamonov
1c8007802f [java] IDEA-353004 Spring: configuration file type usage statistics
GitOrigin-RevId: 5741e29765d90a8898a3e12f85c371053318a3f4
2024-06-08 13:32:08 +00:00
Bas Leijdekkers
4777c9dd1b new "String template can be concatenated string" inspection (IDEA-349463)
GitOrigin-RevId: 84871569e435e1f1cd5c06814781739baf977cae
2024-06-07 14:19:07 +00:00
Louis Vignier
7418e0a4e3 [java] Make JavaTelescope single-threaded by default
#IDEA-353396 Fixed

GitOrigin-RevId: 725d8ee33cd2fa828fc2a522332c58e3f28ce586
2024-05-31 11:35:48 +00:00
Eugene Zhuravlev
4e442deca3 introduce "unified IC implementation" advanced compiler setting to enable dep-graph based IC
GitOrigin-RevId: 799fd4aefb2ba35db1ac3addfb1724f81d5d6c58
2024-05-22 20:44:32 +00:00
Dmitry Batkovich
efea905a99 add a way to disable trigram index (and implement it for java library sources) IJPL-188
GitOrigin-RevId: 326cf1677d3e36003f52cc5e12ef56ea75a2b109
2024-05-22 07:44:50 +00:00
Georgii Ustinov
88bdd2c5fe [Java. Code Formatting] Remove AdjustWhitespaceLineTextBlockReformatPostProcessor
IDEA-351758

GitOrigin-RevId: 18d153fcbcf7edfcd00e2fae87ddd98c40610d8a
2024-05-13 13:59:09 +00:00
Mikhail Pyltsin
a87cef51de [Java. Code Formatting] Add support to align last line in text block if there is no symbols
IDEA-351758

GitOrigin-RevId: fca446697ac8eb5f1c24fbb3a1bf72924a48a65a
2024-05-13 13:59:09 +00:00
Bas Leijdekkers
980dd5790c java: allow using the "Unused declaration" editor inspection in batch mode (IDEA-248182)
hidden behind registry key: batch.inspections.use.local.unused.declaration.as.global

GitOrigin-RevId: 535a45e8e6fa9e9901b981d9ac2234dee3b26695
2024-05-03 16:06:52 +00:00
Georgii Ustinov
46739d9b2f [Java. Code Formatting] Implement CaretRestorationDecider EP
IDEA-271085

GitOrigin-RevId: 035392dbd0c66bf273a31f5e829ce30ba811ca9d
2024-05-02 21:02:42 +00:00
Vladimir Krivosheev
9e23996158 IJPL-148294 extract vcs functionality from java plugin to separate modules (so, for example, SH tests can be executed without VCS)
GitOrigin-RevId: f19565ca367bc668cefaafde0dc2209c5b2c3eba
2024-04-29 15:45:33 +00:00
Louis Vignier
a33d7253a0 [jdk] Add a checkbox in the settings to disable JDK updates
#IDEA-330415 Fixed

GitOrigin-RevId: f669e4e59832816fe5fb7d9107ca24dd03ed60b0
2024-04-26 19:56:08 +00:00
Georgii Ustinov
1486f7144b [Java. Code Formatting] Add tests for AdjustWhitespaceLineTextBlockReformatPostProcessor + fix old ones
IDEA-271085

GitOrigin-RevId: cfa961cba18cede97ebd81358526757886fd7861
2024-04-26 14:51:14 +00:00
Georgii Ustinov
1aa9d5f3bf [Java. Code Formatting] Implement basic functionality for AdjustWhitespaceLineTextBlockProcessor
IDEA-271085

GitOrigin-RevId: 1c107f65b67453d7bd3ebe89727e53d58526ee96
2024-04-26 14:51:07 +00:00
Tagir Valeev
a9c502e8d3 [java-inspections] IDEA-352283 Turn off Unreachable code inspection by default
GitOrigin-RevId: 0d88d38267fdc2692a22f3314fa0842028611456
2024-04-22 12:55:39 +00:00
Egor Ushakov
2a749b733a [kotlin debugger] do not replace the whole coroutine stack with async, only replace the required parts
GitOrigin-RevId: 8748e30421545e44464f3dd490ba87d85911744a
2024-04-21 11:14:49 +00:00
Denis Zaichenko
321a940823 IDEA-22318 Merge VCS conflicts in "import" statements
GitOrigin-RevId: 6a228e8d5d16637cdcf53369a2818cda014e9214
2024-04-19 17:09:23 +00:00
Roman Ivanov
5887fe8221 [java] implement constant pool parser and build id index using it for class files in jars IDEA-327594
GitOrigin-RevId: fff7c155b86e950e547fd8d01f142867c03c7c5c
2024-04-19 14:19:21 +00:00
Roman Ivanov
4a4ec64d2e Create java module file type
GitOrigin-RevId: 57870035dccbd5d35c331a4ddfc3d088edcf8aba
2024-04-19 14:19:04 +00:00
Dmitry Pogrebnoy
b600dab5d4 IDEBIS-32 Kotlin Debugger survey
IJ-CR-131023

GitOrigin-RevId: cd6ccfbf36f3c505b2ef7ab0338fccc977ef67d1
2024-04-17 16:19:26 +00:00
Mikhail Pyltsin
678b932b33 [java-compiler] IDEA-290373 Check sensitivity for reference index.
- Use root to check case-sensitivity by default

GitOrigin-RevId: 1ee64c32753f049d518aec51b48ab266a4a881b2
2024-04-16 13:53:49 +00:00
Alexander Kuznetsov
b365997b66 [profiler] IDEA-349516 performance charts in the Run toolwindow, under the registry key for now
GitOrigin-RevId: 073616ba6ba407ea38f96dc3ebdca54a6f75a611
2024-03-27 21:19:11 +00:00
Louis Vignier
9b9f155f70 [java] Warn on JDK/OS arch mismatch when building the project
- Sends a sticky balloon notification on the first build with a JDK every session in case of arch mismatch (shown again after changing JDK)
- New checkbox in Build | Compiler | Java Compiler to disable warnings

#IDEA-343661 Fixed

GitOrigin-RevId: ac9b36b05403ac38acc7a55944850608f86d4e59
2024-03-26 18:18:48 +00:00
Bas Leijdekkers
38c4c3d441 [java] move "Return value is outside of declared range" inspection to Probable Bugs group (IDEA-347634)
GitOrigin-RevId: 816ff8462b88d4c059bfe9886ea5b4f243cc4304
2024-03-21 11:04:42 +00:00
Kirill Likhodedov
ba0d2499cd internal-tools: move the InvalidCompilationListener to the internal tools
There is no demand for the feature in the Java plugin at the moment. At the same time, we'd like to extend it by some internal capabilities like reporting to Slack, which is more convenient to do when the whole feature is located in a single module.

GitOrigin-RevId: 0249858bb6824a3cab4e416b9ebc2eb83ba295ae
2024-03-18 13:17:48 +00:00
Georgii Ustinov
42a14ce93c [Java. Logging] Move logger resolving to the JVM analysis bundle
IDEA-342484

GitOrigin-RevId: 9f98a40539d33fce41d109c4544b8daf5719f2d8
2024-03-15 13:34:56 +00:00
Georgii Ustinov
873e19bccd [Java. Logging] Basic implementation of resolving for SLF4J without
IDEA-342484

GitOrigin-RevId: be7a234eeb032c5e67fc5686d21bfc1c6726b616
2024-03-12 16:12:59 +00:00
Georgii Ustinov
b10993a349 [Java. Logging] Create JvmLoggerUsageSearcher without implementation
IDEA-342484

GitOrigin-RevId: fadd7fbc6ed41dbbe3d329ad1f60ff75343768fa
2024-03-12 16:12:52 +00:00
Georgii Ustinov
67c41491e8 [Java. Logging] Migrate JvmLoggerFormatSymbolReferenceProvider template to UAST
IDEA-342484

GitOrigin-RevId: 693bfafb2cc7bd8d1285b5f49b57ddc09c4e595e
2024-03-12 16:12:19 +00:00
Georgii Ustinov
ba0de450ce [Java. Logging] Base implementation of logger resolve call arguments
IDEA-345098

GitOrigin-RevId: 9ce28e3474969fe3aa5cbf72835a97e1d8198ece
2024-03-12 16:12:12 +00:00
Aleksey Dobrynin
59caea7b12 Revert " [java, highlighting] add standard "jigsaw" modules from the user's JDK for non-modular projects IDEA-259485"
This reverts commit 8e172c5f75f1d0840fbd48206c4e4708f47084fc.

GitOrigin-RevId: 01871c48dca312f03d9b97a22ecf3602b7714613
2024-03-11 17:59:22 +00:00
Aleksey Dobrynin
1693569519 [java, highlighting] add standard "jigsaw" modules from the user's JDK for non-modular projects IDEA-259485
GitOrigin-RevId: c006ccb6680010eed93cf956befcfdcebaa7551b
2024-03-08 18:49:36 +00:00
Aleksey Dobrynin
3d708aa8d7 [java, completion] generate a provider method while using jigsaw services IDEA-347698
GitOrigin-RevId: 146fa445dcb5426eba5d8fa1d4e1a61d892cee18
2024-02-29 10:42:41 +00:00
Louis Vignier
723a1aae8a [fus] Add FUS for ProjectWizardJdkComboBox
GitOrigin-RevId: 8f53ca0c93d576109b6f47b9dcff585b5babb91b
2024-02-22 19:03:07 +00:00