Commit Graph
438402 Commits
Author SHA1 Message Date
Alexey Kudravtsev 490c4010a4 simplify, do not restart daemon from inside UpdateRunnable
GitOrigin-RevId: 8a6896ae66ba2951db3d5767735d0ae926859bc6
2024-03-28 14:43:43 +00:00
Aleksey Pivovarov 68be05da2f EA-1148851 EA-1148850 vcs: do not try to create FilePath from non-local virtual files
GitOrigin-RevId: 87d72a43a3309531b669bb0a3ff09f4a7e218efa
2024-03-28 14:40:16 +00:00
Aleksey Pivovarov dc0008cb9e EA-1097604 vcs: fix after 'beforeActionPerformedUpdate' checks removal
GitOrigin-RevId: 87fddc5f5d9b2965921d9d7d86ad9fe39a47bcca
2024-03-28 14:15:50 +00:00
Mikhail Mazurkevich ddcdcf2308 [workspace model] Save iml files only for affected modules to avoid changes in unrelated files
GitOrigin-RevId: 5492692bd3f63a16ef7d384d23597893bd59e785
2024-03-28 14:15:09 +00:00
Julia Beliaeva 080e401d22 [lvcs] do not throw exception when there are no listeners in the activity list
EA-1145412

GitOrigin-RevId: 9cd0ae7e425a4cdfd90b26570c77f17f0771fcf2
2024-03-28 13:59:01 +00:00
Julia Beliaeva 59374522b6 [vcs-log-graph] cleanup after conversion to kotlin
follow-up: e50a11af512a6ceb436ca246192a297894a5e4ec

GitOrigin-RevId: c0e0c45e9841696cd6e6768d41f5caf4f1a38d2c
2024-03-28 13:47:43 +00:00
Aleksey Pivovarov a9aa2bc0a0 IDEA-343156 editor: do not scroll to caret on tabWidth changes if soft wraps are disabled
Follow-up: 0f31b1251b

GitOrigin-RevId: 4eee26ac5d15741253d0d62c02892556a5ce5144
2024-03-28 12:36:58 +00:00
Mikhail Golubev cef42660a3 PY-17627 PY-17733 Resolve class attributes defined in @classmethods
The logic is similar to that for instance attributes. Top-level class
attributes and methods defined in the class body get the precedence,
followed by class attributes defined with assignments in @classmethods
unless the latter would resolve to the same assignments as in

cls.attr = cls.attr + 1

finally, we scan through all other class methods resolving the name
to the first definition inside one of them.

So far, I intentionally didn't expose such attributes in findClassAttribute()
or getClassAttributes() because users of these methods assume that
this API considers only attributes defined immediately in the class body.
Adding extra definitions from class methods might break these usages.

I had to update the inspection about typing.Final, because it relied
on the fact that resolve() on assignment targets on class objects can
lead only to those top-level class attributes, where type hints are normally
located, but now it can lead to assignments to a qualified attribute inside
a containing class method.

GitOrigin-RevId: 0ca5bdaa4efca127ac187e822a49df6795e1028a
2024-03-28 12:17:37 +00:00
Alexey Belkov c0c2bd301b Proofreading: replace "missed" with "missing" in messages
https://english.stackexchange.com/questions/142544/is-missing-vs-is-missed

"Missing" should be used in the "absent" sense.

GitOrigin-RevId: e3e6ff4907dfb5bda98144919021c8b2c4dd5940
2024-03-28 11:44:04 +00:00
Alexey Belkov b80659810f [kotlin] J2K: DefaultArgumentsConversion cleanup
GitOrigin-RevId: 6e2859184c16288b873ab4ba89a2a04184f3e5ed
2024-03-28 11:43:59 +00:00
Aydar Mukhametzyanov a170069ea0 IDEA-344208 Use BTU.tryComputeFast and catch IOException
GitOrigin-RevId: f1cd0db00c30448705ff58f33d32c551ed7e8506
2024-03-28 11:37:38 +00:00
Aydar Mukhametzyanov d1413a558c IDEA-345661 Don't associate removed plugin UI theme with the Default editor scheme after unloading the plugin
GitOrigin-RevId: 20993500abda9a4247e9180fc49a20b5f9c08fe8
2024-03-28 11:37:34 +00:00
Aydar Mukhametzyanov 80e720a862 IDEA-344208 Ensure the background is painted in the south panel of ProductChooserPage
GitOrigin-RevId: db92251239337d2021eeee610fba5e6ecd32beab
2024-03-28 11:37:29 +00:00
Vyacheslav Moklev 81b04b8052 [RDCT] GTW-7343, GTW-8248: Extract ProjectUtilService and override it for CWM/RD backend
IJ-MR-130153

GitOrigin-RevId: 9b163a1be89b0b26622fc591a4a4f8a32ad4a586
2024-03-28 11:10:22 +00:00
Vyacheslav Moklev 1f4f9ed7aa [RDCT] GTW-7343: Fix switching focus between project windows
IJ-MR-130153

