idea/community.git
3 months agoApiUsageUastVisitor: make `visitQualifiedReferenceExpression` call `processClassRefer...
Nicolay Mitropolsky [Mon, 8 Aug 2022 10:32:00 +0000 (12:32 +0200)]
ApiUsageUastVisitor: make `visitQualifiedReferenceExpression` call `processClassReferenceInConstructorInvocation` (IDEA-294924)

GitOrigin-RevId: 27d5a7beeb19fdda4306d7b5b02d05c63b838f55

3 months agoApiUsageUastVisitor: make `isClassReferenceInConstructorInvocation` accept `UReferenc...
Nicolay Mitropolsky [Fri, 5 Aug 2022 15:14:35 +0000 (17:14 +0200)]
ApiUsageUastVisitor: make `isClassReferenceInConstructorInvocation` accept `UReferenceExpression` (IDEA-294924)

GitOrigin-RevId: e22e36ccfd21226a7e995fd33d7c15e9dee29786

3 months ago[kotlin, uast] getting rid of odd `UTypeReferenceExpression` in out-of-visitor conves...
Nicolay Mitropolsky [Fri, 5 Aug 2022 15:14:05 +0000 (17:14 +0200)]
[kotlin, uast] getting rid of odd `UTypeReferenceExpression` in out-of-visitor convestions (KTIJ-22437)

GitOrigin-RevId: dcdf3623b0563c98ecf1acf1926e6aae1d55be63

3 months ago[kotlin, uast] `KotlinUastNonVisitorConversionsTest`
Nicolay Mitropolsky [Fri, 5 Aug 2022 13:50:24 +0000 (15:50 +0200)]
[kotlin, uast] `KotlinUastNonVisitorConversionsTest`

for testing conversions of the elements which were not created by visitor (KTIJ-22437)

GitOrigin-RevId: 8cdb1fc7b0f063fc0c0c75c559379068af6f9c76

3 months agorename to avoid confusion with the existing class
Alexey Kudravtsev [Mon, 8 Aug 2022 15:00:11 +0000 (17:00 +0200)]
rename to avoid confusion with the existing class

GitOrigin-RevId: 9df3663a64920655949b7eb6d3c5ec3f28fdcf1a

3 months agooptimization: do not collect the entire list when checking for emptiness; do not...
Alexey Kudravtsev [Mon, 8 Aug 2022 14:07:24 +0000 (16:07 +0200)]
optimization: do not collect the entire list when checking for emptiness; do not instantiate unnecessary objects

GitOrigin-RevId: 59123532e94945431402beb11964e30b412a192a

3 months agooptimization: reduce allocations in critical path
Alexey Kudravtsev [Mon, 8 Aug 2022 14:05:44 +0000 (16:05 +0200)]
optimization: reduce allocations in critical path

GitOrigin-RevId: 5e59eb249d57708f4694d227ec6bfe463761b4dd

3 months agocleanup: restore notnulls lost after refactoring, replace unreadable vars with types
Alexey Kudravtsev [Mon, 8 Aug 2022 12:18:07 +0000 (14:18 +0200)]
cleanup: restore notnulls lost after refactoring, replace unreadable vars with types

GitOrigin-RevId: 5d6fedc1c0a90f7b06c46d4d969af7eaff4176c3

3 months agomove to the suitable package; cleanup
Alexey Kudravtsev [Fri, 5 Aug 2022 13:11:05 +0000 (15:11 +0200)]
move to the suitable package; cleanup

GitOrigin-RevId: 970b2e795badc1144b46b8034fb7573160258a62

3 months ago[maven+workspace] [IDEA-288545]: MavenAnnotationProcessorImporter migrated to MavenWo...
Anton Makeev [Fri, 5 Aug 2022 15:13:01 +0000 (17:13 +0200)]
[maven+workspace] [IDEA-288545]: MavenAnnotationProcessorImporter migrated to MavenWorkspaceConfigurator API

GitOrigin-RevId: f413ab184ebb3fc5e18c7c1bf533d3072af8dd60

3 months ago[maven+workspace] [IDEA-288545]: rename MavenModuleType.java -> .kt
Anton Makeev [Fri, 5 Aug 2022 15:12:50 +0000 (17:12 +0200)]
[maven+workspace] [IDEA-288545]: rename MavenModuleType.java -> .kt

GitOrigin-RevId: 47dd460fed9053b14f4374b22f52ca37f10a63fe

3 months ago[maven+workspace] [IDEA-288545]: merge MavenAnnotationProcessorImportingTest, MavenAn...
Anton Makeev [Fri, 5 Aug 2022 14:44:54 +0000 (16:44 +0200)]
[maven+workspace] [IDEA-288545]: merge MavenAnnotationProcessorImportingTest, MavenAnnotationProcessorConfigurerTest AnnotationProcessorImportingTest

GitOrigin-RevId: c7676b15489e49fcde758d1553b648e7c5b27f5e

