Commit Graph

458460 Commits

Author SHA1 Message Date
Tagir Valeev
d2d87a71f3 [java-intentions] IDEA-363734 "Make Xxx impelent Yyy" quick fix inserts @NotNull
(cherry picked from commit 4e9a3f94cf1aedadd0b2c4699e168ccb3be0e405)

IJ-CR-150708

GitOrigin-RevId: ced9d4595e513387ebf996bf8dd0894877ef0f3e
2024-12-05 01:08:15 +00:00
Nikita Katkov
9a6c3e865e [performance plugin] IJPL-165636 IJ-CR-149885 Moved performanceTesting.backend module outside of the community project to avoid foreign dependencies in it
(cherry picked from commit bf114be2f9e113ef417b5ff0e7abd7f24f0b7d24)

GitOrigin-RevId: 4582c253446f29c07f4dfea655c8a313eaf617f3
2024-12-04 23:49:22 +00:00
Nikita Katkov
8f34fe5c3a [performance plugin] IJPL-165636 IJ-CR-149885 Add backend-specific module with an option to download generated snapshot to the client machine
(cherry picked from commit 346ddc7cb3de2ee64a16f94cad5c47cd9dcaa541)

GitOrigin-RevId: cf9a64d8a7874a649d4db3f9ba9e32d0b2a57122
2024-12-04 23:49:22 +00:00
Nikita Katkov
bfe066b595 [performance plugin] IJPL-165636 IJ-CR-149885 Refactor existing code: split snapshot openers into separate extensions to make notiication actions list context-aware
(cherry picked from commit fab71c6618593d8bbe0f66b2284c973af8da8e6b)

GitOrigin-RevId: 01978c502bfc37c48bb5b96b2d9c13e23e710306
2024-12-04 23:49:22 +00:00
Egor.Eliseev
32facefd58 PY-77400 Generate Cython files
(cherry picked from commit 1c6183cf5781265282d30b678e3323a6ab26cd86)

IJ-MR-150846

GitOrigin-RevId: 868a601696bf497e8e88a3774f44476ef0cf2036
2024-12-04 23:11:36 +00:00
Victoria.Petrakovich
1657c6a948 [kotlin] Update Kotlin New Project wizard version to Kotlin 2.1.0
Also updated forgotten `maxJvmTarget` to 22 for Kotlin 2.0+

KTIJ-32253


(cherry picked from commit c1babe4c416e417d3084c1b21a934e7aefbe7598)

IJ-CR-150484

GitOrigin-RevId: cb466d1e2a79d5425136a9224bf3963dda8e7352
2024-12-04 22:12:42 +00:00
Nikita Katkov
0349903955 [json] IJPL-172038 More performance improvements for json schema FUS
- 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
2024-12-04 21:44:47 +00:00
Nikita Katkov
a12c2ab9e8 [json] IJPL-172038 Prefer HashMap and HashSet over the Linked* collections to reduce FUS performance impact
(cherry picked from commit f033e0ec51114f2b4dc54b76a4e7c8a13137edc2)

IJ-CR-149952

GitOrigin-RevId: ae4411032c6a63effc1ee104e268b10472717849
2024-12-04 21:44:47 +00:00
Nikita Katkov
8ba490d2fa [json] IJ-CR-149952 Fix FUS collection errors
- reversed condition
- prefer internal modifiers over annotations


(cherry picked from commit 7d1cc8695a85ce54ca7e71fad060b94c662915d1)

IJ-CR-149952

GitOrigin-RevId: 0596cd5b72be783b266cc6187915e06fcf86e6be
2024-12-04 21:44:47 +00:00
Nikita Katkov
86b8508ffc [json] IJPL-172038 Removed unneccessary readaction assertion since it is not useful anymore
(cherry picked from commit 3317cf8955a52586fa7255b1ba3b8bb7129de181)

IJ-CR-149952

GitOrigin-RevId: e6f65e713a9652752f145366d709b73d57fef787
2024-12-04 21:44:46 +00:00
Nikita Katkov
28e2fadfb3 [json] IJPL-172038 Prefer simple thread local cache instead of ReadActionCache to reduce FUS collection performance impact
(cherry picked from commit 0788ef02d6384176e0ed6fec8037c3f63b656fb9)

IJ-CR-149952

GitOrigin-RevId: 5c59f591702288cbf48a4616050e0d86fc45bd87
2024-12-04 21:44:46 +00:00
Nikita Katkov
883722fe8e [json] IJ-CR-149952 Prefer allowed values list instead of regexp-based schemaId reporting
(cherry picked from commit 047b36e55b16ec4721f882c879dbb9e415511849)

IJ-CR-149952

