Commit Graph

449167 Commits

Author SHA1 Message Date
Rustam Vishniakov
a3c6a2e2cb [formatter] Reuse test project, don't create another one (see IJPL-158451)
GitOrigin-RevId: 7580a8a9cb4562fc1a0613fe68e276458fbd0acd
2024-07-17 15:54:44 +00:00
Vladimir Dolzhenko
d6ee2e080d Add more diagnostic to catch visitor throwing PCE during highlighting
#KTIJ-30344

GitOrigin-RevId: 55e7f70212e37286e0604666634ba9db69c3dd6e
2024-07-17 15:43:48 +00:00
Ruslan Cheremin
e936c9d179 [core] CancellableComputation: a replacement for DiskQueryRelay
+ test for DiskQueryRelay legacy behavior

GitOrigin-RevId: 10c3216a7c72ed6537c2580763b309bce19b326b
2024-07-17 15:40:11 +00:00
chbndrhnns
c274285cae PY-66043: Resolve module references in PYTEST_PLUGINS
close #2814


Merge-request: IJ-MR-140174
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: 4a7d46178ceedc283345980f118fbe607d84e685
2024-07-17 15:38:34 +00:00
Nikita Kudrin
ecedd0df00 [remdev] Attempt to stabilize RemoteDevTerminalTest test
GitOrigin-RevId: eed51199fc41c6b794df892fed3d94f881398560
2024-07-17 15:31:59 +00:00
Mikhail Mazurkevich
629be18c01 [workspace model] IDEA-356368 Enable trace logging for jps serialization
GitOrigin-RevId: 69cbd28d4e2b7d87265af19ef0afb1361219b4dd
2024-07-17 15:28:10 +00:00
Roman Shevchenko
aeb6fe3619 [ui] the "open project or file" chooser should not peek into directories outside the user's home (IJPL-74471)
GitOrigin-RevId: 60c7c311caeb7c2034fd84d1a9534f50c3029eb6
2024-07-17 15:18:07 +00:00
Andrey Vorobev
5e5f5d088f WEB-67650 React JSX: false positive attribute className is not allowed here with the new type evaluation
GitOrigin-RevId: b83ef3b481005bd00466ec94afc8e9d7dc097af6
2024-07-17 15:17:46 +00:00
Vladimir Parfinenko
8648dc5c83 [debugger] highlight only body of lambda breakpoint in Kotlin, IDEA-355640
GitOrigin-RevId: 6bfec1be7e49276b4f8405d97e9de6a9b29a7708
2024-07-17 15:07:53 +00:00
Vladimir Parfinenko
9e1771d783 [debugger] utility function bugfix
getTextRangeWithoutTrailingComments("/* abc */") failed with NPE

GitOrigin-RevId: 7fe65638f0b41501e47d16fe71486b515087169c
2024-07-17 15:07:53 +00:00
Vladimir Parfinenko
1540b94981 [debugger] add more tricky tests for Kotlin breakpoints
GitOrigin-RevId: 19e03cd49a62d9bffcf922aa7d441dda5572ce9d
2024-07-17 15:07:53 +00:00
Vladimir Parfinenko
d0ece29f80 [debugger] highlight only body of lambda breakpoint in Java, IDEA-355640
^IDEA-355640 fixed

GitOrigin-RevId: 51aff8802cb9d705e9f988adab5a7ee890fe8abb
2024-07-17 15:07:53 +00:00
Vladimir Parfinenko
409ef73450 [java to kotlin] debugger/JavaSourcePositionHighlighter
GitOrigin-RevId: f75f32918f551fef4b38e50461fa0702aa276cba
2024-07-17 15:07:53 +00:00
Konstantin Nisht
ce4308311d [platform] IDEA-356265: Limit amount of generated dots in ChannelingProgressIndicator
GitOrigin-RevId: 3f2f279d85a9e883f8f26ea3d8a8752d63b80112
2024-07-17 15:02:11 +00:00
Konstantin Nisht
d7b428e747 [platform] IJI-2040: Do not cancel context job on an exception within invokeAndWait
GitOrigin-RevId: 56e88f4a1fcee69e4b20caeab48592c03f5a0f1f
2024-07-17 15:02:11 +00:00
SirYwell
b22bb694b4 [java-inspections] Remove redundant checks
PR#2804
Reviewed-by: Tagir Valeev <tagir.valeev@jetbrains.com>

GitOrigin-RevId: 1cdce1a99e78603f8727f9a0a2cd10d8e51211f3
2024-07-17 14:41:06 +00:00
Tagir Valeev
3d043f610a [java-completion] JavaMethodReferenceElement: avoid slow-operation during rendering
GitOrigin-RevId: 447a44930da6433b31910f0f8ec76794751fb051
2024-07-17 14:41:06 +00:00
Alex Plate
42da3cf163 [Workspace Model] [IDEA-355596] Revert fork-join for module bridges initialization
This update causes a serious problem that may end up as a dead lock. The details are described in the tickets.