3 months ago[maven+workspace] [IDEA-288545]: AnnotationProcessorImportingTest.groovy -> kotlin
Anton Makeev [Fri, 5 Aug 2022 14:40:01 +0000 (16:40 +0200)]
[maven+workspace] [IDEA-288545]: AnnotationProcessorImportingTest.groovy -> kotlin

GitOrigin-RevId: cecf1dc150a2dbdaa6171db64f95e383ce142615

3 months ago[maven+workspace] [IDEA-288545]: mark importers as internal API
Anton Makeev [Fri, 5 Aug 2022 12:19:27 +0000 (14:19 +0200)]
[maven+workspace] [IDEA-288545]: mark importers as internal API

GitOrigin-RevId: 7149494c73b8a919afa2d6b39c81150595fc26a7

3 months ago[maven+workspace] [IDEA-288545]: rename MavenCompilerAnnotationProcessorPathsImporter...
Anton Makeev [Fri, 5 Aug 2022 12:17:27 +0000 (14:17 +0200)]
[maven+workspace] [IDEA-288545]: rename MavenCompilerAnnotationProcessorPathsImporter->MavenAnnotationProcessorImporter

GitOrigin-RevId: 276f9714fcb7dae9dfa53ac6826eb097f3d8c9ce

3 months ago[maven+workspace] [IDEA-288545]: consolidate all annotation processor-related logic...
Anton Makeev [Fri, 5 Aug 2022 12:15:03 +0000 (14:15 +0200)]
[maven+workspace] [IDEA-288545]: consolidate all annotation processor-related logic in MavenAnnotationProcessorImporter

GitOrigin-RevId: 6c0c2f64c98c2a796f2b54b1b107b19fafa17cfe

3 months ago[maven] [IDEA-294943]: Do not ignore/unlink Maven project when module is deleted...
Anton Makeev [Fri, 5 Aug 2022 11:19:00 +0000 (13:19 +0200)]
[maven] [IDEA-294943]: Do not ignore/unlink Maven project when module is deleted during import

GitOrigin-RevId: 4390eecbc3ff1f15fc9ca61a6dd1a509157f0a0b

3 months ago[maven+workspace] [IDEA-288545]: Add UI setting to toggle Workspace import.
Anton Makeev [Thu, 4 Aug 2022 15:23:26 +0000 (17:23 +0200)]
[maven+workspace] [IDEA-288545]: Add UI setting to toggle Workspace import.

- `Create separate modules for production and test roots` option removed
- Users who had this option enabled will have Workspace import enabled

GitOrigin-RevId: d73a10c9623a670ea9445730028e055f9b0c8308

3 months ago[kotlin-dfa] Process platform types in &&/|| expressions
Tagir Valeev [Mon, 8 Aug 2022 13:15:50 +0000 (15:15 +0200)]
[kotlin-dfa] Process platform types in &&/|| expressions

Fixes KTIJ-22430 Constant conditions: False positive "Value of 'a' is always true" inspection when platform Boolean is involved

GitOrigin-RevId: bceb057f6d403036c21ad2a58d068ea89839bd70

3 months ago[java-highlighting] Better call type mismatch reporting
Tagir Valeev [Fri, 5 Aug 2022 13:56:14 +0000 (15:56 +0200)]
[java-highlighting] Better call type mismatch reporting

GitOrigin-RevId: d1ed820188361e9104709793d5e5f4965f4cfc8b

3 months ago[java-highlighting] Better actual type definition; fixes for some type mismatch in...
Tagir Valeev [Fri, 5 Aug 2022 12:48:35 +0000 (14:48 +0200)]
[java-highlighting] Better actual type definition; fixes for some type mismatch in collectors

GitOrigin-RevId: 0f6206952feff0aef3d80ea0fa487e53a6d7dae8

3 months agosettings-sync: migrate the way how optional dependency is defined to the new recommen...
Kirill Likhodedov [Sat, 6 Aug 2022 10:46:15 +0000 (12:46 +0200)]
settings-sync: migrate the way how optional dependency is defined to the new recommended scheme

GitOrigin-RevId: 087b5f5c196a96485c40709bd8a45f2e88805703

3 months agovcs: restore API compatibility
Aleksey Pivovarov [Mon, 8 Aug 2022 14:32:02 +0000 (16:32 +0200)]
vcs: restore API compatibility

GitOrigin-RevId: 92dc05ef9cea7b7f899e2e90a03747e0b0d7edf7

3 months agoIDEA-298609 Find in files: Popup.Selection.innerInsets has wrong value
Pavel Porvatov [Mon, 8 Aug 2022 14:33:23 +0000 (16:33 +0200)]
IDEA-298609 Find in files: Popup.Selection.innerInsets has wrong value

GitOrigin-RevId: d3e7b90d154a0649e7c0cea78be61334c2ccb7d4

