Commit Graph

29381 Commits

Author SHA1 Message Date
Petr
01d14fab4e PY-40480 Lift literal type completion results higher in a lookup
GitOrigin-RevId: 51fcf9b611250104fdeff04284e908cce1164560
2024-05-16 20:36:19 +00:00
Nikolay Chashnikov
908883714c [python] API cleanup: remove unused deprecated API (IJPL-503)
GitOrigin-RevId: bc9846615603353710cae0b35f362d199de113e8
2024-05-16 18:01:12 +00:00
Nikita Pavlenko
61a9fe248a [pycharm] DataView (fix): Reworked module structure for restoring the functionality of DataView/SciView add split SciTables and Jupyter. #PY-72564 Fixed
GitOrigin-RevId: c400ca5487f8acc86f5a3c2a1657484d3a3bdd88
2024-05-16 17:01:20 +00:00
Mikhail Mazurkevich
f35c735b19 [workspace model] Remove workspace.model.global.sdk.bridge registry key
GitOrigin-RevId: c98c2af849d2feb52a3a305c426341ab816f0fc8
2024-05-16 11:20:28 +00:00
NadezhdaVesnina
ff549391b2 PY-72636: PyCharm 2024.2 EAP 1
(cherry picked from commit bd1dd3bfe58340be0057191768eba5dfc3751bb9)

IJ-MR-134476

GitOrigin-RevId: e0dbfd6f418bbfbd1fc47f6db18be628ca21eeef
2024-05-15 22:38:33 +00:00
Vladimir Krivosheev
8943e52acf IJPL-149716 cleanup
GitOrigin-RevId: 3f94c11e7f898f907b40a333d3b0f6b437ef3901
2024-05-15 21:13:42 +00:00
Vladimir Krivosheev
80cc4b457d IJPL-149716 call buildDistributions directly
GitOrigin-RevId: 6a100d50d6bc3420593e283a1ae38675a748eaf6
2024-05-15 21:13:35 +00:00
Vladimir Krivosheev
be37049ded IJPL-149716 extract moduleSourceArchive
GitOrigin-RevId: 35ca48e9826b3ceca10bf7e06ebb20ccdc2894f3
2024-05-15 21:13:32 +00:00
Vladimir Krivosheev
61edc08800 IJPL-149476 cleanup
GitOrigin-RevId: 732ff667829f6fc70bb665ffcd715120df2d7de3
2024-05-15 21:11:50 +00:00
Vladimir Krivosheev
4d288109b4 IJPL-149476 PythonPsi.xml expected in the main plugin
GitOrigin-RevId: 7f532cc471c7b7b0253cbde9f73fa1db45738ddf
2024-05-15 21:10:53 +00:00
Vladimir Krivosheev
c783d08867 IJPL-149476 fix IAE due to PyFilterLexer protected ctor
GitOrigin-RevId: b65f7f5fc399476f04e036df94190b30bdf4f783
2024-05-15 21:10:39 +00:00
Vladimir Krivosheev
41b1f976aa IJPL-149476 reduce visibility
GitOrigin-RevId: 1b1b35cbcc8b53dcd2673497bfa40729758aabaf
2024-05-15 21:10:36 +00:00
Vladimir Krivosheev
cc8df92f0a IJPL-149476 remove unneeded xpointer="xpointer(/idea-plugin/*)"
GitOrigin-RevId: 5adb1023a5b0a58ffca2dca0c5af07d6c9f0dcdd
2024-05-15 21:09:03 +00:00
Nikolay Chashnikov
be4a545844 reorder dependencies in *.main modules to ensure that 'intellij.platform.bootstrap' comes first in the classpath (IJPL-986)
This is needed to ensure that 'intellij.platform.bootstrap.coroutine' comes before kotlin-stdlib, so it properly overrides DebugProbesKt class, and coroutines dumps work if the IDE or tests are started without packing modules to JARs and without explicitly specified coroutines agent.

GitOrigin-RevId: 0c59adc46c2a80e14eafdd7bdfe70ac5c0cf995b
2024-05-15 12:05:50 +00:00
Nikita Pavlenko
9d35a21fc5 [pycharm] DataView (fix) Fixed wrong table borders in "view as array/dataframe" functionality. #PY-72592 Fixed
GitOrigin-RevId: 34b268c5b969c5a5fd222840dae55c847ef09cb9
2024-05-15 11:45:04 +00:00
Petr
abfb927619 [python] PyAssignmentStatementImpl.getTargetsToValuesMapping() Unpack nested tuples as specified in javadoc
GitOrigin-RevId: e0d4c13cadfa11d85ba3ddeba17e3c4cdda0a46d
2024-05-15 00:01:20 +00:00
Petr
b9d89b367a [python] PyAssignmentStatementImpl.getTargetsToValuesMapping() Handle nested parenthesis
GitOrigin-RevId: 6431171bee6624e0256d08fd5e1eddfb82132ccb
2024-05-15 00:01:20 +00:00
Petr
c015ff5cbf PY-55044 TypedDict **kwargs typing
GitOrigin-RevId: 5dff382b321ac166ed4b8cf90e431ea719995608
2024-05-14 23:49:38 +00:00
Petr
aefaeaa52a PY-54151 TypedDict completion at callee does not work for methods
GitOrigin-RevId: 5a037490d8c24ccdd354e8396540a21294148a7e
2024-05-14 22:52:52 +00:00
Daniil Ovchinnikov
090433b489 push intellij.platform.monolith.main dependency to the top of all product main modules
It's expected to include libraries which shall be the first in the classpath.