However, this change will revert the performance improvements from IJPL-149482

GitOrigin-RevId: b81ca8592fabc049a7459f000a605f5f14a6c0df
2024-07-17 14:22:51 +00:00
Vladimir Koshelev
68f82c0a1c [pycharm] get rid of PyBoundFunction
GitOrigin-RevId: f851c339dcf9f3e8e6ff9e3554451279bdcefea4
2024-07-17 14:21:09 +00:00
Sergey Pak
cf82c56c8b attempting to fix com.intellij.settingsSync.SettingsSyncFlowTest.concurrent sync does not disable sync during initialization
GitOrigin-RevId: cfdba2e54eb6b14759fc101dc2d534b554f2015e
2024-07-17 14:06:20 +00:00
Roman Shevchenko
5ac939d463 [ui] fine-tuning startup error dialog actions (IJPL-358)
GitOrigin-RevId: df2d405d9e842b25d83ae3fe812a7b6b4f7bac51
2024-07-17 14:05:09 +00:00
Bas Leijdekkers
0274790972 Java: replace with string concatenation should be available when STR processor is not resolved (IDEA-356408)
for "String template can be concatenated string" inspection

GitOrigin-RevId: a996bb1220b5af4b120ba1fd7f6c2ce0859ca41b
2024-07-17 13:55:15 +00:00
Maksim Zuev
e1784264ce [debugger] IDEA-349852 Fix project leak
GitOrigin-RevId: e2726afc92864500e2b1f7cbc3d37d41c9194e0e
2024-07-17 13:50:34 +00:00
Alexander.Glukhov
22c9b72147 [external system api][IJPL-158355] progress event api: dead code cleanup
GitOrigin-RevId: 5bc5327b42a8a7e67e99067b9f9ad42b58b7ba14
2024-07-17 13:44:58 +00:00
Alexander.Glukhov
8ebc1b403c [external system api][IJPL-158355] dead code cleanup
GitOrigin-RevId: fecdaf5df3fbdacc607ef1928870b197b7652c65
2024-07-17 13:44:58 +00:00
Alexander.Glukhov
ee2452f6e9 [gradle][IDEA-356367] wrapped ExternalSystemActionsCollector#trigger invocation with readAction
The new behavior of ExternalSystemActionsCollector#trigger results in IncompleteDependenciesService invocation. As a result, the readAction is required.

GitOrigin-RevId: 4da79d08f959f29d589ca304172ba803ea1323b3
2024-07-17 13:44:58 +00:00
Vladimir Krivosheev
2b8031f4da IJPL-158411 DaemonCodeAnalyzer is not yet fully reliable - restart it even if editor loading is cancelled
GitOrigin-RevId: da38fba659a6a384aaaa7f22cc745eeedf49f99e
2024-07-17 13:39:19 +00:00
Max Medvedev
328531b00d fix PsiModificationTrackerTest#testClassShouldNotDisappearWithoutEvents
It is incorrect to assume that cached psi file is missing after GC because it can have been already created by some unrelated background activity.
To ensure that the cached file is different after gc-ing the previous value, we can check identity hashcode.

fixes IJPL-158486

GitOrigin-RevId: bcf0bc2a1edf18418bd5863a540c48943a110274
2024-07-17 13:32:13 +00:00
Vladimir Krivosheev
0c80ccfaed IJPL-158412 BraceHighlightingHandler - use non-blocking read action
GitOrigin-RevId: 6851e0f04d5e70fb83e18a9202b6087cfd6713c7
2024-07-17 12:43:09 +00:00
Vladimir Krivosheev
ecf94e1a10 IJPL-158412 refactor BraceHighlightingHandler
GitOrigin-RevId: ce9e7b61a42bdb486f2728b28f82486218d407a2
2024-07-17 12:43:09 +00:00
Vladimir Krivosheev
529d4c5e76 Rename .java to .kt
IJPL-158412

GitOrigin-RevId: 065b9629429878d30509a448c45a36c0fd3dc987
2024-07-17 12:43:09 +00:00
Konstantin Aleev
5853af89b5 [services] explicitly set perfom group for add service action group
GitOrigin-RevId: 76a247979fa4576c7d0726a554587dc538339bf2
2024-07-17 12:40:15 +00:00
Konstantin Aleev
be6f809c61 [services] add dependency on platform resources module
GitOrigin-RevId: c0dc41e61f9c9b1a463be126f1629935fc469798
2024-07-17 12:40:14 +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
Daniil Kalinin
e9a6246df3 PY-72185 Implement incremental parsing for PSI leaves for Python
Merge-request: IJ-MR-138193
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com>