3 months agoIJI-902 jps-bootstrap java home published as TeamCity parameter value
Dmitriy.Panov [Mon, 8 Aug 2022 14:03:31 +0000 (16:03 +0200)]
IJI-902 jps-bootstrap java home published as TeamCity parameter value

GitOrigin-RevId: 91c3a060241a731784aa31adda58f7a1849a0da1

3 months ago[java-inspections] Mark standard collection constructors as pure
Tagir Valeev [Mon, 8 Aug 2022 12:46:04 +0000 (14:46 +0200)]
[java-inspections] Mark standard collection constructors as pure

IDEA-299423 NPE false positive in static analysis involving collection emptiness check

GitOrigin-RevId: c15b5117e0c58ebbe5617d221db66ecf969f5204

3 months ago[java-highlighting] Better call type mismatch reporting
Tagir Valeev [Fri, 5 Aug 2022 13:56:14 +0000 (15:56 +0200)]
[java-highlighting] Better call type mismatch reporting

GitOrigin-RevId: a380998d882152ed0a9f020aa61d4828e8f4a6fa

3 months ago[java-highlighting] Better actual type definition; fixes for some type mismatch in...
Tagir Valeev [Fri, 5 Aug 2022 12:48:35 +0000 (14:48 +0200)]
[java-highlighting] Better actual type definition; fixes for some type mismatch in collectors

GitOrigin-RevId: 871b08cad495504075d4bfe618ec8f208c59b42f

3 months ago[kotlin-dfa] EA-551820 - F: KotlinDfaAssistProvider.getAnchor
Tagir Valeev [Mon, 8 Aug 2022 08:15:04 +0000 (10:15 +0200)]
[kotlin-dfa] EA-551820 - F: KotlinDfaAssistProvider.getAnchor

Infinite loop fixed

GitOrigin-RevId: c8de2c4dff9ea4fe84b4a1932732054a1e4d6dda

3 months ago[java-refactoring] EA-621105 - PIEAE: JavaTypeRenameValidator.isInputValid
Tagir Valeev [Mon, 8 Aug 2022 08:09:33 +0000 (10:09 +0200)]
[java-refactoring] EA-621105 - PIEAE: JavaTypeRenameValidator.isInputValid

GitOrigin-RevId: 63d6ef8f3c92cf786a5d2c31917a603cec537b7c

3 months ago[java-highlighting] Better call type mismatch reporting
Tagir Valeev [Fri, 5 Aug 2022 13:56:14 +0000 (15:56 +0200)]
[java-highlighting] Better call type mismatch reporting

GitOrigin-RevId: 1f7240ef2cdad17d78aa0f691b1b5ce3108293b3

3 months ago[java-highlighting] Better actual type definition; fixes for some type mismatch in...
Tagir Valeev [Fri, 5 Aug 2022 12:48:35 +0000 (14:48 +0200)]
[java-highlighting] Better actual type definition; fixes for some type mismatch in collectors

GitOrigin-RevId: 3652f4511a067b86bc9138f492a2a88cded09de0

3 months ago[java-inference] Spelling
Tagir Valeev [Fri, 5 Aug 2022 08:06:18 +0000 (10:06 +0200)]
[java-inference] Spelling

GitOrigin-RevId: 243de170a3aefc480f70604fa39658e87863b295

3 months ago[devkit] IDEA-298637 Creating a new plugin logs 'Gradle IntelliJ Plugin is outdated'
Yuriy Artamonov [Mon, 8 Aug 2022 13:42:32 +0000 (15:42 +0200)]
[devkit] IDEA-298637 Creating a new plugin logs 'Gradle IntelliJ Plugin is outdated'

GitOrigin-RevId: 65945037a895431b4d8a104c732266d9c38c4a2a

3 months ago[refactoring] IDEA-299518 BaseRefactoringAction initializes refactoring supports...
Yuriy Artamonov [Mon, 8 Aug 2022 13:12:36 +0000 (15:12 +0200)]
[refactoring] IDEA-299518 BaseRefactoringAction initializes refactoring supports for all languages

GitOrigin-RevId: 0b791886386cf6d09834fa5903fe68d842c38cb0

3 months ago[kotlin] regenerate tests
Ilya Kirillov [Mon, 8 Aug 2022 12:22:43 +0000 (14:22 +0200)]
[kotlin] regenerate tests

GitOrigin-RevId: 3a1765dc53e0f2057372d495b763e4a2d156f96d

3 months ago[kotlin] fix compilation of KotlinCleanupInspectionTest
Ilya Kirillov [Mon, 8 Aug 2022 12:22:20 +0000 (14:22 +0200)]
[kotlin] fix compilation of KotlinCleanupInspectionTest

GitOrigin-RevId: 785d677222f78c6744c012a2b115c92f9dcc5579

