Commit Graph

423792 Commits

Author SHA1 Message Date
Ilya.Kazakevich
44be55aeee IDEA-333736: Fix tty size for WSL
The problem:
https://github.com/microsoft/WSL/issues/10701

When stdout/err are redirected, WSL reports tty size as 1x1 which breaks `ps` tool (famous "expect trouble" message) that some people might have in profile.

`ttyfix` explicitly sets tty size and inserted by `WslDistribution`.

Tiny refactoring moved `getToolPath` to reuse it


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

GitOrigin-RevId: f33a906b139d22ecdaf0f1b0616ecaaf7bebdd16
2023-11-03 15:35:26 +00:00
Maksim Zuev
de204fe198 [coverage] IDEA-337069 Add deprecated methods for backward compatibility in plugins
GitOrigin-RevId: 99e3f5c93e984a07741df328c7d56e80e38f1195
2023-11-03 15:34:57 +00:00
Ivan Migalev
86e24e87d7 (IDEA-332521) Update wording in log
GitOrigin-RevId: 9bfec43570d8fc3cbca50f18f642aa9e74cfa52d
2023-11-03 15:28:19 +00:00
Ivan Migalev
3fef8c7389 (IDEA-332521) Merge groups for A/B test
GitOrigin-RevId: 750fc55c07e73c72c7d53ef870aac555a3810bfb
2023-11-03 15:28:15 +00:00
vladimir.petrenko
728987fd11 RDCT-555 Sync language level to the client: fix "Root package for module ... must be ..." test failure
(cherry picked from commit dad61f9329d3a35ab76617e6514f067b52cfdf55)

IJ-MR-116786

GitOrigin-RevId: 7f8bb2c62e7a33daf8030293620e5801cf1eb7dd
2023-11-03 15:17:04 +00:00
vladimir.petrenko
bd349939e2 RDCT-555 Sync language level to the client: modules and dependencies refactor
remove unnecessary dependency on kotlin serialization module from `intellij.platform.core` module (it is an OpenAPI module, some test failed)

move all changes from `intellij.java.frontback.psi` module to `intellij.java.frontback.psi.impl` module so that there will no be a dependency on kotlin serialization modules in the `intellij.java.frontback.psi` module because `intellij.java.frontback.psi` module is an OpenAPI module (some test failed)

(cherry picked from commit a3fa1ab533734442fb6691b0162b3f930a66d9bc)

IJ-MR-116786

GitOrigin-RevId: 81bf0153f9528d9ec58e6b557fa0b7aee80a2c46
2023-11-03 15:16:59 +00:00
vladimir.petrenko
44e2e2673f RDCT-555 Sync language level to the client: rename, docs
(cherry picked from commit 424eaf84b82de71398835516cdfb40d7c6e93035)

IJ-MR-116786

GitOrigin-RevId: 437d362879e9bdcd767885da277e263696993068
2023-11-03 15:16:58 +00:00
vladimir.petrenko
b942f66cd6 RDCT-555 Sync language level to the client: flows related improvements
(cherry picked from commit e9433749a58e082a6f8a6c4e12b1c320990d2733)

IJ-MR-116786

GitOrigin-RevId: b3ee7b7624658326546e35afa4f9d1dc66b9723e
2023-11-03 15:16:53 +00:00
vladimir.petrenko
beaffbe96a RDCT-555 Sync language level to the client: get rid of JavaLevelPerVirtualFileHolder
(cherry picked from commit 270bb57bb961c668ecbae3c43e334c64d80c7bf7)

IJ-MR-116786

GitOrigin-RevId: d8bf777c995f72ddc138b2e60e1ee31e2615779f
2023-11-03 15:16:52 +00:00
Artem.Bukhonov
746fed4bf3 RDCT-555 Sync language level to the client
Improve per file reporting

(cherry picked from commit fc2155d8743ee9da93b79921e30466208cf68b95)

IJ-MR-116786

GitOrigin-RevId: f3da21fdea6ea72a9f389b93f0c4ace607c0d737
2023-11-03 15:16:48 +00:00
vladimir.petrenko
93daf5ab14 RDCT-555 Sync language level to the client: review fixes (IJ-MR-116786)
- more info log.error
- handle more possible exceptions
- in *.xml-s: use more modern "content" approach to include xml from another module. Add `package` attribute because it is necessary in case of including via "content"
- use "suspend-friendly" read action invocator
- little concurrency problem fix
- remove `ModalityUiUtil.invokeLaterIfNeeded` because its initial purpose to ensure to work with protocol on EDT is not actual in this version of code

