Commit Graph

69 Commits

Author SHA1 Message Date
Louis Vignier
0a10bd37e2 [compiler] Use UI DSL in CompilerConfigurable
GitOrigin-RevId: 8e337ec0932da57c78ce124816e4641459235cee
2024-03-22 17:23:46 +00:00
Vladislav Rassokhin
2fc97b069b [jps caches] Replace "JetBrains Internal Authentication" with "Space" plugin (IJI-1252), i18n fixes
Hidden notification group don't need a name

GitOrigin-RevId: a5b67c97039b2d76f7e0de46fb9920b5c641007b
2023-12-15 13:35:23 +00:00
Mikhail Pyltsin
87e2d5c58f [java-execution] IDEA-327658 Freeze due to non-cancelable RA in ShowAffectedTestsAction.findMethods.
- do not run until it calls explicitly

GitOrigin-RevId: 17ed84ad5ed3d675898a50fea547c21c265270b9
2023-10-12 17:01:04 +00:00
Mikhail Pyltsin
2dd32d9d08 Revert "[java-execution] IDEA-327658 Freeze due to non-cancelable RA in ShowAffectedTestsAction.findMethods."
This reverts commit 79b7ec3902cd374dd8b2e16196154df15752d36d.

GitOrigin-RevId: daa7dd27676e582bcfcfd45987cc25e4a28a6fcb
2023-10-05 22:28:46 +00:00
Mikhail Pyltsin
dc24b17a29 [java-execution] IDEA-327658 Freeze due to non-cancelable RA in ShowAffectedTestsAction.findMethods.
- not run until it calls explicitly

GitOrigin-RevId: 79b7ec3902cd374dd8b2e16196154df15752d36d
2023-09-15 15:07:08 +00:00
Dmitry Batkovich
ef5c4b3adb compiler ref index: do not show progress indicator on compiler reference index initialization IDEA-323288
GitOrigin-RevId: 7876ded9462c8c7ea21cedb0b77f532f566ebb0c
2023-08-09 07:46:45 +00:00
Vladislav Rassokhin
8dc99d8df1 [jps caches] Replace "JetBrains Internal Authentication" with "Space" plugin (IJI-1252)
GitOrigin-RevId: 2f77b3037b862a996c0febf43410e94eba00f790
2023-07-31 18:02:56 +00:00
Tagir Valeev
0ffaede2b9 [java-inspections] ClassCanBeRecordInspection: simplify options; convert to OptPane
1. Radiobuttons -> checkbox
2. Remove annotation class selector, keep only textual input field (decrease of usability but people would rarely type a class name explicitly there, as we have a quick-fix)
Part of IDEA-313775 Process remaining inspections that have swing options panel

GitOrigin-RevId: f481bf923209cecb668e3b41370b52af029b1ed6
2023-07-07 15:57:36 +00:00
Nikolay Chashnikov
4167f4a603 [java] rewrite UnloadedModulesCompilationCheckinHandler to run computations on a background thread (IDEA-308600)
GitOrigin-RevId: 8e63afc07ae258aa557bf0d7e49c6c259725c90a
2023-06-30 11:00:03 +00:00
Eugene Zhuravlev
17cc4455c8 require the SDK for running JPS build to be located in the same WSL distribution where the compiled project is stored (IDEA-319240)
- JPS process: added WSL path conversions for the SDK home path
- added diagnostics if build JDK's WSL distribution does not match the project's WSL distribution
- altered JPS build alternative SDK selection policy (triggered if neither of JDKs associated with the project is supported): now canditates will be searched in the ProjectJdkTable, and if nothing suitable is found there, the IDE's runtime SDK will be picked.

GitOrigin-RevId: 666fa9c7ea6657b730bf7641aadc5f22086d89f0
2023-05-05 17:57:59 +00:00
Ilya.Kazakevich
382a86c6e1 Cleanup and document WSL network connectivity for cases like PY-59150.
* Unify host and WSL fetching logic
* Handle error explicitly by exception
* Extract messages
* Log stdout/stderr to logs, not to show em in dialogs
* Test added

Cleanup and document WSL network connectivity for cases like PY-59150.

* No need to deal with IP address obtaining problems each time: encapsulate it in ``WslDistribution``.
* Use one registry key to switch to ``127.0.0.1`` for Windows To Linux connection
* Document current approach and usage
* Make methods not nullable (some usages do not check null at all)

Merge-request: IJ-MR-106936
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com>

