idea/community.git
7 months agoadd ProjectFileIndex#getSourceFolder to simplify clients (IDEA-CR-57371)
Sergey Simonchik [Mon, 3 Feb 2020 11:13:26 +0000 (14:13 +0300)]
add ProjectFileIndex#getSourceFolder to simplify clients (IDEA-CR-57371)

No need to cast ProjectFileIndex.getInstance() to ProjectFileIndexImpl now.

GitOrigin-RevId: 58a104b4444e4bf24dde03e2482ae8d6bae6723c

7 months agoRuntime environments: call TargetEnvironmentFactory.prepareRemoteEnvironment with...
Anna.Kozlova [Mon, 3 Feb 2020 11:05:44 +0000 (12:05 +0100)]
Runtime environments: call TargetEnvironmentFactory.prepareRemoteEnvironment with separate console

GitOrigin-RevId: c408ad75d4df5c0c7241d33b2b1cda97879d1dc0

7 months agotests: pull common `createHandler`
Anna.Kozlova [Mon, 3 Feb 2020 08:10:17 +0000 (09:10 +0100)]
tests: pull common `createHandler`

GitOrigin-RevId: 8f17bd60eaed589d15b6a5874bf93319dee4744a

7 months agoUAST: inject references by usages pattern
Yuriy Artamonov [Mon, 3 Feb 2020 11:00:28 +0000 (14:00 +0300)]
UAST: inject references by usages pattern

GitOrigin-RevId: 6fa6f5476ab2374c04d4968d3567e1b0cc134d8e

7 months agoIDEA-CR-57750: Load additional text attributes to parent scheme before child scheme...
Alexander Zolotov [Mon, 27 Jan 2020 19:29:30 +0000 (22:29 +0300)]
IDEA-CR-57750: Load additional text attributes to parent scheme before child scheme is optimized (GO-8117)

(cherry picked from commit 5069ef067af6e5af828d6ea35b788ea0f8a11e87)

GitOrigin-RevId: e6928e5418fdc4db29e8d8724293438746e69561

7 months agoBetter wording for Windows Defender warning
Dmitry Jemerov [Mon, 3 Feb 2020 10:20:27 +0000 (11:20 +0100)]
Better wording for Windows Defender warning

GitOrigin-RevId: 6acc60561984f803a5cb919557f3df2aa866fe3c

7 months agofix arguments order (IDEA-231912)
Dennis Ushakov [Mon, 3 Feb 2020 10:06:08 +0000 (13:06 +0300)]
fix arguments order (IDEA-231912)

GitOrigin-RevId: d6e7babe7d9e081b61f81bbce6916213db2bc932

7 months agoclear binding cache when removing provider
Dennis Ushakov [Fri, 31 Jan 2020 11:20:55 +0000 (14:20 +0300)]
clear binding cache when removing provider

GitOrigin-RevId: 893f713c4051584da7c6c724a0378d9e59e609f8

7 months agoIDEA-CR-57959: DS-62 EditorsSplitters: Don't fail if presentable URL from VFS is...
Vladimir Lagunov [Mon, 3 Feb 2020 08:40:59 +0000 (15:40 +0700)]
IDEA-CR-57959: DS-62 EditorsSplitters: Don't fail if presentable URL from VFS is not a valid local filesystem path.

(cherry picked from commit 23c1a1306f56094d49a2c2792cc98112e009a985)

GitOrigin-RevId: e1bddb9b9d1e2d11bd05d7a750005e6cbc1b39bd

7 months ago[vcs] Use max date instead of hardcoded to detect firstCachedDate properly
Nikolay Rykunov [Mon, 3 Feb 2020 09:24:13 +0000 (12:24 +0300)]
[vcs] Use max date instead of hardcoded to detect firstCachedDate properly

GitOrigin-RevId: e4a62904cbec4988a7c05c6b5497c8d6ab8e0817

7 months ago[gradle] add exceptions to IDEA log
Nikita Skvortsov [Mon, 3 Feb 2020 09:40:55 +0000 (12:40 +0300)]
[gradle] add exceptions to IDEA log

GitOrigin-RevId: 2594d1f080f4874c7b037b778ca1763ffc52ba79

7 months agoindexes: unload index id if it's created only for index directory remove operation...
Dmitry Batkovich [Mon, 3 Feb 2020 09:39:30 +0000 (12:39 +0300)]
indexes: unload index id if it's created only for index directory remove operation WEB-43552 IDEA-231562 WEB-43576 WEB-43575 WEB-43574 WEB-43562

GitOrigin-RevId: b9c32fe2217aee18879d5082732f02d1c7d4d272

7 months agoJavaStubBuilderTest: set language level manually to support records parser
Roman.Ivanov [Mon, 3 Feb 2020 09:23:06 +0000 (16:23 +0700)]
JavaStubBuilderTest: set language level manually to support records parser

GitOrigin-RevId: 1d66aa608e55768df0f5a94d474ff852aae9f05d

7 months agoIDEA-232027 Make matched brace bg blue as selection is
Konstantin Bulenkov [Mon, 3 Feb 2020 09:21:42 +0000 (10:21 +0100)]
IDEA-232027 Make matched brace bg blue as selection is

