Commit Graph
450402 Commits
Author SHA1 Message Date
Bas Leijdekkers 1bdb332af2 Java: better error recovery on annotation parsing (IDEA-209573)
GitOrigin-RevId: a600121ecbd9fa6338237f0d3802486c7f8a5656
2024-07-30 22:37:25 +00:00
Bas Leijdekkers 0274e2096d Java: remove unuseful parser test (IDEA-305898)
GitOrigin-RevId: 1af85dda474342a1b70bedfd17ab6b469b93465c
2024-07-30 22:37:25 +00:00
Bas Leijdekkers c045040925 Java: restore grouping in tests
GitOrigin-RevId: 9bc694e2612136d71c0ad93e7c28ea484bce4468
2024-07-30 22:37:25 +00:00
Bas Leijdekkers c014a1f2f1 Java: render incomplete polyadic expressions correctly (IDEA-356837)
GitOrigin-RevId: 6b9de40ba5ba85a0a27a1e7e8f85150058510fc9
2024-07-30 22:37:25 +00:00
Bas Leijdekkers 539ecb5e94 Java: prevent SOE on deeply nested code blocks
GitOrigin-RevId: 12d62d7c4041df6da72c11ee05f038a802bf25db
2024-07-30 22:37:25 +00:00
Bas Leijdekkers 25c91c8a98 Java: apply String Template parser changes to Pratt parser (IDEA-305898)
GitOrigin-RevId: e4361c12dcbf496447be88e02031e53d6985b932
2024-07-30 22:37:25 +00:00
Anna Kozlova c6fee8bfc9 [kotlin] k2: fix annotation with arguments presentation
KTIJ-30695

GitOrigin-RevId: 681e7f73c1d1c6a2713599fd26915960e11b145c
2024-07-30 22:35:41 +00:00
Jaebaek Seo b27ed90ff3 Add renderAnnotations to ExtractableCodeDescriptor
The existing `ExtractFunctionDescriptorModifier::modifyDescriptor(..)`
that allows us to update the extraction descriptor returns
`ExtractableCodeDescriptor`. We have some cases like compose editor
of Android Studio that needs to change the behavior of the extraction
by updating the annotation rendering. The current annotation rendering
has a limitation that the rendered annotations must be from the
annotations of the container class. However, in the following example
the lambda argument must have `@Composable` annotation after extraction
even though its container function does not have it:
```
@Composable
fun myWidget(context: @Composable () -> Unit) {}

fun containerFunction() {
    myWidget { // This lambda argument is composable!
        <selection>print(true)</selection>
    }
}
```

Since we cannot handle the above case i.e., adding `@Composable` to the
extracted function for the lambda argument, this commit allows us to
use the rendered annotations instead of class Ids for
`ExtractableCodeDescriptor`.

^KTIJ-30695

Signed-off-by: Anna Kozlova <anna.kozlova@jetbrains.com>

GitOrigin-RevId: e4f2039882092544b67896f4f06a91ffee05d6d8
2024-07-30 22:35:41 +00:00
Vera Petrenkova 654dcd7a25 IJPL-159334 get Region from GlobalPreferences on macOS
GitOrigin-RevId: d2229982ec55908e6506e21f2bfbc36595260907
2024-07-30 22:26:12 +00:00
Dmitry Kichinsky eb78b2af1a [maven] IDEA-356082 AbstractOpenProjectProvider.unlinkOtherLinkedProjects
GitOrigin-RevId: 0d2d6106d3cb6c59b25b9cba835ed67834f68080
2024-07-30 22:21:45 +00:00
Roman Golyshev cd71a13b09 KTIJ-30581 [kotlin] Optimize isStaticallyImportedReceiver by only considering object receiver types
If the implicit dispatch receiver is not an object, it
is definitely not statically imported, so no point
in performing an expensive `scopeContext` call

GitOrigin-RevId: a408d2a4432d6ed782e10854f0490cd911f1367e
2024-07-30 22:20:28 +00:00
Roman Golyshev f938a230a8 KTIJ-30581 [kotlin] Introduce isStaticallyImportedReceiver method to UsedReferencesCollector
GitOrigin-RevId: d83eefd58fc4062e878a2bcb4129f6f08f6affc1
2024-07-30 22:20:28 +00:00
Andrey Cherkasov acb9b6df3b [kotlin] Small adjustment
IJ-CR-141232
^KTIJ-29523

GitOrigin-RevId: aac763e23d759711f51962151bcf7f0cc8591018
2024-07-30 22:11:04 +00:00
Andrey Cherkasov a81b7cba35 [kotlin] ConvertReferenceToLambdaIntention: add a test
^KTIJ-29377