GitOrigin-RevId: 8bb9415ea9859e76365dff79a57d2b4661897334
2023-05-05 12:25:02 +00:00
Mikhail Mazurkevich
f956ed50ed [jps caches] IDEA-311017 Avoid showing confusing notifications and ask to log in again
GitOrigin-RevId: 9f0cd6fd59f63431b130fcbe398514736e43e5bb
2023-02-23 15:22:04 +00:00
Tagir Valeev
11dae3785d Use short ellipsis for build log unification
GitOrigin-RevId: a77a2a1bc46ab81e93561639552393a929011ee6
2023-02-15 17:02:43 +00:00
Eugene Zhuravlev
16c1c15d7a JPS: cancel currently running build on project closing
GitOrigin-RevId: edce4b864acdb1e9129b26c68fa2fbce0b5b049f
2022-12-12 13:37:26 +00:00
Artem Khvastunov
944ca4e316 IDEA-297797 add option to delete old caches asynchronously during build
By default, the IDE deletes old caches synchronously that makes the build process twice longer (8 vs 4 minutes). The downside is that the deletion might not be completed if the build process is fast enough. In this case, garbage will pile up under 'system/plugins'. That's why this option is disabled by default.

Additionally, we try to use rsync on *nix systems that works faster than Java NIO or even rm. When the build process finishes, rsync continues working as its process is inherited by the root process. This might not be expected by allows to make things done.

GitOrigin-RevId: f864b0b703a898bec2267e2d19cb5536483c89c0
2022-10-21 18:31:09 +00:00
Dmitrii Gridin
57325b4126 [cri] update progress name to "Checking build up-to-date status"
GitOrigin-RevId: bb78abde8a463c23a71441a6502a0b0d1b90c037
2022-09-15 12:15:05 +00:00
Vladimir Krivosheev
ea6a22250d ProblemsViewImpl - create UI only when needed, rename "Classes up-to-Date Check" to "Refresh Compiler Reference Index", don't use extra thread for this activity
GitOrigin-RevId: 9c7e8083f1d13fe5c33b43efa6674d4d1e365c4e
2022-07-23 11:17:17 +00:00
Mikhail Mazurkevich
4966f7ef3c [jps caches] Add configuration settings for cache download
GitOrigin-RevId: a2abd62bd7e4afe5efa7c0a71df983fdd7c43617
2022-06-29 22:04:54 +00:00
Mikhail Mazurkevich
a2a387f8dc [jps caches] Fix review notes
GitOrigin-RevId: 36a597f7ff4960ce6e4a03c70d3b48661e9e4c96
2022-01-21 20:41:41 +00:00
Mikhail Mazurkevich
01c044ffa9 [jps caches] Cleanup commented code and add CRLF check for Windows
GitOrigin-RevId: f09d51b424563420f198fd33e0c4fedee919afb4
2022-01-21 20:40:30 +00:00
Mikhail Mazurkevich
ebd198f8b7 [jps caches] Update notification
GitOrigin-RevId: 5e95b0c91b5a1fa5e8f163800538f9c32dada9e8
2022-01-21 20:40:27 +00:00
Mikhail Mazurkevich
7da2e4d6a9 [jps caches] WIP on move to JPS
GitOrigin-RevId: eaa1fdc8c97c09f7b70d043463509d845de1875d
2022-01-21 20:39:50 +00:00
Dmitry Jemerov
398a58faea i18n and normalize names for notification groups in Java plugin (IDEA-256552)
GitOrigin-RevId: 13f4bce1a4753d5575fe1404115832c0abb5602c
2022-01-10 15:48:00 +00:00
Dmitry Jemerov
45bae4bd07 i18n and rename for a couple of notification groups (IDEA-256552)
GitOrigin-RevId: 6f2685743ff106ab399c785ccc1236aa6b148e33
2022-01-07 22:38:38 +00:00
Alex Plate
2c8b118e3f Revert "[IDEA-270680] Use an ellipsis character in several bundles"
Temporally revert ellipsis