GitOrigin-RevId: 2d8b5512bbd685bbddf49970334720f9928dd903

7 months agoIDEA-229928 Unexpected way to remove code by moving it to the same position
Dmitry Batrak [Fri, 31 Jan 2020 17:29:30 +0000 (20:29 +0300)]
IDEA-229928 Unexpected way to remove code by moving it to the same position

GitOrigin-RevId: 55ce3cc82fb08079f6d492538714e2ba10f7a8bd

7 months agoRecords: fix language level in tests that require records
Roman.Ivanov [Mon, 3 Feb 2020 08:58:47 +0000 (15:58 +0700)]
Records: fix language level in tests that require records

GitOrigin-RevId: e765258bb5e5ae0bad2dbb1c9a0e5da552ead30c

7 months agoAbstractJavaFormatterTest: set manually maximum language level to support records
Roman.Ivanov [Mon, 3 Feb 2020 08:39:21 +0000 (15:39 +0700)]
AbstractJavaFormatterTest: set manually maximum language level to support records

GitOrigin-RevId: 831e234a6bf3964b78d3f278ef9a57f294e52e33

7 months agoRecords: delete test for records feature (parser unable to detect if it is not method)
Roman.Ivanov [Mon, 3 Feb 2020 08:29:43 +0000 (15:29 +0700)]
Records: delete test for records feature (parser unable to detect if it is not method)

GitOrigin-RevId: 70e9bbe9e65e4cd9c875ff13a1c156a9462028b9

7 months agoRecord file template: move caret to record header
Roman.Ivanov [Mon, 3 Feb 2020 07:39:31 +0000 (14:39 +0700)]
Record file template: move caret to record header

GitOrigin-RevId: 636032bd164744580478881d4119af66b9062632

7 months agoCreateFromTemplateAction: remember offset to let live templates go to $END$
Roman.Ivanov [Mon, 3 Feb 2020 06:17:30 +0000 (13:17 +0700)]
CreateFromTemplateAction: remember offset to let live templates go to $END$

GitOrigin-RevId: 12a3076fbde8dd6d48bdd84a0a1f5a0b28b1acf2

7 months agomark record's template as internal
Roman.Ivanov [Mon, 3 Feb 2020 04:58:49 +0000 (11:58 +0700)]
mark record's template as internal

GitOrigin-RevId: ff5aa516c915ddc45b385cb5b3fa4ffba326a2a1

7 months agoJavaCreateFromTemplateHandler: create files with maximum possible language level
Roman.Ivanov [Mon, 3 Feb 2020 04:12:32 +0000 (11:12 +0700)]
JavaCreateFromTemplateHandler: create files with maximum possible language level

GitOrigin-RevId: 37b805c4830955b2cf7c8da9f50b06714c99f71c

7 months agoPsiJavaParserFacadeImpl: less hacky record creation, use dummy element
Roman.Ivanov [Mon, 3 Feb 2020 04:11:03 +0000 (11:11 +0700)]
PsiJavaParserFacadeImpl: less hacky record creation, use dummy element

GitOrigin-RevId: b78f14d458fb6251caf1cf9b9b58397deda9b721

7 months agoMaven configurable i10n
Alexander Bubenchikov [Mon, 3 Feb 2020 08:50:05 +0000 (11:50 +0300)]
Maven configurable i10n

GitOrigin-RevId: 8bf9ad7ac0d09b2b5f57ca71d514cb7ef6e9b1f1

7 months agoSSR: revert debug output committed by mistake
Bas Leijdekkers [Mon, 3 Feb 2020 08:35:58 +0000 (09:35 +0100)]
SSR: revert debug output committed by mistake

GitOrigin-RevId: de545c812e2191fda745d45d010cfb9d762ee1b2

7 months agoIDEA-232027 Make selection in IntelliJ scheme lighter to leave highlighting
Konstantin Bulenkov [Mon, 3 Feb 2020 08:26:05 +0000 (09:26 +0100)]
IDEA-232027 Make selection in IntelliJ scheme lighter to leave highlighting

GitOrigin-RevId: f5bf5c7a77f187e322b4b5b08913be54fd690f7f

7 months ago`CoroutineScheduler$Worker#cpuWorkerIdle` is renamed to `park`
Max Medvedev [Mon, 3 Feb 2020 08:24:26 +0000 (11:24 +0300)]
`CoroutineScheduler$Worker#cpuWorkerIdle` is renamed to `park`

see https://github.com/Kotlin/kotlinx.coroutines/commit/f27d176e7a6add3b92f268c413b0ea4d27de35aa

GitOrigin-RevId: fb0661dae30a681bcada98dc2e7c053f675cede3

7 months agoUse load sql dialect file element types on index initialisation
Alexander Kass [Wed, 29 Jan 2020 15:39:06 +0000 (18:39 +0300)]
Use load sql dialect file element types on index initialisation

GitOrigin-RevId: afaf9274e3b5c284bc8f313460258c061e8c0436

