idea/community.git
3 months agoSafe-Push into master
Roman Golyshev [Fri, 12 Aug 2022 00:22:42 +0000 (00:22 +0000)]
Safe-Push into master

GitOrigin-RevId: 09f20f26d87844c4229d1479c0a191db583f3f93

3 months agoTestAll: Keep only class name in toString()
Eldar Abusalimov [Fri, 12 Aug 2022 00:06:46 +0000 (02:06 +0200)]
TestAll: Keep only class name in toString()

We don't really need that info, and we'd better avoid TeamCity treating
it as a new test each time a massive failure causes the whole TestAll
to fail too.

GitOrigin-RevId: 449c290b1a5d31b67a09fdf1985c7fca49ef8049

3 months ago[kotlin] update Kotlin compiler as analyzer version to boostrap 1.8.0-dev-1681
Roman Golyshev [Thu, 11 Aug 2022 23:59:49 +0000 (01:59 +0200)]
[kotlin] update Kotlin compiler as analyzer version to boostrap 1.8.0-dev-1681

GitOrigin-RevId: 776e1ad1994a3346e49ec2b74e4c5cb49db359f9

3 months agoMerge branch 'kt-master'
Roman Golyshev [Thu, 11 Aug 2022 23:58:37 +0000 (01:58 +0200)]
Merge branch 'kt-master'

# Conflicts:
# community/plugins/kotlin/util/project-model-updater/resources/model.properties

GitOrigin-RevId: 248a2faa23dae37657baa283a54935a8d9bf78c7

3 months ago[KTIJ-22410] Update KotlinGradlePluginVersions.latest to 1.8.0-dev-1593
sebastian.sellmair [Thu, 11 Aug 2022 10:51:58 +0000 (12:51 +0200)]
[KTIJ-22410] Update KotlinGradlePluginVersions.latest to 1.8.0-dev-1593

GitOrigin-RevId: 904a3e6c300d3faaef3a0db6121d7795514a8857

3 months ago[KTIJ-22410] Implement testMultiplatformAndroidSourceSetLayoutV2 import and check...
sebastian.sellmair [Fri, 5 Aug 2022 12:37:20 +0000 (14:37 +0200)]
[KTIJ-22410] Implement testMultiplatformAndroidSourceSetLayoutV2 import and check highlighting test

GitOrigin-RevId: 610253f8e46d301628f147124436ac7350885d47

3 months ago[KTIJ-22410] HasExpectActualMarkerUtil: Prefer using IJ module names if possible...
sebastian.sellmair [Wed, 10 Aug 2022 14:29:13 +0000 (16:29 +0200)]
[KTIJ-22410] HasExpectActualMarkerUtil: Prefer using IJ module names if possible: Adapt testMultiModulesHmpp

GitOrigin-RevId: b36a3645c28bc347d781d5f702adec5ecef9a629

3 months ago[KTIJ-22410] HasExpectActualMarkerUtil: Prefer using IJ module names if possible
sebastian.sellmair [Fri, 5 Aug 2022 12:30:13 +0000 (14:30 +0200)]
[KTIJ-22410] HasExpectActualMarkerUtil: Prefer using IJ module names if possible

Using the .stableName of the ModuleDescriptor sometimes leads to
strange "project" and "project_xxx" strings, where "project.jvmMain" and "project.main" would
be expected.

This change will also make names of modules more consistent with other
assertions in this subsystem.

GitOrigin-RevId: 72ad5b591221a2d0a2753297b029d77a82c2edb3

3 months ago[kotlin] fix compilation of ConvertGettersAndSettersToPropertyProcessing.kt
Ilya Kirillov [Thu, 11 Aug 2022 08:42:19 +0000 (10:42 +0200)]
[kotlin] fix compilation of ConvertGettersAndSettersToPropertyProcessing.kt

GitOrigin-RevId: 12b4951d0f07341a1061544b4d2e4e2d8e313527

3 months ago[kotlin] regenerate tests
Ilya Kirillov [Thu, 11 Aug 2022 08:41:05 +0000 (10:41 +0200)]
[kotlin] regenerate tests

GitOrigin-RevId: 64872ecbcee810e4588bd27060751d052a1eb9f3

3 months agoK2 inspection: handle redundant-getter-inspection
Jaebaek Seo [Mon, 8 Aug 2022 14:00:00 +0000 (14:00 +0000)]
K2 inspection: handle redundant-getter-inspection

GitOrigin-RevId: 570fef1795dfa85837d3877702b7c0f8e4611e3b

3 months agoK2 inspection: handle unclear-precedence-of-binary-expression
Jaebaek Seo [Tue, 9 Aug 2022 17:20:23 +0000 (17:20 +0000)]
K2 inspection: handle unclear-precedence-of-binary-expression

GitOrigin-RevId: 7e7862d7ca5da1b8f127d2abfc231c1a9c8fd0c9

