Commit Graph
439061 Commits
Author SHA1 Message Date
Tagir Valeev 92ac28f978 [java-inspections] ReplaceInefficientStreamCountInspection: test preview
GitOrigin-RevId: 9d8cf85eb1eee3ca8a38c2bcde119666afcc7934
2024-04-11 14:46:30 +00:00
Tagir Valeev 2ca2ae1758 [java-inspections] ReplaceInefficientStreamCountInspection: support cs.chars().count()
Part of IDEA-351174 String .chars().count() to be suggested as .length()

GitOrigin-RevId: e5f25e8dbfbfd36a855caf37869f31209356dce8
2024-04-11 14:46:25 +00:00
Tagir Valeev 3122a1801c [java-indexing] JavaVersionBasedScope: remove unused field
GitOrigin-RevId: ff42a273bdaff82ffd8807837b69b6909b6a5270
2024-04-11 14:46:20 +00:00
Tagir Valeev 06977838b9 [java-refactoring] JavaUnresolvableLocalCollisionDetector: more precise collision detection (IDEA-350196)
GitOrigin-RevId: a46b338c88fa4407d45979b7291cab20f6c61de2
2024-04-11 14:46:15 +00:00
Dmitry Avdeev 5330957e3f IJPL-1008 Find in Files context action (on selection) misses shortcut
GitOrigin-RevId: 53c561e1da7fb5a3e24cff02a9f8aed97ca821f4
2024-04-11 13:18:18 +00:00
Andrei.Kuznetsov 31800c639a IJPL-426 move progress indicators management from FilesScanningTaskBase to UnindexedFilesScannerExecutorImpl
GitOrigin-RevId: 501de2f33e5fb196527047ded2f25be43bd52b2c
2024-04-11 13:03:08 +00:00
Anastasia Katsman d9ca86b5c8 [rdct-tests]: review fixes
GitOrigin-RevId: 921b5d4a6237cd6b1129c1e7b8bfa6383166af3b
2024-04-11 12:51:30 +00:00
Anastasia Katsman a22fa9a2c7 GuestNavigationService: add navigateViaBackendAsync and navigateViaBackendAndWait
GitOrigin-RevId: 252d396b5237b1195e333be9bcbc4ed50a99b4ea
2024-04-11 12:51:30 +00:00
Dmitrii Krasnov 7976d28a1a KTIJ-29343 Update latest KGP version to 2.0.20-dev-942
GitOrigin-RevId: ee201099e08245606114c336d6ab0e7d73414097
2024-04-11 12:51:02 +00:00
Bart van Helvert 1397c46982 [kotlin] Make bindToFqName optimization stricter
Here we should assume the new target fqn uniquely identifies the target.

GitOrigin-RevId: 4e9bd889245ae1c0b6f847c029066ce8059abfef
2024-04-11 12:30:30 +00:00
Vladimir Lagunov b0937eff45 IDEA-351354 WSL IJent: filter environment variables like in original WSLDistribution.patchCommandLine
On Windows, there are environment variables with brackets. They are filtered out in `WSLDistribution.patchCommandLine`, but were forgotten in `WslIjentUtil.runProcessBlocking`.

Due to that, `WslIjentUtil` used to produce invalid bash scripts:

```
$ export 'CommonProgramFiles(x86)=/mnt/c/Program Files (x86)/Common Files'
-bash: export: `CommonProgramFiles(x86)=/mnt/c/Program Files (x86)/Common Files': not a valid identifier
```

GitOrigin-RevId: c4ed8827986baffed2af11a4409ebd7dcf02c9ab
2024-04-11 12:14:52 +00:00
Vladislav Rassokhin 6ac4c11b22 [test framework] IJI-1588 Fix filter out non-performance classes in performance-only runs
GitOrigin-RevId: 807a28b0586034a14fce44d819cfcd7118215dc8
2024-04-11 12:12:59 +00:00
Vladislav Rassokhin d8d9789887 [test framework] IJI-1588 Check for 'no tests' in case of dedicated runtime runs
GitOrigin-RevId: 2d7c88150e23679a9b95c260c52d0177fbec598e
2024-04-11 12:12:59 +00:00
Vladislav Rassokhin d6a1de46e0 [test framework] TestingTasksImpl: don't pass context
GitOrigin-RevId: caa2003460c89ac87e7938dae182c8731fc517bd
2024-04-11 12:12:59 +00:00
Anna Kozlova b35bac2d92 [kotlin] support surround with finally as expression
^KTIJ-29325 fixed

GitOrigin-RevId: 4463e0c5e61614e61c42af14f8314c6017ef71c6
2024-04-11 12:03:40 +00:00
aleksandrina-streltsova 20dea6b25e [kotlin] k2: move KotlinNamesValidator to kotlin.refactorings.common
KTIJ-28946

GitOrigin-RevId: 1300b0a97e6eb7dce1ecf071009a9f1e061776ca
2024-04-11 11:49:31 +00:00
aleksandrina-streltsova da233bc77b [kotlin] k2: use KotlinNamesValidator
^KTIJ-28946 Fixed

GitOrigin-RevId: 44ab38ef40abc92c2a84464fdb5f5256c2f20939
2024-04-11 11:49:31 +00:00
Piotr Tomiak 2ee9a987b5 WEB-65731 Angular: usage of variables with $ in name not found in inline templates - remove unnecessary safeguard
GitOrigin-RevId: c8133b99e668d9b8ebfd679c67e648a71aa71b46
2024-04-11 11:47:21 +00:00
Piotr Tomiak 4739adbac3 WEB-61511 Move astUtil to a more specific package.
GitOrigin-RevId: cc92b0d48babd5d059a6d1bdf2cf578d941641e8
2024-04-11 11:47:18 +00:00
Vedana.Voronina 2557bfd59f vedana.voronina/merge_buttons
[collab/space] IDEA-285010: Merge buttons & merge options

Merge-request: IJ-MR-130712
Merged-by: Veda Voronina <Vedana.Voronina@jetbrains.com>

GitOrigin-RevId: 2cee1e2e793e01891bc6a5d9c68f6eb94450e012
2024-04-11 11:31:25 +00:00
Aleksey Pivovarov 0cfff9ad9a git: log git executable detection errors
GitOrigin-RevId: 79d391b85863d374205190d9d6af1c44dd4bf103
2024-04-11 11:10:36 +00:00
Eugene Zhuravlev 44a4e0097a JPS mappings for incremental compilation refactoring: more precise handling of default parameter definition changes
GitOrigin-RevId: 5debe385629850cb5c0115318638f7650cb60cad
2024-04-11 10:53:00 +00:00
Vojtech Balik 85afa4fbc6 [reader mode] IDEA-305056 EA-697215 use timestamps to re-run a visual formatting pass only when needed
Use a combination of Document and CodeStyleSettings timestamps to detect when visual formatting information needs to be recomputed, instead of FileStatusMap and manual DaemonCodeAnalyzer.restarts on CodeStyleSettingsChanged events

GitOrigin-RevId: baf73652d4e0a8a948183aa7baf1eed9cdfd8714
2024-04-11 10:49:56 +00:00
Bas Leijdekkers 1b275b3f52 [Groovy] convert LiteralConstructorTest to Java (IDEA-327339)
GitOrigin-RevId: 3ed13e1beee9622079dc827384543d51543e4d39
2024-04-11 09:52:21 +00:00
Bas Leijdekkers 2d075f9e14 Rename .groovy to .java
IDEA-327339

GitOrigin-RevId: 1a4bb51256ae739c036abdcf66dce7f5da52f00b
2024-04-11 09:52:16 +00:00
Bas Leijdekkers 4765439973 [Groovy] convert LiteralConstructorUsagesTest to Java (IDEA-327339)
GitOrigin-RevId: 48ba92ef8cd72086261be5f49b0c442799bdeaa3
2024-04-11 09:52:10 +00:00
Bas Leijdekkers f8804e73c8 Rename .groovy to .java
IDEA-327339

GitOrigin-RevId: 07910bc4c653a2654add283289591e367b20978c
2024-04-11 09:52:05 +00:00
Bas Leijdekkers 0b1872f794 java: report string.toCharArray().length -> string.length() (IDEA-351174)
for "Redundant 'String' operation" inspection

GitOrigin-RevId: 96c3b5d310b9639c74241f48348257bbb83dbe93
2024-04-11 09:52:00 +00:00
Bas Leijdekkers b686093c55 [Groovy] convert StringValueTest to Java (IDEA-327339)
GitOrigin-RevId: 535a2f251dcfa2df2b58ee44d6c2f96e6f7cd370
2024-04-11 09:51:55 +00:00
Bas Leijdekkers c773811ac5 Rename .groovy to .java
IDEA-327339

GitOrigin-RevId: 63cdeb19731a479ae9e735a6f89d692c6f73768b
2024-04-11 09:51:50 +00:00
Bas Leijdekkers 0fdcdeb6ad [Groovy] convert TargetAnnotationHighlightingTest to Java (IDEA-327339)
GitOrigin-RevId: 66d1ca2a5e4d42e2378b61a873cc617f7753b8ec
2024-04-11 09:51:44 +00:00
Bas Leijdekkers 61335bf12a Rename .groovy to .java
IDEA-327339

GitOrigin-RevId: 0a3c702d96eee2e257a276060f7f6c0619d62250
2024-04-11 09:51:39 +00:00
Bas Leijdekkers 7bb2aefd05 inspection descriptions update related to Java 18 nest-mates (IDEA-283315)
GitOrigin-RevId: e9889020d1869b8df8e20212b7848737335ff2a4
2024-04-11 09:51:35 +00:00
Bas Leijdekkers fab3cba2c3 macros: cleanup
GitOrigin-RevId: 2a87e7296ac6cc70ddf8b49bfa0e4ca1478a7b71
2024-04-11 09:51:30 +00:00
Nikolay Chashnikov c4e3809ac5 cleanup: get rid of usages of deprecated ApplicationStarter.commandName property (IJPL-503)
Use 'commandNameFromExtension' which takes the value from the extension declaration instead.

GitOrigin-RevId: 7758327840028c91703b55aed8f4f608f9c69836
2024-04-11 09:29:25 +00:00
Nikolay Chashnikov 2c168b6899 [platform] cleanup: get rid of overrides of deprecated ApplicationStarter.commandName property (IJPL-503)
This property isn't used by the platform anymore, the value is taken from the extension declaration in xml.

GitOrigin-RevId: 55847c1e03f6dfa81a91a34e322b2d25a39dc54a
2024-04-11 09:29:15 +00:00
Gregory.Shrago 875a3b9f49 update platform api
GitOrigin-RevId: 26ec8c8853d4ae29bb92d772d0096692bff118c1
2024-04-11 04:24:25 +00:00
Gregory.Shrago 0d57963482 update execution api
GitOrigin-RevId: 9c170e32f5a1254171aad77928effd1040b87930
2024-04-11 04:24:20 +00:00
Gregory.Shrago 0e642b8594 drop deprecated methods for action wrapping
GitOrigin-RevId: 811efb17434c90524414815719141acfb4820992
2024-04-11 04:24:15 +00:00
Gregory.Shrago 5e24bdf53b restore API compatibility for 241
IJ-CR-130042 Combined changes for RemDev 241

GitOrigin-RevId: 76410dd624a4da934632d61916df6d4cee248481
2024-04-11 04:24:10 +00:00
Gregory.Shrago d5def5048e do not unstub actions in ActionUrl.readExternal
1. Introduce componentId and componentType
2. Move UI methods to `CustomizableActionsPanel`
3. Drop `Pair` references, component is now never a `Pair`

IJPL-936 T: LoadingState.logStateError from ActionManagerImplKt.instantiate
IJPL-937 ActionMacroManager and CustomActionsSchema load action classes on application start

GitOrigin-RevId: f0d16653aea55c53e14843cdafc4dc71fedc9439
2024-04-11 04:24:05 +00:00
Gregory.Shrago 71a9de3dd3 avoid action instantiation if possible and log it 6
Restore the previous stub-based logic since `ActionsTreeUtil.getTemplatePresentation` is used everywhere and can unstub an action if needed.

IJPL-936 T: LoadingState.logStateError from ActionManagerImplKt.instantiate
EA-1008831 - T: LoadingState.logStateError

GitOrigin-RevId: 9b499397bd3152d6e6baaebc5fced308dfd83bf5
2024-04-11 04:23:59 +00:00
Daniil Ovchinnikov 9166c5c440 fix broken intellij.platform.ide.impl API dump
GitOrigin-RevId: 764081082d3ab3be7cd9775be614f1c511733093
2024-04-10 23:32:23 +00:00
Daniil Ovchinnikov 42acef4890 API dump: bump binary-compatibility-validator dependency
In the new version, synthetic `$EntriesMappings` classes are excluded from the API.

GitOrigin-RevId: d0eb093f6521eaa7d45c5c9e8454a5200d119134
2024-04-10 23:32:18 +00:00
Anastasia Katsman 5e8ec25603 ui-tests: polish SearchEverywherePopupUI
GitOrigin-RevId: 40812bf13ae9de1c06cb2f855e8b7545b4a0d866
2024-04-10 22:50:39 +00:00
Anastasia Katsman 0a9b00ac2f ui-tests: add clickItem to the test output
GitOrigin-RevId: 27720f55a07388629e4b62c7a0f835e3d15a2ef1
2024-04-10 22:50:36 +00:00
Andrew Kozlov ecdbdf5699 [kotlin] KTIJ-28415 common methods used
GitOrigin-RevId: 5dcb6a986bc168646c499be60a39e2afed78a133
2024-04-10 22:00:02 +00:00
Elena Shaverdova 244bf6e6c7 IJPL-1005 FUSProjectHotStartUpMeasurer may wrongly report no editors were opened
GitOrigin-RevId: 6c0df0d0140e2eac811eacac2d2428416ad16559
2024-04-10 21:54:59 +00:00
Marco Pennekamp 9b1104617c Safe-Push into master
GitOrigin-RevId: 26a6b910e5eabad02f8de19a3910005cef2a0a61
2024-04-10 21:20:24 +00:00
Sergei Tachenov b440b8362b IDEA-346842 Align gradient to the device pixel grid
Yet another fractional scaling mess.

First, align the Graphics painting rectangle origin to the device grid
(alignTxToInt). This guarantees that x=0 is located at some device
pixel exactly.

Then align all three coordinates: left x, center and right x
to the device grid using alignIntToInt. The choice of rounding
modes is more or less random, but since the gradient is small enough
already, we use FLOOR for the left coordinate and CEIL for the right one,
as it's better to err on the larger side. For the central coordinate,
use CEIL for similar reasons: the left part if often even smaller,
for example, when displaying the menu in a separate toolbar on Windows.

GitOrigin-RevId: 6e658e5158e2b34983dd48ef41b57ee4ed91a8ee
2024-04-10 21:04:00 +00:00