GitOrigin-RevId: 6bf17ed7a46cc07e38aad2e3e403ce9315d4b29f
2024-12-04 21:44:46 +00:00
Nikita Katkov
f651b9272e [json] IJPL-166426 FUS-5203 Prefer default events naming convention, introduce event descriptions
(cherry picked from commit bf88345fea68ace01c149b9791ff8b48ce6fe9d9)

IJ-CR-149952

GitOrigin-RevId: 2e7057e6765132fb6c76d9edab488f4639816a21
2024-12-04 21:44:46 +00:00
Nikita Katkov
21c80c4fbc [json] IJPL-166426 Cache root schema object's file url because it is accessed in the equals & hashcode methods frequently enough
(cherry picked from commit 3af3524fb8d7d044da4508090911d8bc97aeda83)

IJ-CR-149952

GitOrigin-RevId: e9b81f32abe75d1a48c5ece1c351d6ba209481ee
2024-12-04 21:44:46 +00:00
Nikita Katkov
c4e34440e7 [json] IJPL-166426 Log the number of various resolve-related method invocations to be able to compare with the updated version in the future.
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
2024-12-04 21:44:46 +00:00
Egor.Skrypnikov
bf2a7a3672 [Rider] Redo the non-adjustment in UsagePreviewPanel.kt
(cherry picked from commit 0e093a6e446b66f41ab399e5d99c9ee4bf0a94fe)

IJ-CR-150481

GitOrigin-RevId: faa4dbc7129366e017d8e54b31badd5df44fad9c
2024-12-04 21:37:39 +00:00
Alexandr Trushev
5cb944666b [editor] IJPL-171779 Adjust sticky line shadow to match the intensity before the border overlapping fix
(cherry picked from commit bf03bbfccd0df03303e2dc479d6a38e97a03407e)

IJ-CR-150679

GitOrigin-RevId: 509e35a0ec7acecb93fa756bf55b8d1ce0c3dffa
2024-12-04 12:00:08 +00:00
Alexandr Trushev
2e16415263 [editor] IJPL-171779 Fix for issue with incorrect sticky lines border color
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
2024-12-04 12:00:08 +00:00
Alexander.Kass
85015e61b8 DBE-22301 fix schema chooser when the pattern matches schema name
(cherry picked from commit 2880cfe3e6e231de599ef6970fceea727758c75f)

IJ-CR-150607

GitOrigin-RevId: 384e6ac2c14f3817400d225abb3c3fef8bd21313
2024-12-04 10:10:01 +00:00
Ilya.Kazakevich
5666495862 PY-77813: Report new project type broken in NPW.
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
2024-12-04 01:39:37 +00:00
Aleksandr Izmailov
fa7590530b [aia] IJPL-172594: Disable AI Promo Window in PyCharm Community
(cherry picked from commit 7bc97a704f426a1f02c06bb17415d2fd651a01b4)

IJ-CR-150127

GitOrigin-RevId: 5ff6f4d3cba4689f40e21a30f2dc72ff67be5ef9
2024-12-03 21:14:36 +00:00
Aleksandr Izmailov
1ac538ce56 [aia] IJPL-172594: Disable AI Promo Window in IDEA Community
(cherry picked from commit d918a67f34ef959ad08eae92a18d628f394d9973)

IJ-CR-150127

GitOrigin-RevId: 9436317ca562e543afad60d5f6bac971c80d5ab2
2024-12-03 21:14:36 +00:00
Yuriy Artamonov
95bdeb78f6 [diagnostics] IJPL-172739 Freeze notifier does not work properly for release users
IJ-CR-150625

GitOrigin-RevId: bfdab96b88cce9b5e2770021122556dd10a91d91
2024-12-03 21:02:04 +00:00
Pavel Kirpichenkov
ca6204d115 [Kotlin] Don't highlight the whole string in multi-dollar inspections
Place diagnostics on replaceable entries instead

KTIJ-32064


(cherry picked from commit 159c39fce2cab9a367794569a027ec88cfa03f9f)

KT-CR-18891

GitOrigin-RevId: 4dd064246b705e6013221e435d9cd426cb777efd
2024-12-03 20:31:11 +00:00
Pavel Kirpichenkov
7aa84f05eb [Kotlin] Unescape dollar literals: remove 2.1 note from name
KTIJ-31651


(cherry picked from commit 237cfe7dc52f273a48ff4867b488d87273906968)

KT-CR-18891

GitOrigin-RevId: 5ad03ca900a08c15d1ed9e659894f6cf649e9d81
2024-12-03 20:31:10 +00:00
Pavel Kirpichenkov
6a0499776a [Kotlin] Change multi-dollar inspections level to weak warning
KTIJ-31651
KTIJ-31819