3 months agoLet RemoveEmptySecondaryConstructorBodyInspection inherit CleanupLocalInspectionTool
Jaebaek Seo [Tue, 9 Aug 2022 17:23:00 +0000 (17:23 +0000)]
Let RemoveEmptySecondaryConstructorBodyInspection inherit CleanupLocalInspectionTool

RemoveEmptySecondaryConstructorBodyInspection is a part of cleanup tool.
When we initially implemented it (CR-443), we did not let it inherit
CleanupLocalInspectionTool as a mistake.

GitOrigin-RevId: 090e5c86e3ee924fa7263dde1986064c53d89697

3 months agoIDEA-299808 Ignore default limit of MB in indexing-diagnostics when file number limit...
Elena Shaverdova [Thu, 11 Aug 2022 12:53:59 +0000 (14:53 +0200)]
IDEA-299808 Ignore default limit of MB in indexing-diagnostics when file number limit is provided

GitOrigin-RevId: 8b00b4562bc1435f19c757444f9c3834c9ce213d

3 months agoFix obvious bug: RESCAN_DEPENDENCIES_IF_NEEDED instances are already handled
Elena Shaverdova [Wed, 10 Aug 2022 16:31:18 +0000 (18:31 +0200)]
Fix obvious bug: RESCAN_DEPENDENCIES_IF_NEEDED instances are already handled

GitOrigin-RevId: 3599e6444b1cf1ad16e67a875456b8b7d9aaf343