7 months agoIDEA-231651 IntelliSense not showing the field variable that is being incremented...
Peter Gromov [Mon, 3 Feb 2020 07:29:35 +0000 (08:29 +0100)]
IDEA-231651 IntelliSense not showing the field variable that is being incremented on the right side of the assignment operator

GitOrigin-RevId: 91551b15c5b61ab34f6a3ab4f1ffb1fd9b9d130f

7 months ago[util] extract separate bundle for properties used from util.ui module (IDEA-209382)
nik [Mon, 3 Feb 2020 06:54:59 +0000 (09:54 +0300)]
[util] extract separate bundle for properties used from util.ui module (IDEA-209382)

This is also needed to remove dependency from intellij.platform.core to intellij.platform.resources.en (IDEA-210732).

GitOrigin-RevId: eb85161c1cf7eed07b2848998bd012b8aa5850f4

7 months agoCode-analysis: bound annotation should win over default annotations
Tagir Valeev [Mon, 3 Feb 2020 05:54:44 +0000 (12:54 +0700)]
Code-analysis: bound annotation should win over default annotations

GitOrigin-RevId: 6c3630239906f333c4fc12c4482ecddfa60a0e40

7 months agoCodeAnalysisDataFlowInspection.getActualText: sorting added (IDEA-CR-57953)
Tagir Valeev [Mon, 3 Feb 2020 05:09:27 +0000 (12:09 +0700)]
CodeAnalysisDataFlowInspection.getActualText: sorting added (IDEA-CR-57953)

GitOrigin-RevId: 96bb425ea9fcfa6cd3a682af0231a1be7294b17c

7 months agoBasic test-suite for codeanalysis-annotations
Tagir Valeev [Mon, 3 Feb 2020 04:57:05 +0000 (11:57 +0700)]
Basic test-suite for codeanalysis-annotations

GitOrigin-RevId: a134aead43faf095ac3ccec4fb24af23c8f241a7

7 months agoDataFlowInspectionBase internationalization
Tagir Valeev [Mon, 3 Feb 2020 03:17:35 +0000 (10:17 +0700)]
DataFlowInspectionBase internationalization

GitOrigin-RevId: 08434323329b331b72ffd07ed80fe8fe865c6ab7

7 months agoDfaPsiUtil#isEnumPredefinedMethod: use CallMatchers
Tagir Valeev [Mon, 3 Feb 2020 03:01:03 +0000 (10:01 +0700)]
DfaPsiUtil#isEnumPredefinedMethod: use CallMatchers

GitOrigin-RevId: 2b28d1b229f2127a0f19901eb595423373ec0228

7 months agoJavaParser: parse "record" type properly in java < 14: IDEA-231579
Roman.Ivanov [Sun, 2 Feb 2020 14:56:54 +0000 (21:56 +0700)]
JavaParser: parse "record" type properly in java < 14: IDEA-231579

GitOrigin-RevId: 187f9df349b5c65fef3f7276c02e2b1d80af4db0

7 months agocr-IDEA-1001 IDEA-144749 add an empty line on the bottom on win and linux
Dmitry.Krasilschikov [Sun, 2 Feb 2020 20:43:27 +0000 (22:43 +0200)]
cr-IDEA-1001 IDEA-144749 add an empty line on the bottom on win and linux

GitOrigin-RevId: e223e35e51aea6ef2c3d752c7ab0d5f5d3ce7bf4

7 months agocr-IDEA-1001 IDEA-144749 add an empty line on the bottom on mac in popups
Dmitry.Krasilschikov [Sun, 2 Feb 2020 19:17:15 +0000 (21:17 +0200)]
cr-IDEA-1001 IDEA-144749 add an empty line on the bottom on mac in popups

GitOrigin-RevId: a193bec305b3c9cb25cf9db80860f186cc1db6e7

7 months agoIDEA-231824 localize SE
Dmitry.Krasilschikov [Sun, 2 Feb 2020 18:53:44 +0000 (20:53 +0200)]
IDEA-231824 localize SE

GitOrigin-RevId: 28b75bb57749fb7d4bb48fc65f0f2ebc1a04d4ca

7 months agoIDEA-231921 Localize `UnknownSdkEditorNotification`
Dmitry.Krasilschikov [Sun, 2 Feb 2020 15:51:19 +0000 (17:51 +0200)]
IDEA-231921 Localize `UnknownSdkEditorNotification`

GitOrigin-RevId: 6187d22921d5186b85949263a679e0a960202c4a

7 months agoUse `XBundle.lazyMessage()` API for actions instead of lambda
Dmitry.Krasilschikov [Sun, 2 Feb 2020 15:16:03 +0000 (17:16 +0200)]
Use `XBundle.lazyMessage()` API for actions instead of lambda

Replace `() -> XBundle.message(...)` with `XBundle.lazyMessage()`

GitOrigin-RevId: e3a78fb386132ece124951e4411e4e07d02e5563

7 months agoAPI for lazy localized messages
Dmitry.Krasilschikov [Sun, 2 Feb 2020 15:12:33 +0000 (17:12 +0200)]
API for lazy localized messages