(cherry picked from commit 3c2bebbfb3b5c27495df983bd834aeb4705c54bc)

IJ-MR-116786

GitOrigin-RevId: d58505efc9f6f00918df07f7a43e5bda12ca5a04
2023-11-03 15:16:47 +00:00
vladimir.petrenko
9d44ee30f4 RDCT-555 Sync language level to the client: new API impl
(cherry picked from commit 1083ea9c2392cb8c2d687610caf2d8fc86c20910)

IJ-MR-116786

GitOrigin-RevId: a66822074e5fafb6582ec1a2ab856d443a6a6c7e
2023-11-03 15:16:45 +00:00
Artem.Bukhonov
99fb26aa64 RDCT-555 Sync language level to the client: new API proposal
(cherry picked from commit 890470e6725047c4323d947fc8311679cfb8040c)

IJ-MR-116786

GitOrigin-RevId: 969b369e8d7a2d900076fa0ea1771a6b54ab8e19
2023-11-03 15:16:44 +00:00
vladimir.petrenko
00f4fbda86 RDCT-555 sync java level for virtual files to thin client
(cherry picked from commit 8ecc3301571b39ebbcbe9149278c2b0b49025b21)

IJ-MR-116786

GitOrigin-RevId: bc2b9991146b8ede984eeb70f2667fc6caee1290
2023-11-03 15:16:42 +00:00
vladimir.petrenko
36ece0465d RDCT-555 sync java level for project level to thin client
(cherry picked from commit 5dff4bd57beb4db310ee5bb3ce745a8f32d16484)

IJ-MR-116786

GitOrigin-RevId: e6d4c2a3a1457088e2398e8dadbcfc9e664b3224
2023-11-03 15:16:41 +00:00
Aleksey Pivovarov
3947548741 EA-934127 git: fix AlreadyDisposedException
GitOrigin-RevId: 3d9e3b290799f60f4b556462c9613b4181142a43
2023-11-03 15:13:21 +00:00
Frederik Haselmeier
5d48f8b9e9 [kotlin] Reverted incorrect fix for KTIJ-27111. Instead, do not run service for non-Gradle projects.
Added a clarifying comment as to why and when the code that was removed is need.

KTIJ-27111

GitOrigin-RevId: 2f9fa9ee84013559f29a9651319784667904de16
2023-11-03 15:06:48 +00:00
Ivan.Yarkov
a2a0d9d91d RIDER-95730 introduce file structure toolwindow and popup caching for current editor
It also fixes RIDER-95091 when opening file structure popup disables toolwindow updating on document changes

(cherry picked from commit d6bfb39d50a0b815f62deb4853b83f6959581f4d)

NET-CR-12451

GitOrigin-RevId: 0e1c71996bc8a02b9439cc5f0e3b8db991479efb
2023-11-03 14:48:39 +00:00
Aleksei Berezkin
8b531074ab IDEA-336533 Fixed redundant scrolling in inspection+documentation popup
GitOrigin-RevId: 72cf1d7c3d3f8a130a8a98e3305e5f6da15e3f8a
2023-11-03 14:44:17 +00:00
Alexey Belkov
c742a8bcba [kotlin] K2 OptIn quickfixes: cleanup
^KTIJ-27132

GitOrigin-RevId: cc780357acba187687d861cb0fd1c5f51ba1347c
2023-11-03 14:26:48 +00:00
Toshiaki Kameyama
f312d57e30 [kotlin] Don't suggest opt-in/propagate quick-fix if the annotation is invisible
^KTIJ-27132 Fixed

closes https://github.com/JetBrains/intellij-community/pull/2603

GitOrigin-RevId: 106eaaa98d93e04a958cca75b2e3552c34bab681
2023-11-03 14:26:45 +00:00
Alexey Belkov
e137f98b5b [kotlin] Fix typo in testdata filenames
GitOrigin-RevId: 747167c8a29afbdcc8bf9088a8ae015d73fb7f4a
2023-11-03 14:26:41 +00:00
Toshiaki Kameyama
e1abc1ddf2 [kotlin] "Redundant property getter/setter: fix inspection message for annotated accessor
^KTIJ-27678 Fixed

closes https://github.com/JetBrains/intellij-community/pull/2604