(cherry picked from commit 06d698fd8d7e50d76321b1d5958b4b84f9928447)

KT-CR-18891

GitOrigin-RevId: 368129e6819d942ec784da34f387a272100fa1c8
2024-12-03 20:31:10 +00:00
Pavel Kirpichenkov
81ae9e99d7 [Kotlin] Update descriptions of multi-dollar inspections
KTIJ-31651
KTIJ-31819


(cherry picked from commit ca572821b422f84908e525b11b49dc261187f5f2)

KT-CR-18891

GitOrigin-RevId: 84478ca5d3df53f1d4196c8c1f3d0d955b5b83dc
2024-12-03 20:31:10 +00:00
Pavel Kirpichenkov
6101bf71d5 [Kotlin] Add inspection for multi-dollar string conversion
KTIJ-31819


(cherry picked from commit 7908c8ca0d47cf954c8af01d40bc9a323904395a)

KT-CR-18891

GitOrigin-RevId: cd551d652a3784abba99e1e68eb12e0be82212a1
2024-12-03 20:31:10 +00:00
Pavel Kirpichenkov
7b16461e28 [Kotlin] Merge multi-dollar utils for inspections and intentions
KTIJ-31819


(cherry picked from commit 7c7d8b4c1b59def4decc4bd6c13af5feb9ec8127)

KT-CR-18891

GitOrigin-RevId: e4a16b14452026fcb8b84821e5df38775c2f38f5
2024-12-03 20:31:10 +00:00
Pavel Kirpichenkov
ae9a4aabd3 [Kotlin] Split inspection name and problem description
KTIJ-31651


(cherry picked from commit b1b5076dcc79fbebb6d2d7dbc493646d2b80c9e1)

KT-CR-18891

GitOrigin-RevId: a37d60815750aa28e7445633eddc9742ac3fe06c
2024-12-03 20:31:10 +00:00
Pavel Kirpichenkov
cad000ddc6 [Kotlin] Don't generate K1 tests for K2-only cases
KTIJ-31651
KTIJ-30944


(cherry picked from commit ff99a2abf44f44f63508087a64702f760e8633d9)

KT-CR-18891

GitOrigin-RevId: 4c098b752a3285bf0ecf24b0469e6870570f7798
2024-12-03 20:31:10 +00:00
Pavel Kirpichenkov
8e11bcabf9 [Kotlin] Report escaped dollar characters that can be simplified
KTIJ-31651


(cherry picked from commit bba1c376e29ab296b4279cae67c2c4e7ac262161)

KT-CR-18891

GitOrigin-RevId: 77e24cdaa131fd8b1dbfa36202b4afc53206bb75
2024-12-03 20:31:10 +00:00
Pavel Kirpichenkov
9b193e1268 [Kotlin] Minor: remove an unnecessary step in a fast return
KTIJ-30945


(cherry picked from commit be239610f9a6c0e59c23048873a6b94fd732112d)

KT-CR-18891

GitOrigin-RevId: b20d15fdeb43aa9679bb514a8f50506b9638a3a5
2024-12-03 20:31:10 +00:00
Anastasia Katsman
acd175c58b [driver] add note about necessary of adding @JvmStatic to the kotlin companion object methods
GitOrigin-RevId: b99e49a8f6d333225e94e11564bafa7879f4b704
2024-12-03 18:59:03 +00:00
Anastasia Katsman
e45523b9ad [rdct-tests] improve waitForCodeAnalysisToFinish to better handle indexing
GitOrigin-RevId: c45aee28cfaf7e6267fcf0d5c1ff40604bee605c
2024-12-03 18:59:03 +00:00
Egor Eliseev
ab01b20a6b PY-72345 Pycharm 2024.1 Broken debug on Python 3.12.3
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
2024-12-03 16:41:46 +00:00
Aleksandr.Govenko
d5f9bf8de0 PY-55548 Use actual return type for "Specify return type using annotation"
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
2024-12-03 16:06:45 +00:00
Nikolay Chashnikov
3bf01bc0c5 [platform api] remove ApiStatus.Internal for some extension bean classes (IJPL-172788)
(cherry picked from commit 47053cea099c77568fe1932ef62bfb0c01036a1e)

IJ-CR-150650

GitOrigin-RevId: 840658c19766957ee1e7a58e9df9811558c74abb
2024-12-03 14:24:47 +00:00
Nikolay Chashnikov
b7c8dbb8f8 [platform api] remove ApiStatus.Internal for SchemeExporterEP class (IJPL-172772)
The corresponding extension is used in plugins.


(cherry picked from commit f2142a5697368fb6573f3e2663f2a8032cd9ab12)

IJ-CR-150650