Use `XBundle.lazyMessage()` API a string to be changed to its localized variant on a language plugin enabling w/o restart

GitOrigin-RevId: 9cf42967086e889b8479ba2c9c61ba37dee19c4f

7 months agoAPI for lazy localized messages (kt)
Dmitry.Krasilschikov [Sun, 2 Feb 2020 14:37:38 +0000 (16:37 +0200)]
API for lazy localized messages (kt)

Use `XBundle.lazyMessage()` API a string to be changed to its localized variant on a language plugin enabling w/o restart

`public static Supplier<String> lazyMessage() {...}` added into many bundle classes

GitOrigin-RevId: acacf009677b10f09f34683c990de4c8160a58f5

7 months agoAPI for lazy localized messages
Dmitry.Krasilschikov [Sun, 2 Feb 2020 13:06:50 +0000 (15:06 +0200)]
API for lazy localized messages

Use `XBundle.lazyMessage()` API a string to be changed to its localized variant on a language plugin enabling w/o restart

`public static Supplier<String> lazyMessage() {...}` added into many bundle classes

GitOrigin-RevId: 634d1673bd3af5b35452702bea9637822e209bfc

7 months agoAPI for lazy localized messages (Kotlin)
Dmitry.Krasilschikov [Sun, 2 Feb 2020 12:56:15 +0000 (14:56 +0200)]
API for lazy localized messages (Kotlin)

Use `XBundle.lazyMessage()` API a string to be changed to its localized variant on a language plugin enabling w/o restart

`public static Supplier<String> lazyMessage() {...}` added into many bundle classes

GitOrigin-RevId: 1ac995c31a2958f5f1221600d9315f89db7f227f

7 months agoAPI for lazy localized messages
Dmitry.Krasilschikov [Sun, 2 Feb 2020 12:38:04 +0000 (14:38 +0200)]
API for lazy localized messages

Use `XBundle.lazyMessage()` API a string to be changed to its localized variant on a language plugin enabling w/o restart

`public static Supplier<String> lazyMessage() {...}` added into many bundle classes

GitOrigin-RevId: 8c6ef21c8bc774614e6bb94dad27ff5db6cbff07

7 months agoRevert "Augment records in dumb mode, extract annotation filtration to annotation...
Roman.Ivanov [Sun, 2 Feb 2020 10:16:32 +0000 (17:16 +0700)]
Revert "Augment records in dumb mode, extract annotation filtration to annotation provider"

This reverts commit c101b096

GitOrigin-RevId: d3991dbd578e36758ab45bcf921d9e27febfe84d

7 months agoRevert "RecordAugmentProvider: avoid using PsiType because of dumb mode"
Roman.Ivanov [Sun, 2 Feb 2020 10:12:08 +0000 (17:12 +0700)]
Revert "RecordAugmentProvider: avoid using PsiType because of dumb mode"

This reverts commit cbc4e11d

GitOrigin-RevId: 00469fea27da6ca261531744fcaa1889a6ec63ff

7 months agoRevert "JavaParser: parse "record" type properly in java < 14: IDEA-231579"
Roman.Ivanov [Sun, 2 Feb 2020 10:11:40 +0000 (17:11 +0700)]
Revert "JavaParser: parse "record" type properly in java < 14: IDEA-231579"

This reverts commit ded19090

GitOrigin-RevId: be4fb467ca4ed5ae0e4f594ee764698036667b51

7 months agoUpdating versions of project dependencies: jdkBuild->11_0_6b702.1
Vitaly Provodin [Sat, 1 Feb 2020 23:26:20 +0000 (02:26 +0300)]
Updating versions of project dependencies: jdkBuild->11_0_6b702.1

Vitaly Provodin

GitOrigin-RevId: 6e760b4e9ae203f6222436bfe6a7451c9744c723

7 months ago[Grazie] Move Grazie in settings and change name when bundled
Vladislav Tankov [Sat, 1 Feb 2020 20:55:00 +0000 (23:55 +0300)]
[Grazie] Move Grazie in settings and change name when bundled

GitOrigin-RevId: 11feca7040d7b0d4e99ef4d5a9dd1ea9ed3eb4a6

7 months agoAn attempt to fix folding icons painting issues on Windows and Linux
Konstantin Bulenkov [Sat, 1 Feb 2020 20:51:16 +0000 (21:51 +0100)]
An attempt to fix folding icons painting issues on Windows and Linux

GitOrigin-RevId: 640a7e1df1a4e083576acf63cfdaa4550c8c85c4

7 months ago[vcs-log] remove paths forward index
Julia Beliaeva [Sat, 1 Feb 2020 19:58:08 +0000 (22:58 +0300)]
[vcs-log] remove paths forward index

GitOrigin-RevId: ab400c09e27001a297fafe35078b56b14f71dd04

7 months ago[vcs-log] remove unused method getPathsChangedInCommit
Julia Beliaeva [Sat, 1 Feb 2020 19:51:50 +0000 (22:51 +0300)]
[vcs-log] remove unused method getPathsChangedInCommit

GitOrigin-RevId: 65709e93640cfec48c7a0e379e5754b866434651

