Bas Leijdekkers
e2bcaddbe3
java inspectin: merge switch case label element lists when possible
...
in "Duplicate branches in 'switch'" inspection fix
GitOrigin-RevId: 7b22a3409f5d9237f432ab3dd35f27cacfbd7737
2022-07-20 18:53:31 +00:00
Bas Leijdekkers
f133fbc17f
java inspections: handle missing switch case label better in fix
...
GitOrigin-RevId: 960b0b805447891d57b1eaf90e91d1b8dbd444e9
2022-07-20 18:53:28 +00:00
Bas Leijdekkers
482b5c265e
java: clarify inspection description
...
GitOrigin-RevId: 6d1f7866f92a93b9e6f99d7b903bbdf85d65f33c
2022-07-20 18:53:25 +00:00
Bas Leijdekkers
4690ccc884
Java: preview for "Inconsistent whitespace indentation in text block" inspection quick-fix
...
GitOrigin-RevId: 9321032196884bd1fa0f4e524b18e55d37f48356
2022-07-20 18:53:23 +00:00
Bas Leijdekkers
fc3b0c3520
java inspections: fix description example
...
GitOrigin-RevId: 0d894238b37299f979cc64299e3e546785fa6f6c
2022-07-20 18:53:20 +00:00
Bas Leijdekkers
f20ad5b895
enable text block backward migration for all language levels once more
...
GitOrigin-RevId: 1b321fc59ba254d1ebfe74c5b82d69dbec201bf8
2022-07-20 18:53:17 +00:00
Bas Leijdekkers
0260b4b4d5
Improve inspection description example
...
GitOrigin-RevId: f03b4d9082aecc9fe87f1a1e3a9ec8389d57808b
2022-07-20 18:53:15 +00:00
Bas Leijdekkers
a719a82ae4
java inspections: implement preview for quick fix
...
GitOrigin-RevId: d2930f7ddab6bf3d761b20b1759ff83f0cc06605
2022-07-20 18:53:12 +00:00
Mikhail Golubev
bb7e382697
PY-52648 PY-52656 Revert problematic Typeshed changes and add regression tests
...
This is a workaround until PY-53896 is implemented.
It effectively brings the stubs for builtins in Typeshed to their state at
37ee52ec2d883d8bbf244e4d1a871cde7f678d17, with the exception that I kept new
definitions for __build_class__ and ExceptionGroup (for 3.11).
GitOrigin-RevId: 92fdf169d228c52bcefa7edc3f185cb931ff4d79
2022-07-20 17:19:46 +00:00
Louis Vignier
e8d121713c
[codeInspection] MyAddExplicitTypeArgumentsFix: support preview
...
GitOrigin-RevId: 2c2f2192db2bb108e824f534440f0eeee8451371
2022-07-20 16:48:47 +00:00
Louis Vignier
82cfd789d3
[codeInspection] ConvertToRecordFix: support preview
...
GitOrigin-RevId: 60b511ee37a8d09ae9e945fcd1bf272a270851a6
2022-07-20 16:48:45 +00:00
Louis Vignier
00e5e0c7db
[codeInspection] UseBulkOperationFix: support preview
...
GitOrigin-RevId: 04c1b6269ddf6f8f6bbb97494cbd2f067532d37e
2022-07-20 16:48:43 +00:00
Louis Vignier
22a45175bf
[codeInspection] JoinDeclarationAndAssignmentFix: support preview
...
GitOrigin-RevId: ec78d6ebcd51dddc2c0516f12f3f6ee92dcef9bd
2022-07-20 16:48:41 +00:00
Nikolay Rykunov
1b58c7086e
[welcome screen] IDEA-297659: Build tree in constructor
...
Previously, tree was built because of installSearchField call that calls searchModel.updateStructure inside. So if SearchField is not installed some code won't work properly (e.g. nodes expanding/selecting)
GitOrigin-RevId: 5c95845680d749f3e493e228fb333d87473c8209
2022-07-20 16:13:51 +00:00
Nikolay Rykunov
619d843e24
[welcome screen] IDEA-297659: Expand tree in same edt event
...
rebuildTree is called on invokeLater, so tree can be expanded later that may prevent to select proper node or even to tree jump
GitOrigin-RevId: c6189e58ca978397ab9e59f8cc768f8ee4cf0c25
2022-07-20 16:13:49 +00:00
Anton Makeev
0c40958cae
[maven] fix duplicate registration of RemoteRepositoriesImporter (it ran twice for each imported module)
...
GitOrigin-RevId: 26d54f35a6bd512035aefe9f01fc9ccb0e7aa268
2022-07-20 15:56:08 +00:00
Anton Makeev
58442df531
[maven] add FUS events for MavenImporter usage and duration (fix module counting)
...
GitOrigin-RevId: 0db12ef3afd0a794880bc3f0981b0103270f629f
2022-07-20 15:56:05 +00:00
Anton Makeev
a1247d0869
[maven] add FUS events for MavenImporter usage and duration
...
GitOrigin-RevId: 63c01f38509356be2fc5bbe6f032a803aa473869
2022-07-20 15:56:03 +00:00
Elena Shaverdova
4309b5c646
IDEA-294758 Deprecate ProjectRootManagerImpl.makeRootsChange(java.lang.Runnable, boolean, boolean)
...
GitOrigin-RevId: a4dc569709cc490987691f9d96eaab326d5f33f9
2022-07-20 15:39:49 +00:00
Elena Shaverdova
33c912edfa
IDEA-294758 Rescan only changes
...
GitOrigin-RevId: fdcc81362295bf2489af72b838c3538e31c95498
2022-07-20 15:39:46 +00:00
Nikita Bobko
c12b5adac9
Minor: Add a comment
...
GitOrigin-RevId: a5f60352e346afed58ba37af61f2f33e2c938c2f
2022-07-20 15:25:40 +00:00
Christian Vonrüti
a0a226c03f
Improve speed search for unwrapping parameters in Kotlin
...
Unwrap parameter actions now look like
"Unwrap 'println' arg '123'"
instead of
"Unwrap '123'"
Thus, speed search for "unarg" will only show unwrapping parameter actions,
hiding the other noise.
You can also search for which outer method call to remove/unwrap.
closes https://github.com/JetBrains/intellij-community/pull/1996
GitOrigin-RevId: 600066e68fa9fcb3c1dad8a559aee0534a3add21
2022-07-20 15:25:38 +00:00
Christian Vonrüti
d77149caca
Support unwrapping parameters properly in Kotlin KTIJ-11687
...
- Top level call unwrapping
- Non-nested call unwrapping
- Delete receiver when unwrapping qualified call
- Support multi argument calls
- Allow caret on method name, paren, comma or whitespace
- Prefer parameter unwrapping over removal for top level function calls
- Fix strikethrough preview
closes https://github.com/JetBrains/intellij-community/pull/1996
GitOrigin-RevId: ae278ace872176ba46c8cac3e8df30b6428dbb0b
2022-07-20 15:25:37 +00:00
Christian Vonrüti
f73da4c0ea
Remove receiver when unwrapping trailing lambda KTIJ-21562
...
IntelliJ now transforms
kotlin.run {
println("abc")
}
into
println("abc")
when unwrapping.
closes https://github.com/JetBrains/intellij-community/pull/1996
GitOrigin-RevId: 7f547279382544eabe9252ec210857f62ba07815
2022-07-20 15:25:34 +00:00
Christian Vonrüti
499529bd07
Correct strikethrough when unwrapping lambdas KTIJ-21561
...
closes https://github.com/JetBrains/intellij-community/pull/1996
GitOrigin-RevId: 9a77468e51b338a8ab7d847fba3f80762421004b
2022-07-20 15:25:33 +00:00
Nikolay Chashnikov
eb9313d7dc
[workspace model codegen tests] ensure that EntityCodeGenTest doesn't change shared state
...
Project model for light project must not be changed in the test code because it's shared between tests, a new LightProjectDescriptor should be configured instead. Changes in global settings must be restored when test finishes to avoid problems in other tests. In order to execute test on TeamCity, its module must be added to dependencies of one of *.main modules.
GitOrigin-RevId: c9d5f03d2a26402359785f0d3059e9184753bf9c
2022-07-20 15:04:22 +00:00
Nikolay Chashnikov
42a9e7538a
[workspace model codegen tests] check generation of soft links code
...
GitOrigin-RevId: c4122c2f2b8ca092905f200c0b1bf1add0766fa4
2022-07-20 15:04:19 +00:00
Vladimir Dolzhenko
c0ca763393
[kotlin] Clean up
...
#KTIJ-10071
GitOrigin-RevId: 527c2d9f0ed17c4add81ff89b1cd75c872b9e324
2022-07-20 14:27:10 +00:00
Vladimir Krivosheev
57f7e14ea5
don't schedule post-start-up activities under modal progress
...
GitOrigin-RevId: 2ac572b66cf0ad8bc28a5713bc71967a8700f19d
2022-07-20 14:06:46 +00:00
Vladimir Krivosheev
aed14cb3c6
Rename .java to .kt
...
GitOrigin-RevId: 973e4304fc23f5d5b53abf05aab4bf0f2de63618
2022-07-20 14:06:43 +00:00
Vladimir Krivosheev
df82c452d4
cleanup
...
GitOrigin-RevId: 8973776fef721264f4fd6134c995e5f5cf0d9bef
2022-07-20 14:06:40 +00:00
Gregory.Shrago
83df9f965e
make slow OLD_EDT actions an error
...
GitOrigin-RevId: 4aab1f5185c4357b4ae076d40579ba57cc20401e
2022-07-20 14:05:43 +00:00
Alexey Kudravtsev
f5af862190
more robust highlighting tests: execute them with deprioritization disabled to avoid unexpected timeouts
...
GitOrigin-RevId: ecddcc3493d2c4ff69c7a537f9c7ae4df6fade54
2022-07-20 13:55:45 +00:00
Alexey Kudravtsev
4626607cc9
make test repeatedly-runnable-until-failure
...
GitOrigin-RevId: 2cd919ad9ce8c066d2f66b9eee1f06c2d1f09419
2022-07-20 13:55:43 +00:00
Anna Kozlova
3e2a443d2d
[intentions preview] more lines in preview for Create class from new (^Tagir)
...
IJ-CR-27381
GitOrigin-RevId: 1ac3b8f0f4d6958306d059ddda43aff5e7485c6d
2022-07-20 13:48:57 +00:00
Anna Kozlova
ea586482fd
[templates] generate child template name on copy (IDEA-298139)
...
GitOrigin-RevId: e2fd180f4b4ce703c72ca86bc670d7a7af9808ff
2022-07-20 13:48:54 +00:00
Anna Kozlova
30c49600aa
[dependencies] ensure usages tree is not treated as empty (IDEA-200110; IDEA-222840)
...
GitOrigin-RevId: 01739e09f79e424d2d9b43e32a37462ff6a0ffe2
2022-07-20 13:48:51 +00:00
Mikhail Mazurkevich
6356f95be3
[workspace model] IDEA-298231 Add support of set collections
...
GitOrigin-RevId: 1804daa6e2c315f201703011d6f140ad3b58df69
2022-07-20 13:41:21 +00:00
Vladimir Dolzhenko
e5192b4172
[kotlin] Clean up
...
#KTIJ-10071
GitOrigin-RevId: 6c6500d98064682ea80adc48e2f85b91d35b26dd
2022-07-20 13:10:14 +00:00
Pavel Porvatov
34a48e9853
IDEA-293643 'More tool windows' popup: row height should be 24px
...
GitOrigin-RevId: 8c8a09ba20a4bd788519e57ae66d168f283539fd
2022-07-20 12:26:48 +00:00
Vladimir Dolzhenko
fd739eface
[kotlin] Collect inheritors from updaters to show popup dialog faster
...
#KTIJ-10071
GitOrigin-RevId: 39563f4c4503d01058c6652447a66e91d619981d
2022-07-20 11:54:26 +00:00
Aleksey Pivovarov
0e82289d27
remove utility method
...
GitOrigin-RevId: d31bd259c56d8ced6d5f0ae960329ecb945119ff
2022-07-20 11:42:59 +00:00
Yan Zhulanow
7947506a50
Fix 'KotlinPreferencesBundle' (KTIJ-22202)
...
GitOrigin-RevId: 6692c878883ec9d6d52036f7e7f468d58037b084
2022-07-20 11:30:35 +00:00
Egor Ushakov
329f520855
IDEA-252760 Cannot attach read only debugger to Java process on macOS - disabled on macos
...
GitOrigin-RevId: bb1d8bed14ba8c86a112472d92bf7348d48abae9
2022-07-20 11:22:29 +00:00
Peter Gromov
c36c8c6db9
[grazie] IDEA-298261 Don't glue together javadoc param name and description when removing a colon
...
GitOrigin-RevId: a166b9f083c00a6cb9ce2568df769b467a2a9937
2022-07-20 10:46:25 +00:00
Vladimir Dolzhenko
9a724b6a34
[kotlin] Fix nested case on a diff levels of depth
...
#KTIJ-10071
GitOrigin-RevId: 04e026f8bd295a737bf344c56e1e3ab52258252a
2022-07-20 10:31:15 +00:00
Adam Malek
e6c7f94b02
ML in SE: Increment group version after renaming features (IDEA-297960)
...
GitOrigin-RevId: 75aae1c7825ffe3751c03061246e6851b9ef862e
2022-07-20 09:48:35 +00:00
Anna Kozlova
d61be4536d
[tests] move FileComparisonFailure to junit.rt
...
to avoid dependency from runtime module to junit 4; on the way to pure junit 5 dependencies
GitOrigin-RevId: 6dd3602b55371c783a71cb339ab5be3c0d205631
2022-07-20 09:24:55 +00:00
Anna Kozlova
39c63978a4
[junit] pass "junit.jupiter.conditions.deactivate" as vm option
...
GitOrigin-RevId: 21ed0316af02e4daf878203a054e956ea97e676c
2022-07-20 09:24:52 +00:00
Anna Kozlova
9d50130bbf
remove unused return value (was always null)
...
GitOrigin-RevId: 5e593775263b96e3113ea4cfb3df8e541ea82700
2022-07-20 09:24:49 +00:00