GitOrigin-RevId: e7e60813b6e7a6f724cc066708caaabe3cb8ca54
2021-10-26 12:07:12 +00:00
Alex Plate
3b0f1bd681 [IDEA-270680] Use an ellipsis character in the Java Compiler bundle
GitOrigin-RevId: 8456fecc003d84c47748ec2f742a9ddadb12de0b
2021-09-28 14:03:20 +00:00
Tagir Valeev
33884c70e3 [java-compiler] Properly localize MakeModuleAction presentation
GitOrigin-RevId: 3a4ace4dfb390f048f341b1f3181b43e6dd84f5e
2021-07-01 09:44:14 +00:00
Alexander Doroshko
7204eca67b IJP-630 (wip) Update comment for 'Build Project' option on the Actions on Save page
GitOrigin-RevId: 9046e04db9f10bd0c1013ad125cd2e258234237a
2021-06-06 21:43:36 +00:00
Alexander Doroshko
62486562d2 IJP-630 (wip) Add 'Build Project' option to the Actions on Save page
GitOrigin-RevId: 977ca695e504f61fe24de37f192634178519536a
2021-06-04 18:33:29 +00:00
Dmitry Jemerov
49b08ff66b First take on associating plugins with dependencies (IJP-877)
GitOrigin-RevId: 037a1edb2bc2f24d1c74f40ed5f5f9c8066c0635
2021-05-14 16:54:51 +00:00
Dmitry Jemerov
f84b484910 Minor changes to property text
GitOrigin-RevId: 092014ff06bbb467faa0ffd0f05d41aa96902525
2021-04-06 16:34:26 +00:00
Ilyas Selimov
d692e299bc IDEA-265157 - moved jpms jlink part from compiler to jps.build module, some UI remarks
GitOrigin-RevId: e1b88b157dcbfd1d6e546064a010b5a20206b161
2021-03-30 08:42:09 +00:00
Ilyas Selimov
fdfa32d491 IDEA-161641 - small refactoring
GitOrigin-RevId: fd7ef351dbd9abd0f27cb519de6e11bb2f3964b6
2021-03-26 04:13:54 +00:00
Dmitry Jemerov
6bd72fd784 Nicer diagnostics for WSL to Windows connections blocked by firewall (IDEA-262876)
GitOrigin-RevId: 98d834398cedb74e2dfa7493f09bca6bbd2f539b
2021-03-18 18:06:59 +00:00
Eugene Zhuravlev
a3f4416519 made cpu snapshot notification action dumb-aware
GitOrigin-RevId: 949ebc0c93681a5fcb6f2219b7d40f76eec3352a
2021-02-04 18:09:08 +00:00
Dmitry Jemerov
b2e55f797d Report progress when copying JPS jars into WSL
GitOrigin-RevId: 87e88bc23867e0a754238aa4070c7f0778c140a4
2020-12-04 19:09:06 +00:00
Eugene Zhuravlev
809200f825 annotation processing "proc:only" mode support (IDEA-253719)
GitOrigin-RevId: 24a2dc446de47bf223b83329a0bc1a87992306e7
2020-12-02 12:51:32 +00:00
elena.kozlova
9086a320f3 proofreading for the localization sprint
GitOrigin-RevId: 721f013453d79df2ee2be6c637e5dc357c18cb37
2020-11-30 22:16:01 +00:00
Dmitry Jemerov
4d0468d164 i18n for WslBuildCommandLineBuilder
GitOrigin-RevId: 1ee561cc3c68534d2145caa45b4c3ba9b8106320
2020-11-19 13:55:46 +00:00
Maxim.Kolmakov
c3be9a7ccc IDEA-240070 Automate external build process profiling
Show notification about captured snapshot

GitOrigin-RevId: ae11e7e08ca0aa3d873d8e8d2777d6711e255a1f
2020-11-05 08:26:05 +00:00
Anna Kozlova
000993f3cc remove unused property
GitOrigin-RevId: 1d6265849dd1dbb6e1e4963675c8ff1db05d2c4e
2020-10-29 18:48:44 +00:00
Eugene Petrenko
61d2e29d82 jdk-auto: use non-modal notifications for compile actions, IDEA-253119, IDEA-240999 + cleanup
GitOrigin-RevId: 255b41fae7b851d92da2ca1e3c7a2d28c1acb475
2020-10-16 23:46:50 +00:00
Eugene Petrenko
4635352640 jdk-auto: use non-modal notifications for compile actions, IDEA-253119, IDEA-240999
GitOrigin-RevId: ec7b75fef53b2261b6638b4f9034f8424f502778
2020-10-16 19:44:13 +00:00
Eugene Petrenko
6b9ddc26f7 compiler: IDEA-253119 - use TOOLWINDOW notification to deliver configuration errors
GitOrigin-RevId: 25f7f1cbf1fde7663c3e5446d9fb47db812dcdf6
2020-10-16 19:44:06 +00:00
Anna Kozlova
0c13f7a415 misc i18n fixes
GitOrigin-RevId: b467f06ae5e1c7c812691910a2bf571a739d9bc9
2020-10-16 10:47:20 +00:00
Daniil Ovchinnikov
066d57a271 IDEA-140344 allow to override heap size locally without modifying VM options
Effective value is determined in the following order:
1. user-local heap size;
2. user-local VM options;
3. shared heap size;
4. shared VM options.

3 already had higher priority than 4, so newly added 1 has higher priority than 2 for consistency.

GitOrigin-RevId: 9677822c66c02c047cec602d757cd3591dd881b3
2020-10-06 15:18:17 +00:00
Eugene Petrenko
a0e08cb81c jdk-auto: cleanup API, fix messages and presentation, make it run locally
GitOrigin-RevId: 645b87cd4f4426a6e5578ead0db9aed8ada2f413
2020-09-28 14:57:57 +00:00
Eugene Petrenko
b682ef38b5 jdk-auto: IDEA-240999 - include unresolvable SDKs to the list. Yet another presentation experiment
GitOrigin-RevId: 3d47664bfc856b05533bfe470166d2926f391326
2020-09-28 14:57:34 +00:00
Eugene Petrenko
d50f3475a9 jdk-auto: IDEA-240999 - use another error message for SDK check
GitOrigin-RevId: 0b45090bcc552d6cb548aaf0665d71bcd6d0c83e
2020-09-28 14:57:32 +00:00
Eugene Zhuravlev
059a3b853a i18n inspection fixes
GitOrigin-RevId: b3f625e3073d233db654ed788d9dc41e22567ad7
2020-09-14 17:43:56 +00:00