GitOrigin-RevId: f980fa96d4d70320c41eabc25a8f0d6acaa5dbd9
2024-05-14 21:21:08 +00:00
Dmitriy.Panov
a61c28c5ea IJ-CR-133997 falling back to build number defined in the sources
GitOrigin-RevId: 45b7fc8fbb0f9680f7722b162e469addb6fbc687
2024-05-14 18:42:13 +00:00
Daniil Ovchinnikov
7c88ab72c0 rename intellij.platform.main -> intellij.platform.starter
`.main` suffix is reserved for aggregator modules which are used to run app/tests from sources.
This module is actually used in the production.
The name is chosen because the module contains the starter for non-commercial products.

GitOrigin-RevId: f456bbe2aae33d2f016136fc9ad32c23ab751240
2024-05-14 16:35:19 +00:00
Petr
feb3bdc4c2 PY-52502 Duplicate completion variants when local variable is used as map key
GitOrigin-RevId: 463225922b2f0201b5d1ed2749f4175a77fd543f
2024-05-14 01:09:52 +00:00
Andrey Vokin
2db8b72fcb PY-71757 Semantic highlighting broken in 2024.1
Use severity SYMBOL_TYPE_SEVERITY by default for Python annotations, so that Python rainbow highlighting is preferred.

GitOrigin-RevId: cdfea51b4e891d952ce763a6e58b5e95a0c2125e
2024-05-13 15:27:32 +00:00
Petr
7965dde4a4 PY-56004 Completion for expected literal types in assignments
GitOrigin-RevId: 06cacc62e068d902b174e5208837959cbd92ed88
2024-05-13 14:59:57 +00:00
Tagir Valeev
7085a927d5 [mod-commands] ModCommandExecutor.executeInteractively convenience method
GitOrigin-RevId: ae163c5afe3391aa73e8b0898546de7e74ce2419
2024-05-12 17:34:00 +00:00
Ilya Muradyan
36ec2d65b0 KTNB-235, PY-64586: Split intellij.python.jupyter.tables and intellij.python.pydev
GitOrigin-RevId: e417ef93a7ad78672df99631f3053fe36b8c681b
2024-05-12 11:15:23 +00:00
Alexander Lobas
3f90c0e90f IJPL-49419 Move old UI to plugin
GitOrigin-RevId: 0ebbb04fd33b7663c08303a1e3f56057fa8884d9
2024-05-12 09:25:36 +00:00
Vitaly Legchilkin
9a56930105 Use BinaryInstaller for CPython, update sdks registry, remove os field from FUS (PY-71414)
* os field is a reserved field, it is an autofilled field, no need to add it manually.

GitOrigin-RevId: 9506335e17c6e049adce9ebf17352c609739022a
2024-05-11 17:40:47 +00:00
Andrey Lisin
b3ad56c1a2 PY-72239 Regenerate debugger binaries for macOS
GitOrigin-RevId: 5f57934ef1e669b8be24ac3e8c334f693cd62a20
2024-05-10 12:13:11 +00:00
Andrey Lisin
603f6d0c18 PY-72239 Regenerate debugger binaries for Windows
GitOrigin-RevId: ee3eed86eee059b330fe52ff6877304767cfaf09
2024-05-10 12:13:11 +00:00
Andrey Lisin
3e687caf67 PY-72239 Make sure PEP 669-based monitoring is activated only once
GitOrigin-RevId: 3c4b0cf7747fe7ebbca442b39c3c9234e7129180
2024-05-10 12:13:11 +00:00
Andrey Lisin
b64fa0c0ae PY-72239 Minor: naming
GitOrigin-RevId: 9cda732ac490a0d80030abdd1ff9e02452d8c46a
2024-05-10 12:13:11 +00:00
Vladimir Koshelev
5c57b329cd [GTW-3331] fix trackToolWindowContents to provide all necessary values, so overloads could work correctly.
adjust listeners on python console side as well

GitOrigin-RevId: e11574e3c15988c1786d39b3c9f5b7853f431c18
2024-05-10 12:03:23 +00:00
Nikita.Ashihmin
7032ef2e1c [pycharm] PY-72340 Jupyter(feat): Support "File <file>:<line>" format for highlight of stacktraces, resolve path with ~
GitOrigin-RevId: 8ba99b238db19eaf1cf714df2ac388a649a61d88
2024-05-10 00:39:38 +00:00
Nikita.Ashihmin
204288e1fa Rename .java to .kt
PY-72340