3 months agoK2 inspection: Handle sort-modifiers-inspection
Jaebaek Seo [Wed, 3 Aug 2022 20:57:03 +0000 (20:57 +0000)]
K2 inspection: Handle sort-modifiers-inspection

GitOrigin-RevId: cd23d8b5368fe0c82d07a583a66f11c0b060ded6

3 months agoK2 inspection: Handle RemoveSingleExpressionStringTemplateInspection
Jaebaek Seo [Thu, 28 Jul 2022 18:35:42 +0000 (18:35 +0000)]
K2 inspection: Handle RemoveSingleExpressionStringTemplateInspection

GitOrigin-RevId: 0e1ac0e9a979f93eed2265f51951099e0505b893

3 months agoK2 inspection: Handle remove-empty-secondary-constructor
Jaebaek Seo [Sat, 23 Jul 2022 00:01:53 +0000 (00:01 +0000)]
K2 inspection: Handle remove-empty-secondary-constructor

GitOrigin-RevId: 0e8a464de77982d313e2f125d8d1283204c6c6ef

3 months agoK2 inspection: Handle redundant-empty-initializer-block
Jaebaek Seo [Fri, 22 Jul 2022 19:31:31 +0000 (19:31 +0000)]
K2 inspection: Handle redundant-empty-initializer-block

Move RedundantEmptyInitializerBlockInspection.kt to
org.jetbrains.kotlin.idea.codeInsight.inspections.shared and let both K1
and K2 redundant-empty-initializer-block inspection use it.

GitOrigin-RevId: d4a9b1ad8aa048adb1fe8d6c6733ce1794d50b9a

3 months agoCPP-29926 Fix run condition in ProjectFrameAllocator
Semyon Kolton [Mon, 8 Aug 2022 08:42:36 +0000 (10:42 +0200)]
CPP-29926 Fix run condition in ProjectFrameAllocator

Previously, it was possible that coroutine (that closes the progress dialog) will be cancelled before it was launched. This could happen if actual project loading happens fast. In this case progress dialog will never be closed and will block UI.

GitOrigin-RevId: c4c09218dffdc1a86ace61b1d0308d2ad7cf116c

3 months agoIDEA-299530 Remove force step into from the debugger toolbar
Egor Ushakov [Mon, 8 Aug 2022 11:40:19 +0000 (13:40 +0200)]
IDEA-299530 Remove force step into from the debugger toolbar

GitOrigin-RevId: 66e1e78fba26425fe3663322eb029695a28b7ffd

3 months agoSimilar usages: export features action reformat file
Andrey Sokolov [Mon, 8 Aug 2022 12:51:47 +0000 (14:51 +0200)]
Similar usages: export features action reformat file

GitOrigin-RevId: 8a05aff2ab931b646382af6314349dc0162f1e1b

3 months agoCPP-27198 - bundle and provide documentation for Clang-Tidy checks
Vladimir Plyashkun [Fri, 8 Jul 2022 13:27:31 +0000 (16:27 +0300)]
CPP-27198 - bundle and provide documentation for Clang-Tidy checks

GitOrigin-RevId: 517765a923b41451df28fe924264c56e0c43d9c4

3 months ago[kotlin] regenerate tests
Mikhail Zarechenskiy [Mon, 8 Aug 2022 09:04:54 +0000 (11:04 +0200)]
[kotlin] regenerate tests

GitOrigin-RevId: c3d346f74c3bef059c27065c820d042f93396de2

3 months ago[kotlin] Remove inspection about direct use of Result type
Mikhail Zarechenskiy [Fri, 5 Aug 2022 14:39:38 +0000 (16:39 +0200)]
[kotlin] Remove inspection about direct use of Result type

 ^KT-53489 Fixed

GitOrigin-RevId: cc2523e4d12dae92a4990d54d958bad1c6ec68fb

3 months ago[kotlin] Remove "Redundant 'async' call may be reduced..." inspection
Mikhail Zarechenskiy [Fri, 5 Aug 2022 13:55:54 +0000 (15:55 +0200)]
[kotlin] Remove "Redundant 'async' call may be reduced..." inspection

 ^KTIJ-21169 Fixed

GitOrigin-RevId: f63cca5c23c924d18d4a5c599adc76aa03b3f52e

3 months ago[kotlin] Remove "Function returning Deferred directly" inspection
Mikhail Zarechenskiy [Fri, 5 Aug 2022 13:51:51 +0000 (15:51 +0200)]
[kotlin] Remove "Function returning Deferred directly" inspection

 ^KTIJ-21159 Fixed

GitOrigin-RevId: f1b296189d564085730f6f7e3ae2e21b01959977

3 months agoDS-2106: add project parameter to IdeUICustomization#getProjectViewTitle
Andrey Vokin [Mon, 8 Aug 2022 09:21:57 +0000 (11:21 +0200)]
DS-2106: add project parameter to IdeUICustomization#getProjectViewTitle

DS-2106 Support multiple projects / workspaces