7 months agoSSR: simplify matcher, only use internal match context and pattern
Bas Leijdekkers [Sat, 1 Feb 2020 14:07:50 +0000 (15:07 +0100)]
SSR: simplify matcher, only use internal match context and pattern

Prevents confusion between internal match context and passed in options and patterns, because options and patterns can no longer be passed in through methods. It is now more clear when a new matcher needs to be created: every pattern has its own matcher. This also means that SSBasedInspection no longer operates on match contexts, but uses and caches matchers. This fixes a case of duplicate highlights in the inspection.

GitOrigin-RevId: 6e52fef819d5e6bbb02f7cc9a56b1f56968d8c45

7 months agoSSR: simplify optimized search scan tests
Bas Leijdekkers [Fri, 31 Jan 2020 16:06:49 +0000 (17:06 +0100)]
SSR: simplify optimized search scan tests

GitOrigin-RevId: 365166207de3f9b8ebacbd51b34b4fda0993fe86

7 months agoSSR: cleanup matcher; remove unnecessary method and field
Bas Leijdekkers [Fri, 31 Jan 2020 15:48:34 +0000 (16:48 +0100)]
SSR: cleanup matcher; remove unnecessary method and field

GitOrigin-RevId: d901f99272b867d514485eccb4f1e439b27fd662

7 months agoSSR: use less memory after inspection is finished
Bas Leijdekkers [Thu, 30 Jan 2020 11:22:56 +0000 (12:22 +0100)]
SSR: use less memory after inspection is finished

GitOrigin-RevId: 5275013d760015b317d4972f8ca7372fb02fc461

7 months agoSSR: use SSBasedInspection short name for suppression
Bas Leijdekkers [Thu, 30 Jan 2020 11:22:01 +0000 (12:22 +0100)]
SSR: use SSBasedInspection short name for suppression

when no other suppress id is specified for separate inspection
SSBasedInspection suppression also keeps working when another suppress id is specified

GitOrigin-RevId: 73a93e93f56786637fc60840afa055fd24bd25cc

7 months agoadd message bus subscription only when ui is initialized to avoid leaking the inspect...
Bas Leijdekkers [Thu, 30 Jan 2020 10:50:38 +0000 (11:50 +0100)]
add message bus subscription only when ui is initialized to avoid leaking the inspection panel

GitOrigin-RevId: a529b07141e269728f5b1e1bb39768505463bb48

7 months agoSet default Git Update Method to "Merge" in the storage settings
Kirill Likhodedov [Sat, 1 Feb 2020 18:16:01 +0000 (21:16 +0300)]
Set default Git Update Method to "Merge" in the storage settings

"Branch Default" is not used anymore.

Follow-up: 14f48354

GitOrigin-RevId: 6f00e176763ec9e1da179a31b22df12ba5fd9a63

7 months agoImprove the notification shown after setting up from sources
Kirill Likhodedov [Sat, 1 Feb 2020 16:23:43 +0000 (19:23 +0300)]
Improve the notification shown after setting up from sources

IDEA-222368, UX-1114

GitOrigin-RevId: cfc5b4836976abfcd4d900f6f5a959ee9a0fb1c7

7 months agoMerge remote-tracking branch 'origin/ank/android-plugin-36-rc1'
Dmitriy.Panov [Fri, 31 Jan 2020 23:11:25 +0000 (02:11 +0300)]
Merge remote-tracking branch 'origin/ank/android-plugin-36-rc1'

GitOrigin-RevId: 604ced0db79cfbac566288ce400effee90ac38d7

7 months agoMerge remote-tracking branch 'origin/master' into ank/android-plugin-36-rc1
Dmitriy.Panov [Fri, 31 Jan 2020 17:06:46 +0000 (20:06 +0300)]
Merge remote-tracking branch 'origin/master' into ank/android-plugin-36-rc1

# Conflicts:
# community/android/adt-ui/src/main/java/com/android/tools/adtui/actions/DropDownAction.java
# community/android/designer/src/com/android/tools/idea/uibuilder/handlers/motion/timeline/TrackControls.java
# community/android/designer/src/com/android/tools/idea/uibuilder/handlers/motion/timeline/ViewList.java

GitOrigin-RevId: 564ca57a899cf4556dad6cacc0df93820e28e772

7 months agoMerge remote-tracking branch 'origin/master' into ank/android-plugin-36-rc1
Dmitriy.Panov [Wed, 29 Jan 2020 12:51:04 +0000 (15:51 +0300)]
Merge remote-tracking branch 'origin/master' into ank/android-plugin-36-rc1