GitOrigin-RevId: 19d90502bd6bb1737f6e3628887ecf49289c8930
2024-03-28 11:10:18 +00:00
Nikolay Chashnikov d809db3ec4 [build scripts] don't build a separate bundle for embedded frontend app on macOS (IJPL-933)
It isn't used anymore, but to build it we run 'codesign' with '--deep' option which causes problems, see IJPL-933.

GitOrigin-RevId: b83931f412cbacec2bb49120df480d85bfde0cab
2024-03-28 09:59:54 +00:00
Alexey Merkulov d9d260a048 [debugger] Add possibility to run debugger suspend helper thread by the debugger agent
It will help to stop the debugger in the "full" state when the evaluation is available in all stopped threads. Also, may be used for good Pause button.

It can be enabled with debugger.run.suspend.helper registry

GitOrigin-RevId: 95a444e3892fba99b10bdc8678557bd1d00bd69b
2024-03-28 03:17:55 +00:00
konrad.sztenderski ddb26ed347 RUST-13858 API for disabling toml plugin completion
GitOrigin-RevId: c77dbdbf35773550050a06d6c72f9b5ff1bec1a9
2024-03-27 23:09:34 +00:00
Elena Shaverdova 6b131342f8 Minimize nullability of parameters for StubInconsistencyReportUtil.reportStubInconsistency for IDEA-331326
GitOrigin-RevId: 343e595c2f2eee6adf7ddf0d1a17e9ca10d05abf
2024-03-27 23:06:29 +00:00
Elena Shaverdova f821605ec8 Minimize nullability of parameters for StubInconsistencyReportUtil.reportStubTreeAndIndexDoNotMatch for IDEA-331326
GitOrigin-RevId: 47bb118c811852bcc96453bd03113f7a7b1370c0
2024-03-27 23:06:24 +00:00
Roman Shevchenko 59e5fced54 Cleanup (minor optimization; unused parameters)
GitOrigin-RevId: 0751069c3ae297824ff7c1007335c5020bc85f31
2024-03-27 22:36:58 +00:00
Dmitriy.Panov d0b46ce4e0 IJI-1546 rd modules shouldn't be put in the same jar with Radler plugin
GitOrigin-RevId: 14cc7da18ab2db803d525ac26c9fe14151852520
2024-03-27 22:24:26 +00:00
Roman Golyshev f1b5c7f00e KTIJ-29239 [kotlin] Properly recognise aliased Unit type in RedundantUnitReturnTypeInspection in K2
^KTIJ-29239 Fixed

GitOrigin-RevId: 0805f1f26e06e06b7f931945d987e18abc422f49
2024-03-27 22:21:23 +00:00
Roman Golyshev af0c4015f3 KTIJ-29230 [kotlin] Do not report Unit? as redundant return type in K2
`Unit?` return type does not allow empty and
implicit returns, so it cannot be safely removed

^KTIJ-29230 Fixed

GitOrigin-RevId: c9b593e99402cc8b5ce87dcef75fc4a97251b93b
2024-03-27 22:21:20 +00:00
Roman Golyshev fb3c9478be KTIJ-29230 [kotlin] Migrate testdata for RedundantUnitReturnTypeInspection to a local inspection format
In both K1 and K2, `RedundantUnitReturnTypeInspection` is a local inspection,
so a more readable testdata format should be used.

Drop the test cases for lambda expression bodies that were introduced as a part of
KTIJ-8350 fix (see `WithLambda.kt`).

Later on, a more general KTIJ-9728 was also fixed, making those separate test cases redundant.

GitOrigin-RevId: 1365134638edd52dd1f4eb4880c47f84ca859afe
2024-03-27 22:21:17 +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
Vladimir Kharitonov 242e506cbe IDEA-349638 JCEF: Allow 0 remote debug port to choose random free port
GitOrigin-RevId: 0d279a3672dfd778dc88c80fa101731ac3915cc3
2024-03-27 21:05:53 +00:00
Bogdan Kirilenko 0646bef0d4 [pycharm] PY-63670 updates in the HF community module for HF model choice MVP
GitOrigin-RevId: 598962bb98a7435320cd224ca9c8fcdcabe897fd
2024-03-27 21:01:08 +00:00
Alexander Lobas 6e67ff4544 IDEA-337916 Improve localization experience
GitOrigin-RevId: 37cb2a8ce3423edca4be935a1657b8d9b22d6def
2024-03-27 20:22:13 +00:00
Andrei.Kuznetsov 976d4b6edf Enable multithreaded indexing in unit tests (and other headless environments)
GitOrigin-RevId: c06beda02d20e8b8f9f0cb8eb7c8d3f0910c8ebc
2024-03-27 20:03:09 +00:00
Anna Kozlova 50b2c6aedd [kotlin] k2 extract function: register receiver parameter for implicit calls
^KTIJ-3605 fixed

GitOrigin-RevId: d1794a2c740158b2cb383b8a8561d2453f8f4930
2024-03-27 19:30:49 +00:00
Anna Kozlova 8be59a8f7a [kotlin] k2 extract function: additional test data
^KTIJ-18023 fixed