GitOrigin-RevId: bfd54d365f559a9616e5798ffab45befae27d211
2024-12-03 14:24:47 +00:00
Nikolay Chashnikov
02bc6fba8d [platform api] remove ApiStatus.Internal for EditorTabsConfigurableEP class (IJPL-172773)
The corresponding extension is used in plugins.


(cherry picked from commit ecbc866e87f404ac082ce20d2b5552d57b567083)

IJ-CR-150650

GitOrigin-RevId: a9497d4e4e77d3cf56ac2278939d9074fa281689
2024-12-03 14:24:47 +00:00
Nikolay Chashnikov
1c18a4004b [platform api] remove ApiStatus.Internal for AdditionalTextAttributesEP class (IJPL-172765)
The corresponding extension is used in plugins.


(cherry picked from commit 0c75e63b8602b40574c4f1fe4a499ab0f72bcbb2)

IJ-CR-150650

GitOrigin-RevId: b96bc8defb9e46dc913fba1b52b6bdbbdbd9a1dd
2024-12-03 14:24:47 +00:00
Nikolay Chashnikov
c128b797e7 [platform api] remove ApiStatus.Internal for SystemPropertyBean class (IJPL-172771)
The corresponding extension is used in plugins.


(cherry picked from commit 91239867fb3170f0ab0c208991bdc9c4889e326b)

IJ-CR-150650

GitOrigin-RevId: 200ab346700c191179a5891682320922071abba6
2024-12-03 14:24:47 +00:00
Nikolay Chashnikov
5e3c683219 [platform api] remove ApiStatus.Internal for BundledKeymapBean class (IJPL-172770)
The corresponding extension is used in plugins.


(cherry picked from commit d291f208213f2100c938a57c402e3246ad345754)

IJ-CR-150650

GitOrigin-RevId: 276f9c61b12d96c1a328aeb48e42c06170d42115
2024-12-03 14:24:47 +00:00
Louis Vignier
95e915dfd2 [java] Improve arch checker notification title and message
(cherry picked from commit 215391f3f5f1a56d4b6e6d9bdc1ad13718eecd0b)

IJ-CR-148865

GitOrigin-RevId: 5470ed33b530169fd40e015b329fc41c6684d122
2024-12-03 13:29:56 +00:00
Alexander Lobas
4e0243a930 IJPL-172106 Warn macOS 15 users about potential issues with OS firewall, suggest workarounds
(cherry picked from commit f93923104bbac9611ff2c1441af07ca753cbb0dd)

IJ-CR-150531

GitOrigin-RevId: 10a02c7b325a0e9a859e3a8b4e25069ec7827562
2024-12-03 13:17:11 +00:00
Alexander Lobas
8fe2820ca8 IJPL-172106 Warn macOS 15 users about potential issues with OS firewall, suggest workarounds
(cherry picked from commit 58808460d11744747923e61570cc0235b5e33d96)

IJ-CR-150531

GitOrigin-RevId: ec5aec0b847815b5841369b56c5e25c8a0107963
2024-12-03 13:17:11 +00:00
Alexander Lobas
d3ff9e6424 IJPL-172106 Warn macOS 15 users about potential issues with OS firewall, suggest workarounds
(cherry picked from commit 5685f6a07c8b0a4990886c5dafd842c8e7aaba31)

IJ-CR-150531

GitOrigin-RevId: 8976bafe10bc8d2d86107817c0c0ee7f112c56e3
2024-12-03 13:17:11 +00:00
Alexander Lobas
6ac534ae65 IJPL-172106 Warn macOS 15 users about potential issues with OS firewall, suggest workarounds
(cherry picked from commit 575c949fe262c28d7ae3debe2e6a3e1279999762)

IJ-CR-150531

GitOrigin-RevId: f8f23ce7ac2cad232241e79d1da383e889b1706b
2024-12-03 13:17:11 +00:00
Dmitry Zhuravlev
1e56ff834c [fus] increment group ids
Since GitActionIdsHolder update

(cherry picked from commit d9585d217159bf8d02f9731e1291f84538b81efd)


(cherry picked from commit c80fc407a70edbdce80dab02fd10055b77e9aa80)

IJ-MR-150633

GitOrigin-RevId: 5c0bf2145c8422933af0d697c0919bc595a51329
2024-12-02 19:31:02 +00:00
Dmitry Zhuravlev
62683ce762 git: REWA: show pinentry UI
(cherry picked from commit 5725cbc42c55011a22ce760cdd785406bf840007)


(cherry picked from commit 6f665545255dc29993e202f7b1a33c2f6c425bad)

IJ-MR-150633

GitOrigin-RevId: e6581074db22cab23000de25b3e392f1332ec908
2024-12-02 19:31:02 +00:00