Also updated forgotten `maxJvmTarget` to 22 for Kotlin 2.0+
KTIJ-32253
(cherry picked from commit c1babe4c416e417d3084c1b21a934e7aefbe7598)
IJ-CR-150484
GitOrigin-RevId: cb466d1e2a79d5425136a9224bf3963dda8e7352
- Prefer HashMap and HashSet over the Linked* collections to reduce overhead
- Prefer strict enum type in a map
- Run several test attempts to achieve more stable results
(cherry picked from commit 8254f2317efc10450adb40168f8159120aa87915)
IJ-CR-149952
GitOrigin-RevId: f8fde91b390057faa64ff4e8b40f9db67f9ac36e
The goal is to reduce both number of local and remote url resolve attempts
(cherry picked from commit 8b347c28c75b6241e2a15d2bf5d7ac509da6d178)
IJ-CR-149952
GitOrigin-RevId: eb13dd5f224091d7c73fec7a46b5d30248e1d49d
Before this, the shadow was painted on top of the border, which caused the incorrect border color.
(cherry picked from commit 47eecf23f02247b10b937748e520815d0dea0654)
IJ-CR-150679
GitOrigin-RevId: ea91d05e0a342ace91d4ad9c095af8120556364d
FUS statistics consists of two parts:
1. Interpreter (i.e "venv" or "conda")
2. Project generator type ("Django" or "Flask")
`com.jetbrains.python.newProjectWizard.collector.PythonNewProjectWizardCollector.GENERATOR_FIELD` was a class without any limitation and `DirectoryProjectGenerator` instance was reported (i.e one for Django).
When migrated to NPW, we:
1. Dropped most old generator classes
2. Called this function providing `this::class` by accident, and it was `CoroutineScope`, so we finished with lots of `CoroutineScope` as generator type in FUS.
We must:
1. Provide old names for project types to preserve statistics.
2. Make it type-safe this time.
We also found that interpreter statistics is nullable for `PySdkCreator` which isn't true: SDK creation statistics is always not null.
So we:
* Introduce interface for project generators that reports "name for the statistics"
* Implement it both for DS and PyCharm by returning class name by default
* Overwrite it for several well-known generators to preserve statistics (use old named of now-deleted classes)
* Make interpreter statistics not null.
(cherry picked from commit bdfa73ba043d3584c6ba1871bca7a464a550bc21)
KT-CR-19191
GitOrigin-RevId: 53f874c18d67d33083cf8508a58be257b5e89ab7
Place diagnostics on replaceable entries instead
KTIJ-32064
(cherry picked from commit 159c39fce2cab9a367794569a027ec88cfa03f9f)
KT-CR-18891
GitOrigin-RevId: 4dd064246b705e6013221e435d9cd426cb777efd
1. Fix the registration of the `PY_RETURN` signal. Stop unregistering the `PY_RETURN` signal for a `code: CodeType` after the first processing of `PY_RETURN`.
2. Fix the `LINE` callback during stepping and `SMART_STEP_INTO` commands.
3. Fix the `PY_RETURN` callback. Added handling for `SMART_STEP_INTO` and `STEP_RETURN` commands.
4. Fix the `_should_enable_line_events_for_code` function. Registration of the `PY_RETURN` and `LINE` signals for a `code: CodeType`.
Merge-request: IJ-MR-149452
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>
(cherry picked from commit 8590efb7a1b2d8d6ca2393f18dcbca795e35d211)
IJ-MR-149452
GitOrigin-RevId: 4a157651e52072f3bdc186a61af7562e05a53da7
For async functions, unwrap return type from Awaitable or Coroutine
Merge-request: IJ-MR-146295
Merged-by: Aleksandr Govenko <aleksandr.govenko@jetbrains.com>
(cherry picked from commit 9fe8d02a9d8bb584b9d6972ce999912bd93875e6)
IJ-MR-146295
GitOrigin-RevId: 9bad4877a069268a2d0181cac70b9a0d399cb5e6
The corresponding extension is used in plugins.
(cherry picked from commit f2142a5697368fb6573f3e2663f2a8032cd9ab12)
IJ-CR-150650
GitOrigin-RevId: bfd54d365f559a9616e5798ffab45befae27d211
The corresponding extension is used in plugins.
(cherry picked from commit ecbc866e87f404ac082ce20d2b5552d57b567083)
IJ-CR-150650
GitOrigin-RevId: a9497d4e4e77d3cf56ac2278939d9074fa281689
The corresponding extension is used in plugins.
(cherry picked from commit 0c75e63b8602b40574c4f1fe4a499ab0f72bcbb2)
IJ-CR-150650
GitOrigin-RevId: b96bc8defb9e46dc913fba1b52b6bdbbdbd9a1dd
The corresponding extension is used in plugins.
(cherry picked from commit 91239867fb3170f0ab0c208991bdc9c4889e326b)
IJ-CR-150650
GitOrigin-RevId: 200ab346700c191179a5891682320922071abba6
The corresponding extension is used in plugins.
(cherry picked from commit d291f208213f2100c938a57c402e3246ad345754)
IJ-CR-150650
GitOrigin-RevId: 276f9c61b12d96c1a328aeb48e42c06170d42115