It allows postponing initialization of IJent through `IjentFailSafeFileSystemPosixApi` from inside File chooser, when no WSL node is expanded.
(cherry picked from commit aafe453201b0e8725d8ce82b89f4d796965135d7)
IJ-CR-149490
GitOrigin-RevId: 783f99bd291b2aee071237a250deec26349a2229
It allows postponing initialization of heavy IjentWslNioFileSystem until the contents of WSL directories is really required.
(cherry picked from commit 97cda46adbbfe804115160dd5b7f630ebf81fa17)
IJ-CR-149490
GitOrigin-RevId: aeb41904d59d71d4a70f20cff3adf8331d6fe93a
IJ-CR-149484
in some tests a prefix had to be used to eliminate the number of lookup elements present
(cherry picked from commit 8174aceee5d8e7ee060b8c8808810887343f404d)
GitOrigin-RevId: 01c5db3e95183ff5a639c7f3678d2920bac5f94a
The corresponding extension is used in plugins.
(cherry picked from commit 2dae602feafc0ed6b639e1139ecf9a0a76957f30)
IJ-CR-149690
GitOrigin-RevId: 5df51d8a7f7f17bb1d2a365e508fef860ff0ef32
It should be updated only on type change (which happens rarely, especially because in many cases, we do not allow to change the type at all)
Fixes IDEA-360822 Introduce Variable: "Replace all occurrences" (Alt+A) triggers flood of exceptions
Slow operations are still possible but should not cause 'flood'. Given that dialog mode in refactorings is rarely used (it's non-default), current fix looks good enough
(cherry picked from commit 6ad7e2826b11e1f39598e991201ba05620acae84)
IJ-CR-149663
GitOrigin-RevId: 39bd201313a72d262d03283fd93ae5a6a64cecd0
Previously, PyTypingTypeProvider.getReferenceType returned a type from a class attribute
type hint only for assignment to instance attribute located inside a class definition.
In other words, here we inferred the expected type from the annotation
and reported incompatible types in assignment:
```python
class C:
attr: int
def m(self):
self.attr = "foo"
```
but in the following we didn't:
```python
class C:
attr: int
inst = C()
inst.attr = "foo"
```
Now we try to resolve any qualified target expression to a class
or instance attribute and then infer the type from the corresponding
annotation.
(cherry picked from commit 086dbb678a8cd89cfe332bf801631568fb6c3a4d)
IJ-MR-147382
GitOrigin-RevId: 4e3f71baa598d4caf684d0aeab23d1a9a688b94d
Since "[[]]" properly handled by bash/zsh shell and may not be handled in the others
IJPL-165453
Follow-up: 89951442ccaf2feec1b6b04efb9dff4dd1b0d32c
(cherry picked from commit 55b82745c5045ea46a03e11b581c9b6384e8af49)
IJ-CR-149656
GitOrigin-RevId: dbd131f64eb298d43519433543bc2906f517078c
To avoid executing slow ops in getLogicalStructureBuilder()
on the EDT, split the implementation into the BGT and EDT parts.
The old function remains the same, but the new suspend
one executes the slow part in a regular readAction,
and the UI part on the EDT under the WIL.
(cherry picked from commit f772898db79b87079d03ee404ea8152359ec79e9)
IJ-CR-149552
GitOrigin-RevId: ef76166383c63919ffab3d7b14e30b8a5ee61a0d
Need to add some suspend stuff to it.
(cherry picked from commit 0a12edfddbe7cdc4c2254657155d4ae3cde2ea06)
IJ-CR-149552
GitOrigin-RevId: 33b50b8c12769c9072d02be869f3ca85a6fb6ca6
The way structure view builders are designed, when they're created,
there can be a lot of PSI work. But when the createStructureView
method is invoked, there's a lot of UI creation.
Currently the builders are created on a BGT, which is correct,
and after a recent change, createStructureView is now invoked
on the EDT, which is also correct.
But PhysicalAndLogicalStructureViewBuilder specifically
performed a lot of slow ops stuff in createStructureView.
Let's move that stuff into its constructor instead to fix
those slow ops.
(cherry picked from commit 9eb0470cdd9e59ce39049f6df2696019c03569fd)
IJ-CR-149552
GitOrigin-RevId: b3e7f3c7e8c97e021f8ea766ff93e3586ca2e980
Now we can use a custom main class from JUnitDevKitPatcher to run tests in dev-mode,
e.g. com.jetbrains.rider.test.devServer.RiderTestNGDevMainKt which then uses com.intellij.rt.testng.RemoteTestNGStarter.
NET-CR-15442
(cherry picked from commit 30bb9ce22cab93a2adbc7e0f29dff2bfd8ebe32a)
GitOrigin-RevId: f4e9104ab8001232623afd9d24d4ebb4aabcc42a
* so that the next updates can be processed
(cherry picked from commit 7b2d52c23ee9db0f2601c85c5760e36aec5537ac)
IJ-CR-148479
GitOrigin-RevId: 79064bb506fb5be9a9bf180ecc5fdcbc4df63df2
It helps to get information about nullability for fields
(cherry picked from commit b396cfac3bd2586cd6e1de2fda131dcd135b1ecb)
IJ-CR-149011
GitOrigin-RevId: d1fa105b06c2444def5f801a26c436980b27c61f
It's based on KotlinUastAnalysisPluginTest.kt
(cherry picked from commit 039846d89ca95288411254209b0578ea366b9600)
IJ-CR-149011
GitOrigin-RevId: c4251d8eec9f309e29bfd0438eb04c2a60dd3ae7