GitOrigin-RevId: d593a6a36f92eaaa5fd0102cc2297d2d6370bc9d
2023-11-03 14:26:38 +00:00
Mikhail Sokolov
ab390a23e6 IDEA-316838 Run widget: configuration list dropdown becomes disabled right after configuration start
GitOrigin-RevId: 5e10b1fa5eca2def28eaeaafeefbc5f2468198c3
2023-11-03 14:17:24 +00:00
Eugene Zhuravlev
c29928fb37 JPS mappings for incremental compilation refactoring: rules for added fields
GitOrigin-RevId: 7b15d686e337638b4a0de921deb0c75b88d57c61
2023-11-03 14:14:11 +00:00
danila.savenkov
05b0f9a86d ML-1747: increment inline.completion log group version
GitOrigin-RevId: 4572ab5f85fe86693ba1917a5b491961a2c32bce
2023-11-03 14:00:59 +00:00
Nikolay Chashnikov
f8b18af601 [build scripts] fix building Windows exe installers with launcher for JetBrains Client
Filter out only the main *.vmoptions file (it's included explicitly), but don't filter out jetbrains_client64.exe.vmoptions file included in IDE distribution (RDCT-521).

GitOrigin-RevId: 452cd7d183061c72958bd0cf7f3fa6f9e89aea25
2023-11-03 13:48:32 +00:00
Ivan Migalev
a287f01e21 (IDEA-327207, IJ-CR-118519) Migrate to LocalFileCustomValidationRule
GitOrigin-RevId: bc149d1ff7c28c694a20fb08802890f5816da3a4
2023-11-03 13:34:15 +00:00
Kirill Likhodedov
47c21837fd notifications: show tool window notification if tool window bars are hidden: IDEA-336977
If the tool window bar is hidden, we can't detect where would the toolwindow button be located. Thus - the same as for the old UI notifications - let's show the notification for the component, which is the toolwindow itself.

Let's also remove the balloon pointer, because it would point to nowhere (especially in the new UI, where it points either to the left, or to the right, while the toolwindow can be located at the bottom).

GitOrigin-RevId: b793d9e1d63ebb9709a239a8c07bff7f26be5314
2023-11-03 13:31:37 +00:00
Pavel Porvatov
b0d3c746e5 [Kotlin UI DSL] Added scrollbar in test action
GitOrigin-RevId: 7d1f7c318355c845fd8287d879f28e6fba43bf31
2023-11-03 13:29:03 +00:00
Aleksey Pivovarov
02f25a3ca8 lst: cleanup popup disposal
GitOrigin-RevId: ae7aedc2aa39b0f9d5872a81e486a9b0f8b784a2
2023-11-03 13:06:37 +00:00
Alexey Kalina
c9e2780abc [fus] ActionsCollectorImpl: get virtual file from CommonDataKeys.VIRTUAL_FILE or PlatformCoreDataKeys.FILE_EDITOR
GitOrigin-RevId: 878de0bb1ab2c4b8893db4fb847357b2055915a7
2023-11-03 12:58:38 +00:00
Mikhail Pyltsin
58bd5a802a [java-completion] IJ-CR-118435 IDEA-335904 Completion in enhanced switch for enum
- fix tests

GitOrigin-RevId: 3aca2ccbd6b0fd15a8510174b7a23b19e6efc971
2023-11-03 12:40:06 +00:00
Mikhail Pyltsin
19eded43f9 [java-highlighting] IJ-CR-118438 IDEA-315469 Quickfixes for switch labels with 'default'
- rebased to ModCommandAction

GitOrigin-RevId: dbb4b099ba7fbd0d8bc57068ade1cea5e77f40bb
2023-11-03 12:40:03 +00:00
Chris Lemaire
6e43a24639 [gitlab] Remove unused reloadData method
GitOrigin-RevId: ea9dd057ae9373aa1df567682cbfcb9c7b7e01a3
2023-11-03 12:17:03 +00:00
Chris Lemaire
6b04339c37 [gitlab] Show 'invalid token' message when user revoked token (IDEA-332704)
This commit channels most of the functions that use `getCurrentUser` as
a check of logged in-ness through a new `getCurrentUserAsResult` function,
which already converts failures into appropriate errors.

GitOrigin-RevId: 4b74e0b46222dc965f45c353d4bcfb140699e48f
2023-11-03 12:17:03 +00:00
Chris Lemaire
f4f8f4304f [gitlab] Always allow submitting review when there's at least text to comment (IDEA-331292)
GitOrigin-RevId: eb6d4013b9a4144b33b8880fb9c6ec05edcc87d0
2023-11-03 12:17:03 +00:00
Nikita Bobko
ffd3a2578e Fix tests
KT-61712

GitOrigin-RevId: c8b03ec692957d17ba03074a997b307561765738
2023-11-03 12:12:37 +00:00
Adam Malek
d4601ed143 ML in SE: Fix companion object in extension in MlStatisticsCollector (IDEA-324837)
GitOrigin-RevId: b00d382250e297fbc2c372f4a4cfb1eed9b48732
2023-11-03 11:48:44 +00:00
Adam Malek
9794c8649a ML in SE: Statistics Collector cleanup
GitOrigin-RevId: 4039303651bbcd619c01fcfffa7a51eae31a363a
2023-11-03 11:48:41 +00:00
Adam Malek
dffa839d35 ML in SE: Fix companion object in extension for feature providers (IDEA-324837)
GitOrigin-RevId: e37a98500b2b87d6727c90546ab0f8a4e929ef9a
2023-11-03 11:48:36 +00:00
Adam Malek
c1a588ed31 ML in SE: Fix companion object in extension for ContributorStatistician (IDEA-324837)
GitOrigin-RevId: b9f9b0aae904d16d31125fb16831c81442ba4a03
2023-11-03 11:48:30 +00:00
Adam Malek
8ca179832d ML in SE: Fix companion object in extension for MlRankingService (IDEA-324837)
GitOrigin-RevId: 2743b54daaa3f6413cfcf4cc03606dd986ce115e
2023-11-03 11:48:24 +00:00
Nikolay Chashnikov
6c9a8dfc4b [build scripts] generate launcher for JetBrains Client in Windows distribution of regular IDEs (RDCT-521)
This change adds jetbrains_client.exe and jetbrains_client64.exe.vmoptions files to Linux distribution.

GitOrigin-RevId: d57393c669bccd3cdbe5570a71b1a668f2497d52
2023-11-03 11:29:17 +00:00
Nikolay Chashnikov
64e39f7953 [build scripts] refactoring: move code which generates launcher and vm options for Windows to separate functions
This is needed to include launchers for JetBrains Client in distribution of a regular IDE (RDCT-521).

GitOrigin-RevId: 71530e7aa778401fb84634497c27ae2973777ddd
2023-11-03 11:29:16 +00:00
Nikolay Chashnikov
67facbbdbb [build scripts] generate launcher for JetBrains Client in Linux distribution of regular IDEs (RDCT-521)
This change adds jetbrains_client.sh and jetbrains_client64.vmoptions files to Linux distribution.

GitOrigin-RevId: 3989939be7538c884a88587a4e7e5007dc34a021
2023-11-03 11:29:13 +00:00
Nikolay Chashnikov
3b8cc991a1 [build scripts] refactoring: allow creating a copy of BuildContext with different ProductProperties without compiling anything
This is needed to create an instance which can be used to generate launchers for JetBrains Client in a regular IDE installation (RDCT-521).

GitOrigin-RevId: 8430f4439dbe66ff396d6a4147f2faa76891144a
2023-11-03 11:29:12 +00:00
Nikolay Chashnikov
0ab4bee2df [build scripts] refactoring: move code which generates script and vm options for Linux to separate functions
This is needed to include launchers for JetBrains Client in distribution of a regular IDE (RDCT-521).

GitOrigin-RevId: bfeec7aa5432bb38c3ef569e6c32a030412dee47
2023-11-03 11:29:08 +00:00
Nikolay Chashnikov
3c8448d666 [rdct] filter out empty lines from custom VM options file (RDCT-682)
Otherwise, JVM fails to start. Also, remove leading and trailing spaces just in case.

GitOrigin-RevId: f7a60a21d26d9a93912453c8fa0058c4fef10fd3
2023-11-03 11:29:05 +00:00
Nikolay Chashnikov
45704d4846 [rdct] logging: print process output to the log if the embedded client failed to start
It isn't shown in the UI if the client is launched not in the context of some project, making it hard to diagnose problems like RDCT-682.

GitOrigin-RevId: 13913706114eb71075c31e009e209d8642d83983
2023-11-03 11:29:04 +00:00