GitOrigin-RevId: 58aea0c70fbcaba3a2810203bb4c3eefba14aad6
2024-07-30 22:11:01 +00:00
Jakub Senohrabek 7f0a01d527 Test if skiko works without path override
GitOrigin-RevId: df3ee781c78854dcc4b0c2c50c8227f8a335fdb0
2024-07-30 21:21:03 +00:00
Maksim Zuev b842d47cd3 [debugger] IJPL-158332 Add tests
GitOrigin-RevId: dc6a54049e7102b6c9cdd674196daf209748e1b6
2024-07-30 20:57:59 +00:00
Maksim Zuev d089f3dbc7 [debugger] IJPL-158332 Introduce separate hotswap action
GitOrigin-RevId: c3157e0d33661838fcb265b55a4f3339a1c5d590
2024-07-30 20:57:59 +00:00
Maksim Zuev a6d0e3bffe [debugger] IJPL-158332 Add tooltip
GitOrigin-RevId: b75d373bad82665fabfb2bbe352e67d72140566c
2024-07-30 20:57:59 +00:00
Maksim Zuev 4abd1d5bdc [debugger] IJPL-158332 Hide notifications on new hot swap operation
GitOrigin-RevId: 78dd87f14cebeb6aedcd51ae7bbd0115b7e32c12
2024-07-30 20:57:59 +00:00
Maksim Zuev 47a160d641 [debugger] IJPL-158332 Do not notify success when no classes are reloaded
GitOrigin-RevId: 26a96a89c78d33b8f7d06ddb8375b190ab5505f7
2024-07-30 20:57:58 +00:00
Maksim Zuev 68cade0689 [debugger] IJPL-158332 Sync new action with old hot swap actions
GitOrigin-RevId: 2e45ce6bf2e0bec1875e9048407f81c0c5eeb63a
2024-07-30 20:57:58 +00:00
Dmitry Kichinsky 20887d40f3 [maven] IDEA-332512 exclude "target" folders in aggreator poms
GitOrigin-RevId: 2ce679940a4645ec19d0c9b10240f5dcb4086c70
2024-07-30 20:29:11 +00:00
Dmitrii Denisov 893b4c3d87 AT-1032 fix some tests in split mode
GitOrigin-RevId: 0d6b4f0a86216eef8cb5dc774fd8dfa3dca9b64f
2024-07-30 19:34:59 +00:00
Ilya Muradyan a8e49eee36 Jupyter: remove cyclic dependency
GitOrigin-RevId: c72cbf3c475e3d8e32f1f96c2df022efaa0e7274
2024-07-30 19:29:23 +00:00
Louis Vignier 7017a0a1cd [intention-preview] Fix the background color of editor scrollbars
#IJPL-159390 Fixed

GitOrigin-RevId: 2b1d7e301337bcb0679477513389be39d65b0f20
2024-07-30 19:26:13 +00:00
Louis Vignier 7ce6383034 [intention-preview] Fix intention preview width
#IJPL-158759 Fixed

GitOrigin-RevId: f988a806c89e029cdb3752bfd6c0559deb530d06
2024-07-30 19:26:13 +00:00
Louis Vignier 432e4e1019 [ui] Preserve caret position after editing VM options
IJ-CR-140588

GitOrigin-RevId: 71e1e207624f2cb79e3034519acf72db31325d05
2024-07-30 19:26:13 +00:00
Louis Vignier 2b3e137700 [condeInsight] Use ProgressManager to compute isEntryPoint
#IDEA-344858 Fixed

GitOrigin-RevId: 890671d4d2d60772e807eedfe98c713b8a00afae
2024-07-30 19:26:13 +00:00
Louis Vignier 4a6aaaffd2 [ui] Fix list renderer in OccurrencesChooser
#IJPL-58778 Fixed

GitOrigin-RevId: dcc5dc2d1f721befa9bfaa521221175fbf8e5dfd
2024-07-30 19:26:13 +00:00
Bart van Helvert 09c31334e9 [kotlin] Implement moving expected/actuals declarations
#KTIJ-28462 Fixed

GitOrigin-RevId: f9ab8c494421c8dd053c2f7938789c5c3affd371
2024-07-30 19:10:32 +00:00
Bart van Helvert f42ffa49da [kotlin] Hande null target directory in K2 move directory with classes processor
#KTIJ-30672 Fixed

GitOrigin-RevId: 2bfedd580ac0a6e1dfcb5393af956ce45aa29515
2024-07-30 19:10:32 +00:00
Vladimir Koshelev 660bdd70bb [pycharm] PY-73958 PyDefUseUtil: restrict resolve for large control flow graph to avoid recursion
GitOrigin-RevId: 777dd787f0b992be0775e8844026345b4722cdf0
2024-07-30 18:23:12 +00:00
Roman Shevchenko 60f1bdbd8b Cleanup (minor optimization; typos; formatting)
GitOrigin-RevId: 8e141475419e5987111a7e039cb318230c994697
2024-07-30 18:22:47 +00:00
Roman Shevchenko 3160e0cf4e [platform] avoiding EDT when saving schemes (IJPL-149701)
The component interested in scheme VFS events is `SchemeFileTracker`, but it only processes external events - so the scheme manager just has to keep VFS in sync for these events to happen.