3 months agoEA-624276 - T: ProjectIndexingHistoryImpl.getNormalizedEvents (Two suspension starts...
Elena Shaverdova [Wed, 10 Aug 2022 19:05:14 +0000 (21:05 +0200)]
EA-624276 - T: ProjectIndexingHistoryImpl.getNormalizedEvents (Two suspension starts, no stops)

GitOrigin-RevId: 6f4123f63e7c057ddca567d8b3a8fa54b7f32c53

3 months ago[kotlin] fix evaluation of parameters in secondary constructors
Nikita Nazarov [Tue, 9 Aug 2022 20:49:48 +0000 (23:49 +0300)]
[kotlin] fix evaluation of parameters in secondary constructors

GitOrigin-RevId: 4d6ab56970de99d3f878063684ea28d0c9e0d208

3 months agoTestLoggerFactory: Make "Log saved to" message more visually distinctive
Eldar Abusalimov [Thu, 11 Aug 2022 20:38:06 +0000 (22:38 +0200)]
TestLoggerFactory: Make "Log saved to" message more visually distinctive

GitOrigin-RevId: d6c00d9607256cbf20d05ada0d664dbc5eda39b7

3 months agoIDEA-299818 always complete component deferred
Daniil Ovchinnikov [Thu, 11 Aug 2022 14:18:00 +0000 (16:18 +0200)]
IDEA-299818 always complete component deferred

GitOrigin-RevId: eb36a1078537dc7298c87a45df697a48eb9f07da

3 months ago[kotlin] consider module content root change in KotlinModuleStateTrackerProvider
Ilya Kirillov [Fri, 5 Aug 2022 16:54:51 +0000 (18:54 +0200)]
[kotlin] consider module content root change in KotlinModuleStateTrackerProvider

GitOrigin-RevId: 3a6457a8af4fce998e8a48262a1103aa472922fd

3 months ago[kotlin] add tests for KotlinModuleStateTrackerProvider module dependencies change
Ilya Kirillov [Thu, 4 Aug 2022 15:00:08 +0000 (17:00 +0200)]
[kotlin] add tests for KotlinModuleStateTrackerProvider module dependencies change

GitOrigin-RevId: 2f10fce27bbac89f59c0c57c8d4e2437d5fd8e68

3 months ago[kotlin] consider EntityChange.Replaced operating on the same module/library in Kotli...
Ilya Kirillov [Thu, 4 Aug 2022 14:52:37 +0000 (16:52 +0200)]
[kotlin] consider EntityChange.Replaced operating on the same module/library in KotlinModuleStateTrackerProvider

GitOrigin-RevId: 0b11017974df1fea833f1494d67080ae26887c2a

3 months ago[kotlin] cleanup KotlinModuleStateTrackerProvider
Ilya Kirillov [Thu, 4 Aug 2022 14:32:48 +0000 (16:32 +0200)]
[kotlin] cleanup KotlinModuleStateTrackerProvider

GitOrigin-RevId: c6e29e957f187c1ae1eedff74bf999f0f886aef7

3 months ago[kotlin] add validity check for sdk module in KotlinModuleStateTrackerProvider
Ilya Kirillov [Thu, 4 Aug 2022 14:31:31 +0000 (16:31 +0200)]
[kotlin] add validity check for sdk module in KotlinModuleStateTrackerProvider

GitOrigin-RevId: 42d9b696a73136e4696b424299e538c7c139db98

3 months ago[kotlin] reuse KotlinModuleStateTrackerProvider for fe10
Ilya Kirillov [Thu, 4 Aug 2022 14:01:55 +0000 (16:01 +0200)]
[kotlin] reuse KotlinModuleStateTrackerProvider for fe10

GitOrigin-RevId: ec5aa5af1df896f1d3e59b781f509a2398d71d95

3 months agoTestAll: Add meaningful toString()
Eldar Abusalimov [Thu, 11 Aug 2022 20:01:14 +0000 (22:01 +0200)]
TestAll: Add meaningful toString()

Otherwise, in case of massive test failures on the build server (that
is, more than the MAX_FAILURE_TEST_COUNT threshold), when the TestAll
test itself was marked as failed, the default toString() caused it be
treated by TeamCity as a new test each time.

GitOrigin-RevId: 0eda9895de9476a4d0ebe41f6a93ebc631c4e41a

3 months agoDo not close System.err while running tests
Roland Illig [Thu, 11 Aug 2022 10:09:16 +0000 (12:09 +0200)]
Do not close System.err while running tests

GitOrigin-RevId: e12ef5afe4c9c8b532059bb06cee1e624965fe68

3 months agoImplement "Replace ''until'' with ''..<'' operator" inspection
Nikita Bobko [Tue, 9 Aug 2022 15:20:07 +0000 (17:20 +0200)]
Implement "Replace ''until'' with ''..<'' operator" inspection

^KTIJ-22474 Fixed

GitOrigin-RevId: 5f21fd2cf41ef5add57c2e85e8f5616a37f31b8f

3 months agofix keyboard flags being deleted when keymap is altered on startup
Sasha Blashenkov [Thu, 11 Aug 2022 17:17:38 +0000 (19:17 +0200)]
fix keyboard flags being deleted when keymap is altered on startup

(cherry picked from commit 2696d72bb1517777a372ad216d271772ba271e73)

GitOrigin-RevId: 33c04d07d4d2808ce3029fc9baaa49a01dd6fc8c

3 months agoIDEA-299807 Add new navigation bar implementation
Aleksei Pomelov [Thu, 11 Aug 2022 12:03:32 +0000 (15:03 +0300)]
IDEA-299807 Add new navigation bar implementation

GitOrigin-RevId: fd8d02505778336d58641cfee5bf82f4844eb265

3 months agoIDEA-299807 Add data rule selecting navbar leaf element from context
Aleksei Pomelov [Thu, 11 Aug 2022 09:13:42 +0000 (12:13 +0300)]
IDEA-299807 Add data rule selecting navbar leaf element from context

GitOrigin-RevId: c1e273828a44d4fb862d6301217a1cc11e18c421

3 months agoIDEA-299807 Add default provider impl to bridge with old API
Aleksei Pomelov [Thu, 11 Aug 2022 09:12:00 +0000 (12:12 +0300)]
IDEA-299807 Add default provider impl to bridge with old API

GitOrigin-RevId: d820b0d954bd10115cf81ce97260cd623b0e51b8

3 months agoIDEA-299807 Add navbar item provider extension
Aleksei Pomelov [Thu, 11 Aug 2022 08:41:25 +0000 (11:41 +0300)]
IDEA-299807 Add navbar item provider extension

GitOrigin-RevId: 97ea3119cad5d9039d58623b09cb0b50ef1cf441

3 months ago[intellij project configuration] convert all Kotlin facets to the latest version
Nikolay Chashnikov [Thu, 11 Aug 2022 15:37:42 +0000 (17:37 +0200)]
[intellij project configuration] convert all Kotlin facets to the latest version

This will make it simpler to modify their configuration in a batch and avoid unnecessary conversion at runtime.

GitOrigin-RevId: 8097b723d18faa2cd47b9e4c401e20b3ee43569e

3 months agocoverage: update JaCoCo to 0.8.8, fix IDEA-299645
Maksim Zuev [Thu, 11 Aug 2022 09:16:17 +0000 (11:16 +0200)]
coverage: update JaCoCo to 0.8.8, fix IDEA-299645

GitOrigin-RevId: c0e9bb3a803807b2fb3a7efb0c2feb9fcd9c178d

3 months ago[git] update commit editing actions in background
Julia Beliaeva [Wed, 10 Aug 2022 20:03:20 +0000 (22:03 +0200)]
[git] update commit editing actions in background

GitOrigin-RevId: 3b2d41e7c1f336331507400138d64ac22120cb80

3 months ago[git] check if commit details are loaded
Julia Beliaeva [Wed, 10 Aug 2022 20:02:27 +0000 (22:02 +0200)]
[git] check if commit details are loaded

LoadingDetails instances do not contain parents information and could not be used to decide if the action should be enabled.

GitOrigin-RevId: 410fd38dc315e00add1e0cc87606138e6b891251

3 months ago[vcs-log] use TopCommitsCache when requesting commit details on background thread
Julia Beliaeva [Wed, 10 Aug 2022 19:58:21 +0000 (21:58 +0200)]
[vcs-log] use TopCommitsCache when requesting commit details on background thread

GitOrigin-RevId: 687dbd1ea0d5c92dffdd86200f325560d3ea2c2c

3 months agoDon't mark terminateProcessGracefully by pid as deprecated
Dmitry.Neverov [Thu, 11 Aug 2022 14:20:45 +0000 (16:20 +0200)]
Don't mark terminateProcessGracefully by pid as deprecated

Kill via ctrl+c event on Windows has problems with python interpreter,
but works fine for simple go and c programs. So the method might be
used safely as long as the caller is ready to handle the case when
the process is not terminated.

GitOrigin-RevId: 390dae5495c3c2aa2366cc77b495083c93e899f1

3 months agoCWM-5963: sync daemon status more accurately
Maria Filipanova [Mon, 8 Aug 2022 15:13:30 +0000 (17:13 +0200)]
CWM-5963: sync daemon status more accurately

GitOrigin-RevId: 070d0fd399137196b984d00610647bc0c97f76d2

3 months ago[NewUI] Disable RefreshAction in the non-modal commit TW for the New UI
Aleksandr Krasilnikov [Thu, 11 Aug 2022 10:42:19 +0000 (12:42 +0200)]
[NewUI] Disable RefreshAction in the non-modal commit TW for the New UI

IDEA-287460

GitOrigin-RevId: 92c34a31b8d6d1445417152c00cae5903132d62f

3 months ago[collab] Use BadgeIconSupplier for the filter icon in the review list
Aleksandr Krasilnikov [Thu, 11 Aug 2022 15:23:59 +0000 (17:23 +0200)]
[collab] Use BadgeIconSupplier for the filter icon in the review list

GitOrigin-RevId: 89375b3d80b0f27ecb494cc2afc9acc1ac48d347

3 months agoIDEA-295024 [Project widget] First project is filter out with separator and 'Recent...
Mikhail Sokolov [Thu, 11 Aug 2022 15:01:23 +0000 (17:01 +0200)]
IDEA-295024 [Project widget] First project is filter out with separator and 'Recent projects' title

GitOrigin-RevId: a356b20e0f60e4d946533a75571bb9e8a611c864

3 months agoIDEA-299034 Run widget popup is not closed on hitting Run or Debug inline action
Mikhail Sokolov [Thu, 11 Aug 2022 13:41:11 +0000 (15:41 +0200)]
IDEA-299034 Run widget popup is not closed on hitting Run or Debug inline action

GitOrigin-RevId: f52958db03edc29742f9535c3cec876e0a6594aa

3 months agoIDEA-299568 git: fix notification text in "Undo Commit" action
Aleksey Pivovarov [Wed, 3 Aug 2022 10:59:08 +0000 (12:59 +0200)]
IDEA-299568 git: fix notification text in "Undo Commit" action

GitOrigin-RevId: bdefcb99384f6b4b839f8c3dcf9b27bb66209083

3 months ago[frameworks] Use Gradle 7.5.1 for new projects
Yuriy Artamonov [Thu, 11 Aug 2022 15:39:33 +0000 (17:39 +0200)]
[frameworks] Use Gradle 7.5.1 for new projects

GitOrigin-RevId: 1bb00641070402588c4a4a1bb072f2d5f3a007a4

3 months ago[kotlin] fix freeze in KotlinLibraryKindIndexKt.detectLibraryKindFromJarContentsForIndex
Dmitry Gridin [Thu, 11 Aug 2022 15:28:36 +0000 (17:28 +0200)]
[kotlin] fix freeze in KotlinLibraryKindIndexKt.detectLibraryKindFromJarContentsForIndex

GitOrigin-RevId: a8e436e380cbcdd6ae8664416dd65b8fdce520f3

3 months agoKTIJ-20578 Invoke updateMergedArguments on KotlinFacetSettings deserialization
Yaroslav Chernyshev [Thu, 11 Aug 2022 15:22:21 +0000 (17:22 +0200)]
KTIJ-20578 Invoke updateMergedArguments on KotlinFacetSettings deserialization

When Gradle project reopens without sync, KotlinFacetSettings#compilerArguments
is read from XML. But reading the content happens after assignment to property.
For this reason, KotlinFacetSettings#mergedCompilerArguments in such scenarios
contains incomplete data.

This fix forces updateMergedArguments call after reading KotlinFacetSettings

GitOrigin-RevId: a01e911d29127f81734a0fd2523e97a1484460c9

3 months ago[vcs-log] check the old property value and repaint when long edges are shown or hidden
Julia Beliaeva [Thu, 11 Aug 2022 15:23:46 +0000 (17:23 +0200)]
[vcs-log] check the old property value and repaint when long edges are shown or hidden

GitOrigin-RevId: 13c952cd535be86a79f3eb60fee1fea82314ee60

3 months agoIDEA-298163 Wanted: "true" frame activation/deactivation events
Dmitry Batrak [Thu, 11 Aug 2022 15:17:45 +0000 (18:17 +0300)]
IDEA-298163 Wanted: "true" frame activation/deactivation events

follow-up: use FrameStateListener in RecentProjectsManagerBase, instead of listening to low-level AWT events

GitOrigin-RevId: b99627926412a817573903698543faca0b51edd4

3 months agoaction-update-thread: platform.lang.impl actions
Dmitry Avdeev [Thu, 11 Aug 2022 14:10:56 +0000 (16:10 +0200)]
action-update-thread: platform.lang.impl actions

GitOrigin-RevId: 5475c04f17476056d1b3c940feaf624f16e87b48

3 months agoaction-update-thread: platform-impl actions
Dmitry Avdeev [Thu, 11 Aug 2022 13:19:24 +0000 (15:19 +0200)]
action-update-thread: platform-impl actions

GitOrigin-RevId: d9e6b90d64f3623bb384ecfc6aa434fe0fe20cbf

3 months ago[intellij project configuration] make target JVM version for Kotlin code consistent...
Nikolay Chashnikov [Thu, 11 Aug 2022 13:47:09 +0000 (15:47 +0200)]
[intellij project configuration] make target JVM version for Kotlin code consistent with language level

*.class files produced from Java and Kotlin files of a module should have the same version for consistency, so if a module uses custom language level it should also have a Kotlin facet specifying the same target JVM version.

GitOrigin-RevId: de4c7f6ef8e9c26b924a4eb2fd986ec83e48ef5c

3 months ago[jps build] cleanup: simplify code using new Java API
Nikolay Chashnikov [Thu, 11 Aug 2022 12:41:32 +0000 (14:41 +0200)]
[jps build] cleanup: simplify code using new Java API

GitOrigin-RevId: ffc2836da50cb52b5d401a9360d96720b766c77b

3 months ago[google app engine] remove sources of obsolete Google App Engine for Java plugin...
Nikolay Chashnikov [Thu, 11 Aug 2022 11:53:28 +0000 (13:53 +0200)]
[google app engine] remove sources of obsolete Google App Engine for Java plugin (IDEA-298697)

GitOrigin-RevId: 650febbd29d9e07b193f3133fcb9859ff58be43d

3 months ago[intellij project configuration] set language level to Java 11 for modules used in...
Nikolay Chashnikov [Thu, 11 Aug 2022 10:44:46 +0000 (12:44 +0200)]
[intellij project configuration] set language level to Java 11 for modules used in external build process (IDEA-299791)

GitOrigin-RevId: d52c1f16186c4d4c77798b2aebb93960233b8bc7

3 months ago[jps build] allow migrating modules used in the build process to Java 11 (IDEA-299791)
Nikolay Chashnikov [Thu, 11 Aug 2022 10:43:42 +0000 (12:43 +0200)]
[jps build] allow migrating modules used in the build process to Java 11 (IDEA-299791)

GitOrigin-RevId: c0cb674ea9b265848c919d09052c6d685cf42d73

3 months ago[intellij-community] update README.md to mention that JBR 17 should be used for compi...
Nikolay Chashnikov [Thu, 11 Aug 2022 08:56:37 +0000 (10:56 +0200)]
[intellij-community] update README.md to mention that JBR 17 should be used for compilation

GitOrigin-RevId: f484012dc474fe59383c326bac3508ffc10a2fc5

3 months ago[vaadin] Vaadin plugin moved to obsolete-plugins repository
Yuriy Artamonov [Thu, 11 Aug 2022 14:17:31 +0000 (16:17 +0200)]
[vaadin] Vaadin plugin moved to obsolete-plugins repository

GitOrigin-RevId: e2a08b5d06ac68e522628c7fc9936b1ad7a0c76d

3 months agoIDEA-298163 Wanted: "true" frame activation/deactivation events
Dmitry Batrak [Thu, 11 Aug 2022 13:34:46 +0000 (16:34 +0300)]
IDEA-298163 Wanted: "true" frame activation/deactivation events

follow-up: migrate off newly deprecated API methods

GitOrigin-RevId: 1226e32d071876f70e2a224c2d50782ffe57ebfb

3 months ago[rdct-tests]: add diagnostic vmoptions to avoid crash (JBR-4661)
Anastasia Katsman [Thu, 11 Aug 2022 13:37:46 +0000 (15:37 +0200)]
[rdct-tests]: add diagnostic vmoptions to avoid crash (JBR-4661)

GitOrigin-RevId: c1c6d9f460fef42eaba5a4d502fea9455cae3a37

3 months ago[kotlin] J2K: Fix conversion of top-level functions that may be shadowed
Alexey Belkov [Thu, 11 Aug 2022 14:10:31 +0000 (18:10 +0400)]
[kotlin] J2K: Fix conversion of top-level functions that may be shadowed

^KTIJ-15408 Fixed

GitOrigin-RevId: f812e0a03a277cd9b65f1d78706dea7c3c6b7e67

3 months agoIDEA-299043 Run widget popup: implement color keys for inline actions
Mikhail Sokolov [Wed, 10 Aug 2022 15:57:01 +0000 (17:57 +0200)]
IDEA-299043 Run widget popup: implement color keys for inline actions

GitOrigin-RevId: 26e371b807da27747f3a760623fa07d4222404c0

3 months agoIDEA-299043 Run widget popup: implement color keys for inline actions
Mikhail Sokolov [Wed, 10 Aug 2022 12:20:42 +0000 (14:20 +0200)]
IDEA-299043 Run widget popup: implement color keys for inline actions

GitOrigin-RevId: de3345c1d1d06673e128e252462c7dfd85e12381

3 months ago[kotlin] Filter common libs from deps of platform libs when in Maven
Dmitry Savvinov [Tue, 26 Jul 2022 12:45:49 +0000 (14:45 +0200)]
[kotlin] Filter common libs from deps of platform libs when in Maven

^KTIJ-15758 Fixed

GitOrigin-RevId: 0afcda1f4886d2795aee5d9d89ef23b5d7edba58

3 months ago[core] IDEA-298298: throttle repeated warnings
Ruslan Cheremin [Wed, 10 Aug 2022 14:56:34 +0000 (16:56 +0200)]
[core] IDEA-298298: throttle repeated warnings

repeated warnings about incorrect start/finish pairings are throttled, so no more than 1 warning is logged in 10 sec

GitOrigin-RevId: 66e50922f27283bad4fe2ccaea30cc673b25f79e

3 months ago[core] IDEA-298298: throttle repeated warnings
Ruslan Cheremin [Wed, 10 Aug 2022 14:00:28 +0000 (16:00 +0200)]
[core] IDEA-298298: throttle repeated warnings

repeated warnings about incorrect start/finish pairings are throttled, so no more than 1 warning is logged in 10 sec

GitOrigin-RevId: 75e815405b4433251072e2db8bc394b9ba3f89fa

3 months ago[core] IDEA-298298: throttle repeated warnings
Ruslan Cheremin [Wed, 10 Aug 2022 13:58:04 +0000 (15:58 +0200)]
[core] IDEA-298298: throttle repeated warnings

repeated warnings about incorrect start/finish pairings are throttled, so no more than 1 warning is logged in 10 sec

GitOrigin-RevId: 1190f5d800f7088aba40154872631930c01c36f8

3 months agoEnableUnsupportedFeatureFix: Fix "Write action is required" exception
Nikita Bobko [Wed, 10 Aug 2022 12:45:09 +0000 (14:45 +0200)]
EnableUnsupportedFeatureFix: Fix "Write action is required" exception

GitOrigin-RevId: 7dad9570b2a2e294c1279e7d5c2a07359424b564

3 months agoEnableUnsupportedFeatureFix: Fix NPE
Nikita Bobko [Wed, 10 Aug 2022 12:44:48 +0000 (14:44 +0200)]
EnableUnsupportedFeatureFix: Fix NPE

^KTIJ-22448 Fixed

`.originalFile` itself fixes the NPE listed in the issue. `?.let` is
technically redundant to fix the issue, it's for safety.

GitOrigin-RevId: e4a1243a25c3f3a17f7c5f67aca37799d2ccb05a

3 months ago[properties] IDEA-299786 Properties are shown unused inside injected fragment editor
Yuriy Artamonov [Thu, 11 Aug 2022 12:40:25 +0000 (14:40 +0200)]
[properties] IDEA-299786 Properties are shown unused inside injected fragment editor

GitOrigin-RevId: c6627aebdc000380b07f0e84f3761ee583e9950d

3 months agoPY-21354 Call Hierarchy - go to line where function is /used/ (not defined)
Daniil Kalinin [Thu, 11 Aug 2022 12:47:35 +0000 (12:47 +0000)]
PY-21354 Call Hierarchy - go to line where function is /used/ (not defined)
`Jump to source` or double-click action now moves cursor to the first usage of the selected function inside other function, not to the definition
If there is more than one usage of the function A inside function B, it is now shown with an additional label like `(3 usages)`

PY-55537 Call Hierarchy: don't show last node as expandable
Last node no longer shown as expandable if it has no children

Merge-request: IJ-MR-25288
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com>
GitOrigin-RevId: ea290dc20f03207a8197e7e2ec2d5d17232c3d72

3 months ago[jcef] don't cast Map to HashMap
Artem Bochkarev [Thu, 11 Aug 2022 12:30:42 +0000 (19:30 +0700)]
[jcef] don't cast Map to HashMap

JBR-4547 replaces HashMap with ConcurrentHashMap

GitOrigin-RevId: c1f1b82aba1e7ae4e7475c0823b491d997431f47

3 months ago[java-inspections] Use intention preview utils instead of manual branching
Bart van Helvert [Thu, 11 Aug 2022 11:31:49 +0000 (13:31 +0200)]
[java-inspections] Use intention preview utils instead of manual branching

GitOrigin-RevId: 4a3e611470b01ccc75d5ba28307e71f819d8c982

3 months ago[java decompiler] Fix zip slip vulnerability in bulk decompilation tests
Bart van Helvert [Thu, 11 Aug 2022 09:40:46 +0000 (11:40 +0200)]
[java decompiler] Fix zip slip vulnerability in bulk decompilation tests

GitOrigin-RevId: c7e46c433319b65fdb096a38ddf1077751c69c93

3 months agoIDEA-298754 Stop drawing blue artifact when selected tab is hidden in editor tabs
Aydar Mukhametzyanov [Thu, 11 Aug 2022 11:50:40 +0000 (13:50 +0200)]
IDEA-298754 Stop drawing blue artifact when selected tab is hidden in editor tabs

GitOrigin-RevId: 4019134bcb3c6708064f083bc0b0bbf0083ca709

3 months agoIDEA-299761 diff: enable text file detection for NativeFileType
Aleksey Pivovarov [Thu, 11 Aug 2022 10:51:54 +0000 (12:51 +0200)]
IDEA-299761 diff: enable text file detection for NativeFileType

Fix 'git textconv' conversions not being used for docx files.

GitOrigin-RevId: 984cf6072c04969b5a6bffbeaa3f7eb91b8adb00

3 months agoJBTabs: restore ability to restore focus on tab switch
Alexander.Kass [Wed, 10 Aug 2022 13:04:39 +0000 (16:04 +0300)]
JBTabs: restore ability to restore focus on tab switch

Was inaccurate fix of
> Debug Toolwindow: nested tabs navigation (CPP-17344)

GitOrigin-RevId: 6a85bb855ded68e70e406134e09c096c5d9e6e70

3 months agoJBTabs: process last focused components to store, so EditorTextField will be stored...
Alexander.Kass [Wed, 10 Aug 2022 12:50:38 +0000 (15:50 +0300)]
JBTabs: process last focused components to store, so EditorTextField will be stored instead of editor's internals (that are recreated on tab switch)

GitOrigin-RevId: 8e7a2bb1e285dccfd9c1be34f8c6023eeae7f923

3 months agoJBTabs: focus should call callback timely
Alexander.Kass [Wed, 10 Aug 2022 12:47:25 +0000 (15:47 +0300)]
JBTabs: focus should call callback timely

that fixes order of selection and old tab removal
unfinished focus caused tab removal to tranfer it's focus somewhere then focus is transferred to desird component, now as the focus transferred beforehand - no focus transfer on removal

GitOrigin-RevId: 8c916ddf9c41f68f100c4676257a391088c75c97

3 months agoETF: make it non-focusable
Alexander.Kass [Wed, 10 Aug 2022 08:03:30 +0000 (11:03 +0300)]
ETF: make it non-focusable

no reason to have it focusable as it can be focused only when visible => editor is instantiated

focus transfer on editor recreation is handled by traversal policy, just have to add new editor before removing old

GitOrigin-RevId: b75987cf9eddc79cb67c92d898b405c6a5d7699e

3 months agofix tabs focusing in modal dialogues
Alexander.Kass [Wed, 10 Aug 2022 07:54:25 +0000 (10:54 +0300)]
fix tabs focusing in modal dialogues

GitOrigin-RevId: ad99d75b7b21d8261ee43773658b0ca198884afb

3 months agoIDEA-293919 Main Menu, Windows: popup should look like a context menu
Pavel Porvatov [Thu, 11 Aug 2022 10:22:08 +0000 (12:22 +0200)]
IDEA-293919 Main Menu, Windows: popup should look like a context menu

- Height of selection in popup menu is 24 now
- Added PopupMenu.Selection.outerInsets

GitOrigin-RevId: 3492b2a9ae63f2ca49fa38685e218298272022cf

3 months ago[kotlin] J2K: Convert `@Documented` annotation to `@MustBeDocumented`
Alexey Belkov [Thu, 11 Aug 2022 10:01:38 +0000 (14:01 +0400)]
[kotlin] J2K: Convert `@Documented` annotation to `@MustBeDocumented`

^KTIJ-14724 Fixed

GitOrigin-RevId: b96d7cf2d3d406318a4707c3fbc4dadd2333e808

3 months agorestored async stack traces support
Egor Ushakov [Thu, 11 Aug 2022 10:08:30 +0000 (12:08 +0200)]
restored async stack traces support

GitOrigin-RevId: 60756d667412e497e44a26b14dd295230d0b3350

3 months ago[devkit] intellij platform dependencySupport for gradle based projects
Andrew Kozlov [Wed, 10 Aug 2022 13:29:45 +0000 (15:29 +0200)]
[devkit] intellij platform dependencySupport for gradle based projects

GitOrigin-RevId: 5f9954ca06d276daab8d620c5f24cb1d7909c50d

3 months agoIDEA-297469 Don't reset user scale to default in presentation mode in LafManager
Aydar Mukhametzyanov [Thu, 11 Aug 2022 09:59:26 +0000 (11:59 +0200)]
IDEA-297469 Don't reset user scale to default in presentation mode in LafManager

Otherwise, icons are not scaled in Presentation mode, because TogglePresentationModeAction calls LafManager.updateUI(), which calls LafManager.patchLafFonts()

GitOrigin-RevId: 023162629dcebdf90cca569dfc8dd01245dc5968

3 months agoIDEA-298163 Wanted: "true" frame activation/deactivation events
Dmitry Batrak [Thu, 11 Aug 2022 09:02:57 +0000 (12:02 +0300)]
IDEA-298163 Wanted: "true" frame activation/deactivation events

GitOrigin-RevId: 38d2bd5df30cb4178eae06bc0ce7062826e409c0

3 months agoVCSP-104: Add statistics regarding clearing Log filters (by All/by close icon)
Aleksandr Krasilnikov [Tue, 9 Aug 2022 17:18:01 +0000 (19:18 +0200)]
VCSP-104: Add statistics regarding clearing Log filters (by All/by close icon)

GitOrigin-RevId: ec094ef9957747298f0d438f97daf0841c8a4917

3 months agoDS-3673 Interpreter widget doesn't show WSL interpreter
Andrey Vokin [Thu, 11 Aug 2022 08:23:06 +0000 (10:23 +0200)]
DS-3673 Interpreter widget doesn't show WSL interpreter

GitOrigin-RevId: 6c709c7f4dce4226da9e5d9847b1030d7b836894

3 months agoaction-update-thread: platform codeInsight actions
Dmitry Avdeev [Wed, 10 Aug 2022 15:27:43 +0000 (17:27 +0200)]
action-update-thread: platform codeInsight actions

GitOrigin-RevId: 6861687547eb1c4baa2da092972b8c2ab4e7619b

3 months ago[intellij community configuration] add required '--add-opens' options to run configur...
Nikolay Chashnikov [Wed, 10 Aug 2022 17:09:50 +0000 (19:09 +0200)]
[intellij community configuration] add required '--add-opens' options to run configurations (IDEA-299247)

GitOrigin-RevId: 60d0a38d56a431ad252bfb809314f27daa9126f7

3 months agoIDEA-298168 Add an ability to specify URL as source for images in tip content (requir...
Konstantin Hudyakov [Thu, 11 Aug 2022 06:28:53 +0000 (09:28 +0300)]
IDEA-298168 Add an ability to specify URL as source for images in tip content (required for Stardust TOD preview)

GitOrigin-RevId: db829e5053f4b9aacd05b776e9c15094d68c3a58

3 months ago[textmate] make textmate file type read only (IDEA-212814)
Alexander Zolotov [Tue, 9 Aug 2022 15:29:11 +0000 (21:29 +0600)]
[textmate] make textmate file type read only (IDEA-212814)

GitOrigin-RevId: 848e256df8b3747045553f3d8a1a34c4767ccd30

3 months ago[git] remove deprecated method usage
Julia Beliaeva [Wed, 10 Aug 2022 21:31:21 +0000 (23:31 +0200)]
[git] remove deprecated method usage

GitOrigin-RevId: d745bb075db12a565ac8ecbafe6147fb1ce42a7d

3 months ago[git] reorder fields
Julia Beliaeva [Wed, 10 Aug 2022 21:28:15 +0000 (23:28 +0200)]
[git] reorder fields

GitOrigin-RevId: 70eb4af58831ed7da0eb520f455806014108ac94

3 months ago[kotlin] actualize library resolve testdata
Ilya Kirillov [Wed, 10 Aug 2022 20:48:15 +0000 (22:48 +0200)]
[kotlin] actualize library resolve testdata

GitOrigin-RevId: cca31999dc3d17c8a9d5eb0c08b6c82c59b936d8

3 months agoRevert "K2 inspection: Handle sort-modifiers-inspection"
Ilya Kirillov [Wed, 10 Aug 2022 16:59:03 +0000 (18:59 +0200)]
Revert "K2 inspection: Handle sort-modifiers-inspection"

This reverts commit cd23d8b5368fe0c82d07a583a66f11c0b060ded6.

GitOrigin-RevId: d6cabafd81d8d569d68f52fa5fc78238c191cef0

3 months ago[vcs] remove unused imports
Julia Beliaeva [Wed, 10 Aug 2022 19:58:36 +0000 (21:58 +0200)]
[vcs] remove unused imports

GitOrigin-RevId: 5b9f7e8820df0e898d86d2eceb9f027db62cad03

3 months ago[dependencies] refactoring: stream like pipeline
Andrew Kozlov [Wed, 10 Aug 2022 13:27:06 +0000 (15:27 +0200)]
[dependencies] refactoring: stream like pipeline

GitOrigin-RevId: ec6e2be8e7cdeb0dbb9f447f7dfeaca8b125aa75