GitOrigin-RevId: 7d004677a5b7a4637ea956f13ed85abc0d88604e
2024-07-17 12:15:36 +00:00
Roman Shevchenko
4f263103af Cleanup (typos; formatting)
GitOrigin-RevId: beed335dce14dae4e28911d7ce561048c436b64e
2024-07-17 12:01:46 +00:00
Roman Shevchenko
9b18bd6ec4 [platform] making shiny new IdeTooltipManager more crash-proof
(before the fix it produced ADEs on each mouse move over a startup error dialog)

GitOrigin-RevId: 45a221b85d905ce958aceaa8ec119dfe5057bb99
2024-07-17 12:01:46 +00:00
Alexey Belkov
713072b892 [kotlin] K2 J2K: Initial generic nullability inference
TODOs are listed in the J2KNullityInferrer Javadoc.

KTIJ-29147

GitOrigin-RevId: 2949b6d7c6b72b586ea6d3af89d0f2e655edcc6d
2024-07-17 11:55:13 +00:00
Alexey Belkov
64e631f7c9 [kotlin] J2K: rename file
KTIJ-29147

GitOrigin-RevId: a6984cef1a86c48fea2bbbbebc2dfdf6ceb57e7d
2024-07-17 11:55:13 +00:00
Alexey Belkov
888d03e480 [kotlin] K2 J2K: delete K2 J2K registry key
Now it is always enabled.

KTIJ-21123

GitOrigin-RevId: eb345d12fefd16c04a7624ca770fc94a562bfb45
2024-07-17 11:55:13 +00:00
Alexey Belkov
e47357762f [kotlin] K2 J2K: add UnnecessaryNotNullAssertion post-processing
KTIJ-28575

GitOrigin-RevId: 3116e039b877d5a18b851528cb66b0bd00dc4e77
2024-07-17 11:55:13 +00:00
Alexey Belkov
269b9254ca [kotlin] K2 J2K: Customize dialog in K2 mode, show "Alpha" warning
The action name itself (in the main menu) is displayed the same
in K1 and K2 mode, this is expected.

KTIJ-21123

GitOrigin-RevId: 2ac6bc85632c46b8526c1af1359486418214f120
2024-07-17 11:55:13 +00:00
Eve Matthaey
68b54b47e8 [kotlin] J2K: Add extension point for custom pre- and post-processings
^KTIJ-29835 Fixed

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

GitOrigin-RevId: b887e694bd36c3369580a5c41c190acf9f38fd85
2024-07-17 11:55:13 +00:00
Vladimir Shefer
72ed8ed2ca [terminal] Mark ShellCommandExecutor Internal
We are not sure if we want to make it publicly available, so it is Internal for now

GitOrigin-RevId: d6a4c423356e9ba25e89344a12586a8ab4daffd7
2024-07-17 11:54:59 +00:00
Vladimir Shefer
a45bba728f [terminal] Remove misleading interface implementation from ShellRuntimeContextImpl
GitOrigin-RevId: 633bd07063d38a25c97d31c55b675c509b16b956
2024-07-17 11:54:59 +00:00
Vladimir Shefer
e27480189e [terminal] Replace TestGeneratorCommandsRunner with ShellCommandExecutor in tests when possible
GitOrigin-RevId: a3ba35a0745f1faea99854cc4df40d26bc4f3ad2
2024-07-17 11:54:59 +00:00
Anna Kozlova
00d3d3daed [kotlin] k2: port refactoring suggester
^KTIJ-26163 fixed

GitOrigin-RevId: 05af4d0853e3dcefa10924cd790065a519379b78
2024-07-17 11:42:01 +00:00
Anna Kozlova
a242321b3d [kotlin] k2: don't show implementation gutter for default functions
when containing interface might be represented as functional expression, default functions won't be overridden there

^KTIJ-30624 fixed

GitOrigin-RevId: bfcd888c6088348a057581332c7dd05943f5173e
2024-07-17 11:42:01 +00:00
Ilia.Shulgin
10b162dd67 [git] Select first leaf in the branches tree if preferred doesn't exist
Otherwise, "nothing to show" instead of a tree was shown if a preferred selection wasn't null but still not present in a tree

GitOrigin-RevId: 10ab15119c3df26ee06601df140e36523d996d13
2024-07-17 11:20:33 +00:00
Ilia.Shulgin
1eb38e7719 [git] IJPL-75102 Reuse branches widget for showing "Compare with branch" dialog
Tags are also shown in the updated dialog version, so now it's rather "Compare with ref".

Side-effect - fixes IJPL-76253 and IJPL-84827

GitOrigin-RevId: 0c88acf6bba09c695dd580410b2741d47b7126af
2024-07-17 11:20:33 +00:00