# Conflicts:
# community/android/android-plugin/src/META-INF/plugin.xml
# community/android/android/src/com/android/tools/idea/apk/debugging/editor/SmaliFileNotificationProvider.java
# community/android/android/src/com/android/tools/idea/gradle/notification/AutoImportNotificationProvider.java
# community/android/android/src/com/android/tools/idea/gradle/notification/GeneratedFileNotificationProvider.java
# community/android/android/src/com/android/tools/idea/gradle/project/GradleProjectInfo.java
# community/android/android/src/com/android/tools/idea/gradle/project/sync/setup/module/common/DependencySetupIssues.java
# community/android/android/src/com/android/tools/idea/gradle/structure/editors/AndroidModuleEditor.java
# community/android/android/src/com/android/tools/idea/res/AndroidManifestClassPsiElementFinder.kt
# community/android/android/src/com/android/tools/idea/res/ProjectLightResourceClassService.kt
# community/android/android/src/com/android/tools/idea/sdk/AndroidSdks.java
# community/android/android/src/org/jetbrains/android/formatter/AndroidCodeStyleNotificationProvider.java
# community/android/android/src/org/jetbrains/android/sdk/AndroidSdkNotConfiguredNotificationProvider.java
# community/android/android/testSrc/com/android/tools/idea/apk/debugging/editor/SmaliFileNotificationProviderTest.java
# community/android/android/testSrc/com/android/tools/idea/gradle/notification/GeneratedFileNotificationProviderTest.java
# community/android/android/testSrc/com/android/tools/idea/gradle/project/sync/setup/module/common/DependencySetupIssuesTest.java
# community/android/databinding/src/com/android/tools/idea/databinding/cache/BrShortNamesCache.kt
# community/android/databinding/src/com/android/tools/idea/databinding/cache/LayoutBindingShortNamesCache.kt
# community/android/databinding/src/com/android/tools/idea/databinding/finders/BindingClassFinder.kt
# community/android/databinding/src/com/android/tools/idea/databinding/finders/BrClassFinder.kt

GitOrigin-RevId: 4f6aa22653eaf54445f1661f05cd609d6e72693d

7 months agoupdate bundled Gradle TAPI to 6.1
Nikita Skvortsov [Mon, 27 Jan 2020 09:16:16 +0000 (12:16 +0300)]
update bundled Gradle TAPI to 6.1

(cherry picked from commit 2410ea32966eb2ccd8616e39e9fc2f40219308bd)

GitOrigin-RevId: bcd7b296c4ce20c57ddbd257d5974ced6aceb7cc