GitOrigin-RevId: df06795ffb8bc45017fa522b21bc339aa1abfb74
2024-03-27 19:30:46 +00:00
Anna Kozlova 2db4d477e8 [kotlin] k2 extract function: additional test data
^KTIJ-10882 fixed

GitOrigin-RevId: 70235fef1f911c4da79ac93f684c6d459756c7e4
2024-03-27 19:30:43 +00:00
Anna Kozlova be5bf8b03b [kotlin] k2 extract function: additional test data
^KTIJ-23318 fixed

GitOrigin-RevId: 7e8b8a21e1a5051ae8ab7b7b07ec1ef3370d018e
2024-03-27 19:30:40 +00:00
Anna Kozlova bcf544ad48 [kotlin] k2 extract function: additional test data
^KTIJ-8203 fixed

GitOrigin-RevId: 9ff660c4fa7a2ded6d75d3c20777fd49c1ae7faf
2024-03-27 19:30:36 +00:00
Anna Kozlova 4d8d1e433f [kotlin] k2 extract function: don't try to create parameters for labeled returns
^KTIJ-10258 fixed

GitOrigin-RevId: ebd28739ce61804c277222d89c4220674baa8910
2024-03-27 19:30:33 +00:00
Anna Kozlova b1e3d43c0f [kotlin] k2 extract function: don't introduce parameters for smart casts checks from inside selected fragment
- for unqualified access

^KTIJ-11836 fixed

GitOrigin-RevId: 40e1c08cf8f3442a357020cc1763476c0ed0ea78
2024-03-27 19:30:30 +00:00
Anna Kozlova 404011423a [kotlin] k2 extract function: don't introduce parameters for qualified functional property calls
^KTIJ-17547 fixed

GitOrigin-RevId: 6777a78441b0a2581a609f50edc903bf48c2db9f
2024-03-27 19:30:27 +00:00
Anna Kozlova 758d2627ed [kotlin] k2 extract function: don't introduce parameters for smart casts checks from inside selected fragment
^KTIJ-15585 fixed
^KTIJ-9061 fixed

GitOrigin-RevId: 367033f8125227e9de3ea5a8194b384cf8352a40
2024-03-27 19:30:23 +00:00
Anna Kozlova d2091b0f94 [kotlin] k2: additional testdata for extract function
^KTIJ-23514 fixed

GitOrigin-RevId: 78f2e633d76a6320bb6d9c3772a3f9d578286a03
2024-03-27 19:30:20 +00:00
Anna Kozlova 64147c860d [kotlin] k2: additional testdata for extract function
^KTIJ-15602 fixed

GitOrigin-RevId: 6349a82400bbeac2d8559816a125dc012eefe87e
2024-03-27 19:30:17 +00:00
Anna Kozlova 09a94d97fa [kotlin] k2: additional testdata for extract function
^KTIJ-20813 fixed

GitOrigin-RevId: e15bcf5105dd2b20297c1cb88cfc076d7a3e585b
2024-03-27 19:30:14 +00:00
Anna Kozlova fe6f5c8da5 [kotlin] k2: additional testdata for extract function
^KTIJ-15603 fixed

GitOrigin-RevId: 21e1f0de0b6b495c0002918ed3a6da16a628395e
2024-03-27 19:30:11 +00:00
Anna Kozlova d6bb6c080d [kotlin] k2: enable extract function to scope refactoring
similar to KTIJ-29206

GitOrigin-RevId: d278bb1340087705bfe9e99c93f265a4c6e693ce
2024-03-27 19:30:07 +00:00
Anna Kozlova f540ac01fc [kotlin] restore extract function to scope
^KTIJ-29206 fixed

GitOrigin-RevId: cebc198a93dc7b31ff76a71c3d9b97965bc10a27
2024-03-27 19:30:04 +00:00
Anna Kozlova 7c0459fdc8 [kotlin] k2: additional testdata for extract function
^KTIJ-15552 fixed

GitOrigin-RevId: e761a54bb231cdb933367cb6cce0d73475859a5f
2024-03-27 19:30:01 +00:00
Anna Kozlova e0b71eb287 [kotlin] k2: additional testdata for extract function
^KTIJ-9144 fixed

GitOrigin-RevId: 0c100bcc220db2dcfda0190b887ae8924232d83f
2024-03-27 19:29:58 +00:00
Anna Kozlova da942eb388 [kotlin] k2: additional testdata for extract function
^KTIJ-26744 fixed

GitOrigin-RevId: f60c64bb1e011d075bb875f8d20c78820f6a192d
2024-03-27 19:29:55 +00:00
Anna Kozlova cde5fae5d7 [kotlin] k2: additional testdata for extract function
^KTIJ-23270 fixed

GitOrigin-RevId: 968a4ba43bf779480cc002efe4f8f92074ed86ec
2024-03-27 19:29:51 +00:00
Anna Kozlova ef50d89972 [kotlin] k2: additional testdata for extract function
^KTIJ-22408 fixed

GitOrigin-RevId: acb45f504c48ec60b707a1755f83b0687241046f
2024-03-27 19:29:48 +00:00