GitOrigin-RevId: 24e0078ae2ff1e295b550d450fcdf78df5945f08
2024-07-30 18:22:46 +00:00
Berkay Özerbay dac8047d97 Update collectContextOnly flag in kotlin and php config for rename
The configuration for the evaluation plugins in Kotlin and PHP has been updated. Specifically, the 'collectContextOnly' flag has been set to false in both cases. This change implies that more than just the context is being collected during the evaluation process.

GitOrigin-RevId: cb14f4da3a390e7a9583f4d53a78ec0015aedbcf
2024-07-30 17:37:32 +00:00
Berkay Özerbay 4f11cffb36 Update language setting in evaluation-plugin
The language setting for the namesuggestion feature of the evaluation-plugin was incorrectly set to Java. This has been corrected to reflect that the language used is PHP.

GitOrigin-RevId: fb6b71a2ee9dde626e873b1fac89de9349597450
2024-07-30 17:37:32 +00:00
Berkay Özerbay 0e82637b33 Add name suggestion evaluation config for PHP
GitOrigin-RevId: 5ffc6bed9664c3cf750ff42aa3566ccb24a15679
2024-07-30 17:37:32 +00:00
Berkay Özerbay 868fafa51c Add Python Name Suggestion evaluation configuration xml and run settings json
GitOrigin-RevId: 93c1c2b280cf791912a5013614fc476dad712c68
2024-07-30 17:37:32 +00:00
Berkay Özerbay 43c780d506 Add new configuration for Kotlin name suggestion evaluation
GitOrigin-RevId: efe0ac7b2b85ab19bc684f93ca2791411efa2674
2024-07-30 17:37:32 +00:00
Maksim Zuev 4bb0bb1f6d [debugger] IJPL-158332 Add 'continue previous code' action
GitOrigin-RevId: f5ab6e0ad3aa913594ce7d80b80a9650bf281ec2
2024-07-30 17:13:52 +00:00
Maksim Zuev f227a20bb8 [debugger] IJPL-158332 Simplify java debugger notifications on hotswap failure
* do not include session name
* use balloon notification

GitOrigin-RevId: f9492529682e0a78b621a4184045ab8a3312666c
2024-07-30 17:13:52 +00:00
Maksim Zuev 7c94317606 [debugger] IJPL-158332 Notify hot swap error/cancellation
GitOrigin-RevId: 56094f8cdb83c019635aa5bb27bcba692fea6df1
2024-07-30 17:13:52 +00:00
Maksim Zuev f295417161 [debugger] IJPL-158332 Fix button status on hot swap cancel
GitOrigin-RevId: 5570e1bf1777e3348ce07454529ce01490cf5956
2024-07-30 17:13:52 +00:00
Maksim Zuev 42b45564c4 [debugger] IJPL-158332 Add successful hot swap notification
GitOrigin-RevId: f8966176b738d993743120407077986ed46b568c
2024-07-30 17:13:52 +00:00
Maksim Zuev f6f5a832c7 [debugger] IJPL-158332 Show button for newly opened files
GitOrigin-RevId: 7c0fcdf40be8f28657ef1eb201fd02050b384d36
2024-07-30 17:13:52 +00:00
Maksim Zuev a8b02f1e8a [debugger] IJPL-158332 Use hot swap icon
GitOrigin-RevId: 4b1251b680d36cc1c942fffa8ace930a17ffe9e8
2024-07-30 17:13:52 +00:00
Karol Lewandowski d254beda2b Update General Threading Rules to Threading Model (labels and links)
GitOrigin-RevId: 45406f37f0c5387267708a880de123bd7972f5ac
2024-07-30 17:09:14 +00:00
Karol Lewandowski bba418960e Use "acquire" instead of "obtain"
GitOrigin-RevId: 1720d3fb95552cf0e8ca4499eeb824d19b836868
2024-07-30 17:09:14 +00:00
Alexander Lobas 6c119ce6e1 IJPL-159219 Intention, inspection and file templates are missing
GitOrigin-RevId: 05136bee02b6cfc27646b50bad238016821fa210
2024-07-30 17:08:34 +00:00
Vlad Koshkin 8511feda42 [kotlin] hide ModuleStructureFilterExtension
GitOrigin-RevId: 6b3d79e2f3074cb14c492708f9020648a5d38508
2024-07-30 17:03:30 +00:00