7 months ago[Merging AS3.6-rc1] cleanup community/android/android/prebuilts (remove java-lib...
Andrei Kuznetsov [Fri, 24 Jan 2020 19:17:05 +0000 (22:17 +0300)]
[Merging AS3.6-rc1] cleanup community/android/android/prebuilts (remove java-lib-model and java-lib-model-builder)

GitOrigin-RevId: f0d56f3346cd61cf06dafbee4565ad86e1ecdc98

7 months ago[Merging AS3.6-rc1] move tools-base from /community/android/tools-base to /community...
Andrei Kuznetsov [Fri, 24 Jan 2020 18:26:40 +0000 (21:26 +0300)]
[Merging AS3.6-rc1] move tools-base from /community/android/tools-base to /community/build/dependencies/...

.../build/android-sdk/tools-base. Now there is no dependency from android-plugin to tools/base source code. All the
required pieces of tools/base (currently only tools/base/templates) are packed and distributed via bintray.

It is safe to remove /community/android/tools-base.

GitOrigin-RevId: b0dc2c9a00f375f0bf20a94012aff83d55ea1c08

7 months ago[Merging AS3.6-rc1] fix Idea project (imls + libs): module names, dependencies, commu...
Andrei Kuznetsov [Fri, 24 Jan 2020 16:37:42 +0000 (19:37 +0300)]
[Merging AS3.6-rc1] fix Idea project (imls + libs): module names, dependencies, community project, etc.

GitOrigin-RevId: 957cecee3cd81ddcb896d811ec5a9b15fbd0a048

7 months ago[Merging AS3.6-rc1] change tools-base artifact versions: 26.6.0.0->26.6.0.1
Andrei Kuznetsov [Thu, 23 Jan 2020 12:07:40 +0000 (15:07 +0300)]
[Merging AS3.6-rc1] change tools-base artifact versions: 26.6.0.0->26.6.0.1

Android's libdeployer and plugin's libjava_version were compiled separately, as a result their 'magic' numbers do not match: E/studio.deploy: Version mismatch. Requested:46940618but have 4cd636c9

GitOrigin-RevId: a9e9c03d29d2f1b5e1c0ecfbdcfcae489ff76388

7 months ago[Merging AS3.6-rc1] update android-plugin layout configuration for Idea installers
Andrei Kuznetsov [Wed, 22 Jan 2020 19:44:04 +0000 (22:44 +0300)]
[Merging AS3.6-rc1] update android-plugin layout configuration for Idea installers

GitOrigin-RevId: 467ff893a70614a9b6389c1142c03669ff6152e7

7 months agoMerge AS3.6rc1: Update offline repo version for android unit tests
Andrei Kuznetsov [Sun, 19 Jan 2020 21:55:51 +0000 (00:55 +0300)]
Merge AS3.6rc1: Update offline repo version for android unit tests

..., add intellij.android.core.tests, "IDEA with Android" run configurations

GitOrigin-RevId: 7e921f4a05311a647bde57397309ce77d60b67dd

7 months agoRevert 43ab649be4502f3cc111975d906049217684385b
Semyon Proshev [Fri, 31 Jan 2020 20:24:54 +0000 (23:24 +0300)]
Revert 43ab649be4502f3cc111975d906049217684385b

Resetting dialog error text on changing sdk creation type should be revised since
now it makes impossible to create any interpreter after clicking on a tab with validation errors.

Error text is not reset on switch from a tab with validation errors to a tab with component validation errors.

GitOrigin-RevId: 9d3aaa8ee72d02b753ef10c88bb1382aa657a08f

7 months agoEnable pyi-stubs for several modules and packages
Semyon Proshev [Fri, 31 Jan 2020 17:29:42 +0000 (20:29 +0300)]
Enable pyi-stubs for several modules and packages

bdb, binascii, cmd, codecs, inspect, opcode, pdb, requests, token, zlib

GitOrigin-RevId: 8b2b546e1e92aa15bdfdba4154809ad4b2d69d82

7 months agoIDEA-231092 Tab Panel of tool windows is blinking in Undock view mode
Vladimir Krivosheev [Fri, 31 Jan 2020 19:49:35 +0000 (20:49 +0100)]
IDEA-231092 Tab Panel of tool windows is blinking in Undock view mode

GitOrigin-RevId: 74a72193d8ecac993ba83ef1b31ba61d39f38405

7 months agocleanup
Vladimir Krivosheev [Fri, 31 Jan 2020 19:48:29 +0000 (20:48 +0100)]
cleanup

GitOrigin-RevId: 778f2a96d67b7f2cb315e52b9bdefe25e6718842

7 months agoAdd handling case when Rider has icon without dark part.
Mikhail Filippov [Fri, 31 Jan 2020 19:44:52 +0000 (22:44 +0300)]
Add handling case when Rider has icon without dark part.

GitOrigin-RevId: f4cc6f03e7f6a515eb09cd2944f7a14e41be6f77

7 months agoimport --enable-preview from gradle (IDEA-226845)
Anna.Kozlova [Fri, 31 Jan 2020 10:37:38 +0000 (11:37 +0100)]
import --enable-preview from gradle (IDEA-226845)

GitOrigin-RevId: a8f14fd917558c0e63e33329af6269708a0e0271

7 months agoAdd .NET symbols icons to sync.
Mikhail Filippov [Fri, 31 Jan 2020 19:05:04 +0000 (22:05 +0300)]
Add .NET symbols icons to sync.

GitOrigin-RevId: 2b1a267424c745fb4ba15e1461b13dd8cb516c34

7 months agodon't attempt to hide tool window on focus lost if not visible
Vladimir Krivosheev [Fri, 31 Jan 2020 18:33:23 +0000 (19:33 +0100)]
don't attempt to hide tool window on focus lost if not visible

GitOrigin-RevId: 17535a3654ad67142238214d23d135eb7659f790

7 months agoToolWindowHeader - lazy toolbar actions
Vladimir Krivosheev [Fri, 31 Jan 2020 17:29:38 +0000 (18:29 +0100)]
ToolWindowHeader - lazy toolbar actions

GitOrigin-RevId: 6e005a82126ce6ea3170e5bb0d3f0d8688cf722b

7 months agoRename .java to .kt
Vladimir Krivosheev [Fri, 31 Jan 2020 17:29:32 +0000 (18:29 +0100)]
Rename .java to .kt

GitOrigin-RevId: 1366898bd4894bcc904ec7e7cd1a99d848809dca

7 months agoIDEA-231648 AE at com.intellij.ide.plugins.newui.RestartButton.lambda$new$0
Alexander Lobas [Fri, 31 Jan 2020 18:05:23 +0000 (21:05 +0300)]
IDEA-231648 AE at com.intellij.ide.plugins.newui.RestartButton.lambda$new$0

GitOrigin-RevId: 78b5e5c0ba627993b53d9aa805e4c82b66b56a3c

7 months agoExtract actions for configuring the Project View to XML
Sergey Malenkov [Fri, 31 Jan 2020 16:43:00 +0000 (19:43 +0300)]
Extract actions for configuring the Project View to XML

GitOrigin-RevId: 5489bd79372f883784cc5e16bd5eb17d964c18f9

7 months agoUse generic POPUP instead of UNKNOWN, because of popup creation
Sergey Malenkov [Fri, 31 Jan 2020 16:04:02 +0000 (19:04 +0300)]
Use generic POPUP instead of UNKNOWN, because of popup creation

GitOrigin-RevId: abb4dccbec12b351c78354ba469b0c37aface84f

7 months agoIDEA-224710: extract tree actions to separate methods named according to BasicLookAndFeel
Sergey Malenkov [Fri, 31 Jan 2020 15:58:41 +0000 (18:58 +0300)]
IDEA-224710: extract tree actions to separate methods named according to BasicLookAndFeel

GitOrigin-RevId: 434e1ff5e6677824666efe359a9e41418d14801a

7 months agoadd note that ServiceManager is not a recommended way to get services
Vladimir Krivosheev [Fri, 31 Jan 2020 17:13:11 +0000 (18:13 +0100)]
add note that ServiceManager is not a recommended way to get services

GitOrigin-RevId: aa7da481275ab30746803ac0b94e21d030c9a03e

7 months agocleanup
Vladimir Krivosheev [Fri, 31 Jan 2020 16:38:58 +0000 (17:38 +0100)]
cleanup

GitOrigin-RevId: f42a61a08e593f71a01ff99ed839f323a61ad3d3

7 months agodotnet icons sync reimplemented
Dmitriy.Panov [Fri, 31 Jan 2020 16:50:36 +0000 (19:50 +0300)]
dotnet icons sync reimplemented

GitOrigin-RevId: 246f4e2f98993bf0f83eaf86d4e8a8a3a39e622f

7 months agoI18n Coverage Toolwindow, Runners and Data Viewer
Timur Yuldashev [Fri, 31 Jan 2020 16:30:41 +0000 (19:30 +0300)]
I18n Coverage Toolwindow, Runners and Data Viewer

GitOrigin-RevId: d47827982740ccb130c13e71764dd78e4915769a

7 months agoIDEA-230784 RequestFocusInToolWindowCommand takes a lot of time (part 3)
Vladimir Krivosheev [Fri, 31 Jan 2020 16:14:28 +0000 (17:14 +0100)]
IDEA-230784 RequestFocusInToolWindowCommand takes a lot of time (part 3)

GitOrigin-RevId: 75660fba4501f218f02280bc22d7494be95cce23

7 months agoIDEA-230784 RequestFocusInToolWindowCommand takes a lot of time (part 2)
Vladimir Krivosheev [Fri, 31 Jan 2020 16:10:58 +0000 (17:10 +0100)]
IDEA-230784 RequestFocusInToolWindowCommand takes a lot of time (part 2)

GitOrigin-RevId: 0bfae3bb72405a00fba9a72e11fa31a3a5010bcc

7 months agoIDEA-230784 RequestFocusInToolWindowCommand takes a lot of time
Vladimir Krivosheev [Fri, 31 Jan 2020 16:05:37 +0000 (17:05 +0100)]
IDEA-230784 RequestFocusInToolWindowCommand takes a lot of time

GitOrigin-RevId: 7f7df1df1cb8acbbc59a554f291f86fc652fe8eb

7 months agoRename .java to .kt
Vladimir Krivosheev [Fri, 31 Jan 2020 16:05:31 +0000 (17:05 +0100)]
Rename .java to .kt

GitOrigin-RevId: a8a6af68c46290837e14068dd491555dcc654afc

7 months agoOC-19620 add nullability and improve documentation
Max Medvedev [Fri, 31 Jan 2020 16:09:13 +0000 (17:09 +0100)]
OC-19620 add nullability and improve documentation

GitOrigin-RevId: 01f67a5eafab24b82cae96c24cfd884c2fcabde2

7 months agomove CommonBundle from util to core (IDEA-203640)
nik [Fri, 31 Jan 2020 16:07:43 +0000 (19:07 +0300)]
move CommonBundle from util to core (IDEA-203640)

Strings in CommonBundle.properties are used for buttons in dialogs so they should be used in IDE modules only. It would be even more natural to move the class to intellij.platform.ide module, but currently Task class from intellij.platform.core module uses some strings from CommonBundle so let's move it to core module for a start. This is enough to fix IDEA-203640.

GitOrigin-RevId: e5d14f4f0783d90e750730927019c8368fe27e2e

7 months agoIDEA-231888 IDEA cannot start normally
Vladimir Krivosheev [Fri, 31 Jan 2020 15:44:29 +0000 (16:44 +0100)]
IDEA-231888 IDEA cannot start normally

GitOrigin-RevId: 62b87c45d14322ed8582cd59efbc7849dadbbaf2

7 months agoIdeRootPaneNorthExtension - not required to be Disposable
Vladimir Krivosheev [Fri, 31 Jan 2020 15:33:53 +0000 (16:33 +0100)]
IdeRootPaneNorthExtension - not required to be Disposable

GitOrigin-RevId: e7b02013f548f9f405c978a710093b2882b9110c

7 months agoIDEA-231836 Focus is moved to wrong IDE windows when modal dialog appears
Denis Fokin [Fri, 31 Jan 2020 15:15:08 +0000 (18:15 +0300)]
IDEA-231836 Focus is moved to wrong IDE windows when modal dialog appears

GitOrigin-RevId: 0aabd87db994103192324379874e1c9ab9e50a15

7 months agomove static methods from CommonBundle to AbstractBundle
nik [Fri, 31 Jan 2020 14:41:33 +0000 (17:41 +0300)]
move static methods from CommonBundle to AbstractBundle

CommonBundle provides access to CommonBundle.properties, and in order to fix IDEA-203640 it should be moved out of util module, this will make it inaccessible from some modules which used static methods from it, moving them to AbstractBundle will help to avoid this. Also it's more natural to have generic utility methods in AbstractBundle which isn't bound to a specific *.properties file.

GitOrigin-RevId: 66a1db7ac932565ff8e37f14e3a3711ff17e2ea5