GitOrigin-RevId: ef4fe8e66aaf0c9626ebd811a0d8c3a2220baf76
2024-05-10 00:39:28 +00:00
Vladimir Koshelev
c84cefeef8 [python] deprecate registerPythonSpecificEvent
GitOrigin-RevId: cddd6cb972c2f604bff809889aecb70a8ec3f966
2024-05-08 18:02:42 +00:00
Daniil Kalinin
788390047b PY-64326 fixes for intentions affected by reparseable PyStatementList implementation
GitOrigin-RevId: 9a5954767e062dd95d6eab02283c63b1c39fba49
2024-05-07 17:30:41 +00:00
Daniil Kalinin
19a4b1d01c PY-64326 tests for incremental parsing of PyStatementList
GitOrigin-RevId: 83e5343e9a164d92f8a5acf43b9ef0790e4a5ce3
2024-05-07 17:30:41 +00:00
Daniil Kalinin
ba6015d27f PY-64326 implement incremental parsing for PyStatementList PSI elements
These changes make PyStatementList elements (which are function and class bodies, cycle bodies, if-else branches, etc.) lazy-parseable which means they can now be reparsed without reparsing the whole file if changes are happened inside them accepted as safe

The main reason behind these changes is to improve performance

GitOrigin-RevId: 892acbe0c95fde6aec74b7595b0a58f902c426f5
2024-05-07 17:30:41 +00:00
Petr
2bbe723750 PY-42307 PyPackageAliasesProvider.commonImportAliases should be immutable
GitOrigin-RevId: 49d4ca22becf1fc341fbb60febd72bc2583cb8bb
2024-05-07 14:27:33 +00:00
Petr
41730be0d8 PY-42307 Unused field (PyPackageAliasesProvider)
GitOrigin-RevId: ca0873bf22d5d02f13b7bac55f985932be8ccc43
2024-05-07 14:27:33 +00:00
Petr
b90f8fe4c3 PY-42307 Always suggest InstallAndImportPackageQuickFix
GitOrigin-RevId: d55f2df38ba80b4936a9ceb6adf3f4b304786bef
2024-05-07 14:27:33 +00:00
Ilia Zakoulov
4e968c51e6 PY-72457: Refactor PyEnvTestSettings to automatically detect local interpeters folder
Move code from constructor to `fromEnvVariables` to enhance readibility
and be able to use other functions.

GitOrigin-RevId: 921fb0265feb3dc59f42cbf29bffdc77f5313607
2024-05-07 12:18:53 +00:00
Ramazan Dzhekshembaev
9d0e1c3b4f [fleet] FL-26094 add side effect guards for ignore and install packages quick fixes
GitOrigin-RevId: cf1b1d498823d052460b41c19af5709feb22f9e8
2024-05-06 23:23:02 +00:00
Vladimir Koshelev
8754f98cbe PY-72443 fix module => package mapping for some of the popular ml libs
GitOrigin-RevId: 962d57b87333c8c196dbd52bcfd4b5a41ba7317b
2024-05-06 15:20:45 +00:00
Vladimir Koshelev
ce5999a4af [PY-64403] move WhatsNew from rider to a platform module
Merge-request: IJ-MR-131247
Merged-by: Vladimir Koshelev <Vladimir.Koshelev@jetbrains.com>

GitOrigin-RevId: 73c9a19763d4f770d73da9223abd41368aca6a1d
2024-05-03 16:21:12 +00:00
Artem Aleksyuk
43f6c78054 GO-16784: Pull up ProjectSpecificSettingsStep.addLocationChangeListener method
GitOrigin-RevId: 6a087433c4fd721eba1edfdf2e1cb3abb66ef922
2024-05-02 19:45:49 +00:00
Ilya.Kazakevich
9f06f1a251 PY-71747: Do not fail if remote interpreter has a path with ssh:// prefix.
Some remote interpreters have `sdk#homePath` starting with `ssh://`.

Code all over the monorepo assumes that `homePath` is a local file path and tries to convert it to `Path` throwing the exception effectively.

There is a `isCustomPythonSdkHomePath` which must be used to check string before trying to convert it into `Path`

The current situation (along with "solution") is a legacy from dark ages and will be rewritten to the workspace model soon

GitOrigin-RevId: 9adc02f312667571a65ff63d4e802aa7d6dbb518
2024-05-02 14:20:44 +00:00
Ilya.Kazakevich
82f83b2945 PY-71792: Partially reverted d0fdbb16c33f14dc6aee446a3f42c0cfcd4d0b19
It turned out that `complete` might throw some exceptions. Some of them ought to be shown to user, so we got back to this excellent error processing approach.

GitOrigin-RevId: 2152cca9ddafe8d75d980347196ccf6eaf276533
2024-05-02 14:20:40 +00:00