GitOrigin-RevId: 87c4a6f30fef0807e3f8de097e898732db232470

3 months agoSimilar usages: export features action fixed bugs
Andrey Sokolov [Mon, 8 Aug 2022 11:38:42 +0000 (13:38 +0200)]
Similar usages: export features action fixed bugs

GitOrigin-RevId: 71243dc86baf50ff4e100fa0aabeb69a6d02d4aa

3 months agoIDEA-289046 Navbar autoscroll: fix review comments
Aydar Mukhametzyanov [Mon, 8 Aug 2022 11:01:06 +0000 (13:01 +0200)]
IDEA-289046 Navbar autoscroll: fix review comments

GitOrigin-RevId: 610075a9586af751b9015fa79df1fced69fc455e

3 months agoUpdating versions of project dependencies: runtimeBuild->17.0.4b535.2
Dmitriy Panov [Mon, 8 Aug 2022 11:00:31 +0000 (11:00 +0000)]
Updating versions of project dependencies: runtimeBuild->17.0.4b535.2

GitOrigin-RevId: f4d670eeba564a4d565666640e737f94f6bc11ca

3 months ago[ide starter] AT-57 Async profiler injection test (now failing - enable after task...
Nikita Kudrin [Mon, 8 Aug 2022 10:49:49 +0000 (13:49 +0300)]
[ide starter] AT-57 Async profiler injection test (now failing - enable after task is solved)

GitOrigin-RevId: e4f6d64855441b14d1e4f7404b92e7a63243ac96

3 months agoclean up
Daniil Ovchinnikov [Mon, 8 Aug 2022 10:10:08 +0000 (12:10 +0200)]
clean up

GitOrigin-RevId: 85c088b0a617f0e0fd8ea1579d6da2e8ebc4eb4c

3 months agoIDEA-298942 Show usages: Wrong header inset
Pavel Porvatov [Mon, 8 Aug 2022 10:08:57 +0000 (12:08 +0200)]
IDEA-298942 Show usages: Wrong header inset

GitOrigin-RevId: d90c091c29d868b24d26ea5e0c468d71cf6a4517

3 months agoIDEA-297389 CR-27478: clean up
Alexandr Suhinin [Thu, 28 Jul 2022 12:03:22 +0000 (15:03 +0300)]
IDEA-297389 CR-27478: clean up

GitOrigin-RevId: 47052ac943fb722d824ed662149cf1fc16826939

3 months agoIDEA-298318 CR-27503: move method
Alexandr Suhinin [Thu, 28 Jul 2022 11:51:08 +0000 (14:51 +0300)]
IDEA-298318 CR-27503: move method

GitOrigin-RevId: 92d16282b6462829cac6b477c41dbc79bae42ba8

3 months agogen ui: allow to override dumb awareness for completion fields without double inheritance
Alexander.Kass [Sat, 6 Aug 2022 08:46:22 +0000 (11:46 +0300)]
gen ui: allow to override dumb awareness for completion fields without double inheritance

GitOrigin-RevId: 24bbe238824521dc6358983aa25d61e8f685faa5

3 months agoIDEA-298168 Refactor: remove obsolete methods for loading tip content
Konstantin Hudyakov [Tue, 2 Aug 2022 16:50:58 +0000 (19:50 +0300)]
IDEA-298168 Refactor: remove obsolete methods for loading tip content

Unfortunately, I can't remove old browser that was used for showing tip content, because it is used in third party plugins.

GitOrigin-RevId: 05c97aeedf0edf22581335b63f14bdc3b1831564

3 months agoIDEA-298168 Refactor: remove test for loading and showing tips using obsolete methods
Konstantin Hudyakov [Tue, 2 Aug 2022 16:01:02 +0000 (19:01 +0300)]
IDEA-298168 Refactor: remove test for loading and showing tips using obsolete methods

Tests for loading and parsing tips using new methods will be added later.

GitOrigin-RevId: f4c399c1a3c6aae6c7b1d8d6883a5bb4502d3b1a

3 months agoIDEA-298168 Refactor: reuse TipPanel in Features Suggester
Konstantin Hudyakov [Tue, 2 Aug 2022 16:00:33 +0000 (19:00 +0300)]
IDEA-298168 Refactor: reuse TipPanel in Features Suggester

GitOrigin-RevId: 460759a387a25f189b1a7172746d7300765e6c26

3 months agoIDEA-298168 Rewrite DumpInvalidTipsAction to dump all problems during tip loading...
Konstantin Hudyakov [Tue, 2 Aug 2022 15:57:55 +0000 (18:57 +0300)]
IDEA-298168 Rewrite DumpInvalidTipsAction to dump all problems during tip loading and parsing

Also, add an ability to validate custom tip files.

GitOrigin-RevId: d147e0817e4321b3e720c39e173e9dbaaefd4c13

3 months agoIDEA-298168 Show tip content using StyledTextPane in Tips of the Day and Productivity...
Konstantin Hudyakov [Mon, 1 Aug 2022 15:41:03 +0000 (18:41 +0300)]
IDEA-298168 Show tip content using StyledTextPane in Tips of the Day and Productivity guide

GitOrigin-RevId: 684dbeb5ef4dcddbb1a5bcc52ae2ecd86fabf2e6

3 months agoIDEA-298168 Add rounded border to illustrations in Tips of the Day
Konstantin Hudyakov [Fri, 5 Aug 2022 06:39:24 +0000 (09:39 +0300)]
IDEA-298168 Add rounded border to illustrations in Tips of the Day

GitOrigin-RevId: e65e7d56f35be1da85cb76ff9f800b511ce8f9fb

3 months agoIDEA-298424 Implement converter from HTML to text paragraphs for Tips of the Day
Konstantin Hudyakov [Mon, 1 Aug 2022 13:49:38 +0000 (16:49 +0300)]
IDEA-298424 Implement converter from HTML to text paragraphs for Tips of the Day

Also add new type of paragraph - ListParagraph.

GitOrigin-RevId: 085aa4948a04e1311d464d8c44cb6d0611243917

3 months agoIDEA-298168 Improve attributes API of text parts and paragraphs
Konstantin Hudyakov [Wed, 3 Aug 2022 12:39:20 +0000 (15:39 +0300)]
IDEA-298168 Improve attributes API of text parts and paragraphs

- It is easy to change any attribute now using `editAttributes`
- Font and paragraph indents are scaled during insertion to text pane

GitOrigin-RevId: 39026112ed81dc523dc0568a6445813c84a7e887

3 months ago[CodeWithMe] CWM-5452: Do not replace content component, put a replacement component...
Vyacheslav Moklev [Thu, 4 Aug 2022 11:21:07 +0000 (14:21 +0300)]
[CodeWithMe] CWM-5452: Do not replace content component, put a replacement component to user data instead

(cherry picked from commit 1b6e31cbd679f73eaf226d0752af538039c1cd56)

GitOrigin-RevId: 980ef5f9859f9c2ccb1542c9c7bee323aa3e3c54

3 months ago[kotlin] regenerate K2 tests
Ilya Kirillov [Sun, 7 Aug 2022 09:15:46 +0000 (11:15 +0200)]
[kotlin] regenerate K2 tests

GitOrigin-RevId: 4b1943753d1066f0f07d474a37dae66bd3c97dc7

3 months ago[kotlin] move AbstractKotlinNavigationToLibrarySourceTest to the correct package
Ilya Kirillov [Sun, 7 Aug 2022 09:13:30 +0000 (11:13 +0200)]
[kotlin] move AbstractKotlinNavigationToLibrarySourceTest to the correct package

GitOrigin-RevId: 5afec299dccadc8959fd01ad215c4bf96aefb0fa

3 months agoUpdating versions of project dependencies: runtimeBuild->17.0.3b498.3
Vitaly Provodin [Sat, 6 Aug 2022 23:40:16 +0000 (23:40 +0000)]
Updating versions of project dependencies: runtimeBuild->17.0.3b498.3

GitOrigin-RevId: 510b3cb86e6c0b46cac8e7c9462bb49a4139925c

3 months ago[git-stash, shelf] show original path in the tree for renamed or moved files
Julia Beliaeva [Thu, 4 Aug 2022 21:00:03 +0000 (23:00 +0200)]
[git-stash, shelf] show original path in the tree for renamed or moved files

GitOrigin-RevId: 0bb4cea142d465d04a892d3f374c70ed1b201c67

3 months ago[java-refactorings] Don't show the "Exceptions" tab on the Change Method Signature...
Andrey.Cherkasov [Fri, 5 Aug 2022 13:38:08 +0000 (17:38 +0400)]
[java-refactorings] Don't show the "Exceptions" tab on the Change Method Signature dialog for records

GitOrigin-RevId: 03801a864503a8e3e826027c170c9dc5676cc8bf

3 months agowsl: fix fetching WSL mount root - do not rely on `System.getProperty("user.dir"...
Sergey Simonchik [Fri, 5 Aug 2022 15:38:35 +0000 (17:38 +0200)]
wsl: fix fetching WSL mount root - do not rely on `System.getProperty("user.dir")` as it can be changed (IDEA-299437)

For example, o.j.p.g.s.e.GradleExecutionHelper.SystemPropertiesAdjuster changes `System.getProperty("user.dir")`, so Windows and Linux working directories no longer point to the same folder.

GitOrigin-RevId: a942cc4442425a0809c7106d6041cc262e366902

3 months agoIDEA-297547 Liquibase: provider icon in AllIcons
Yuriy Artamonov [Fri, 5 Aug 2022 17:46:16 +0000 (19:46 +0200)]
IDEA-297547 Liquibase: provider icon in AllIcons

GitOrigin-RevId: 9827d21f0391c769e9844cbfd5a3ad8c7ca423ee

3 months agobetter fix for IDEA-299345 IJ-CR-28117
Nikita Skvortsov [Fri, 5 Aug 2022 14:19:22 +0000 (16:19 +0200)]
better fix for IDEA-299345 IJ-CR-28117

GitOrigin-RevId: 98c5f29805a07e55c44de2c6d8a5f5e92d1ff885

3 months agogit-branches-dashboard: extract branches tree in VCS log place to common action places
Dmitry Zhuravlev [Fri, 5 Aug 2022 16:21:40 +0000 (18:21 +0200)]
git-branches-dashboard: extract branches tree in VCS log place to common action places

GitOrigin-RevId: f8e52b41ce4ae4644e817ae653071f24213e0ff0

3 months agoSimilar usages: ClusteringSearchSession clusterUsage method changed signature. Simila...
Andrey Sokolov [Fri, 5 Aug 2022 12:14:36 +0000 (14:14 +0200)]
Similar usages: ClusteringSearchSession clusterUsage method changed signature. SimilarUsage extends Usage now

GitOrigin-RevId: 50ab45a0c4750bd90c14eac7b88ffc61a01a9a22

3 months ago[idea] update button with text if text has been changed
Alisa Afonina [Thu, 4 Aug 2022 17:48:28 +0000 (19:48 +0200)]
[idea] update button with text if text has been changed

GitOrigin-RevId: d3c8bf87c6c62fc3029a77e0eb9ad9896e4049d6

3 months agodumb service: report current state under thread name when trying to cancel all tasks...
Dmitry Batkovich [Fri, 5 Aug 2022 13:21:01 +0000 (15:21 +0200)]
dumb service: report current state under thread name when trying to cancel all tasks (CWM-6869)

GitOrigin-RevId: e323b271668b7ae979cdf4754fdd608d71785c37

3 months agodo not run dumb mode tasks in write action in headless mode
Dmitry Batkovich [Fri, 5 Aug 2022 10:11:47 +0000 (12:11 +0200)]
do not run dumb mode tasks in write action in headless mode

GitOrigin-RevId: 1ba283c0d06aa60a65a378c9a8971942425b84dd

3 months agoPY-52925: Do not depend on target UUID since it is not persistent. Persist SDK UUID...
Ilya.Kazakevich [Fri, 5 Aug 2022 15:39:08 +0000 (17:39 +0200)]
PY-52925: Do not depend on target UUID since it is not persistent. Persist SDK UUID instead.

Remote paths are calculated based on SDK UUID, not target UUID which is not persistent.

GitOrigin-RevId: 287e2e3e7cb3e6c2099f396eb59fa72d82fdf83b

3 months agoIDEA-292689 Main toolbar: need two clicks to activate a button if some popup is open
Mikhail Sokolov [Fri, 5 Aug 2022 14:52:20 +0000 (16:52 +0200)]
IDEA-292689 Main toolbar: need two clicks to activate a button if some popup is open

GitOrigin-RevId: f32d1a8b4b439e3bf2c12f0f31cfe191cf97a89a

3 months agoenable preview and test it for "Text block can be used" inspection
Bas Leijdekkers [Fri, 5 Aug 2022 11:50:18 +0000 (13:50 +0200)]
enable preview and test it for "Text block can be used" inspection

GitOrigin-RevId: 4f3bfcad8779c08b298408c6b9745076348ceda2

3 months agoUpdate inspection descriptions, so Java and Groovy descriptions are both correct...
Bas Leijdekkers [Fri, 5 Aug 2022 11:30:22 +0000 (13:30 +0200)]
Update inspection descriptions, so Java and Groovy descriptions are both correct and the same (IDEA-299403)

for "Double-checked locking" inspection

GitOrigin-RevId: 583c21f8447a660e09c18faa0d4693942dc98b75

3 months ago[recent projects] disable recent project manager in fleet
Alexander Zolotov [Fri, 5 Aug 2022 11:05:42 +0000 (13:05 +0200)]
[recent projects] disable recent project manager in fleet

GitOrigin-RevId: 7367b82821f1ef7738a45394cb767ae043b71f8d

3 months agoturn off build time heuristic for automatic builds to avoid unexpected rebuilds ...
Eugene Zhuravlev [Fri, 5 Aug 2022 14:11:59 +0000 (16:11 +0200)]
turn off build time heuristic for automatic builds to avoid unexpected rebuilds (IDEA-298245)

GitOrigin-RevId: 6f12a819014023e8e6e7b0f1e82d3fcc15e32655

3 months ago[fleet, gradle] ensure gradle jvm initialized on gradle project loading FL-12899
Vladislav.Soroka [Fri, 5 Aug 2022 14:06:31 +0000 (18:06 +0400)]
[fleet, gradle] ensure gradle jvm initialized on gradle project loading FL-12899

GitOrigin-RevId: 6225962f644d5e0aa988bab763042ada0450a7c0

3 months ago[gradle] ensure gradle jvm initialized before gradle execution FL-12899
Vladislav.Soroka [Fri, 5 Aug 2022 14:05:00 +0000 (18:05 +0400)]
[gradle] ensure gradle jvm initialized before gradle execution FL-12899

GitOrigin-RevId: 30732643d070fa52de9439c344c317a53c9fcfe6

3 months agoIDEA-299382 Find in files popup does not have rounded corners
Alexander Lobas [Fri, 5 Aug 2022 13:55:50 +0000 (15:55 +0200)]
IDEA-299382 Find in files popup does not have rounded corners

GitOrigin-RevId: ed8582462b1630843e83f09afd9ed70980bbab0d

3 months ago[javaee] IDEA-299414 Get rid of obsolete downloadable JAR library types
Yuriy Artamonov [Fri, 5 Aug 2022 11:44:06 +0000 (13:44 +0200)]
[javaee] IDEA-299414 Get rid of obsolete downloadable JAR library types

GitOrigin-RevId: a0ddd7dd77644daaa0cdf19a02b22ce7258e6a1a

3 months agoIJI-902 jps-bootstrap: option to download JDK and exit without compiling anything...
Dmitriy.Panov [Fri, 5 Aug 2022 13:45:24 +0000 (15:45 +0200)]
IJI-902 jps-bootstrap: option to download JDK and exit without compiling anything to be able to download 17 while running on 11 for simpler migration (IJI-919 workaround)

GitOrigin-RevId: 51f61347022123d657376e13bdbb8ed690a1b24f

3 months ago[vcs-log] do not check checksum for zero before clearing containing branches cache
Julia Beliaeva [Thu, 4 Aug 2022 21:15:40 +0000 (23:15 +0200)]
[vcs-log] do not check checksum for zero before clearing containing branches cache

It is theoretically possible to have some early containing branches requests before the first non-empty data pack. Since containing branches are computed using the graph without calling git, results of such requests would be empty. So when the first data pack arrives, it is necessary to clear these cached results from the cache.

GitOrigin-RevId: 568245a0ff9c1ea85933fa1a487f1dc2903ad23e

3 months ago[kotlin] [structure view] fix test that it actually does test something
Anna Kozlova [Thu, 4 Aug 2022 12:14:11 +0000 (14:14 +0200)]
[kotlin] [structure view] fix test that it actually does test something

GitOrigin-RevId: ed389cd0a7a2641c17875e7de1c8808a7997e385

3 months ago[junit5] check jupiter dependency explicitly in case of broken library (IDEA-298960)
Anna Kozlova [Wed, 3 Aug 2022 16:36:28 +0000 (18:36 +0200)]
[junit5] check jupiter dependency explicitly in case of broken library (IDEA-298960)

GitOrigin-RevId: d3c49e7104b7b2d49b848537da634e2373f3e9f5

3 months agolink to settings in inspection description now supports spaces in configuration id...
Dmitrii Naumenko [Fri, 5 Aug 2022 11:39:30 +0000 (13:39 +0200)]
link to settings in inspection description now supports spaces in configuration id #IDEA-299383 fixed

GitOrigin-RevId: 185c1c612e2ac9e82cb56248ea26f99d493acbac

3 months agoadd @RequiresEdt to CopyPastePostProcessor.collectTransferableData
Dmitrii Naumenko [Fri, 1 Jul 2022 15:36:41 +0000 (17:36 +0200)]
add @RequiresEdt to CopyPastePostProcessor.collectTransferableData

- to make the contract more explicit then just using javadoc

GitOrigin-RevId: 84fd140a0a6555ea5ae21a9e5e399d57ebef2b7f

3 months agoremove unnecessary test data
Alexey Kudravtsev [Thu, 4 Aug 2022 15:43:07 +0000 (17:43 +0200)]
remove unnecessary test data

GitOrigin-RevId: 8dfc0eca12d06026ff2f81bc70cd59edc4a3603e

3 months agomove quick fix tests to the package of their corresponding fixes to be able to test...
Alexey Kudravtsev [Thu, 4 Aug 2022 15:42:25 +0000 (17:42 +0200)]
move quick fix tests to the package of their corresponding fixes to be able to test package-local stuff

GitOrigin-RevId: 8f5b6f2665c3b9eaf811eaebf71b6b82bd1c4bd1

3 months agoPY-29898 Impl resolve keyword argument to dataclass attribute
andrey.matveev [Wed, 8 Jun 2022 19:08:49 +0000 (22:08 +0300)]
PY-29898 Impl resolve keyword argument to dataclass attribute

Also fix PY-55231
Add declarationElement field to callable parameter to resolve parameters to class fields in dataclasses

GitOrigin-RevId: ae2703b958061df6f2d74b19920a6e3be2a084f6