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
Nikolay Chashnikov
42b2cd3e14
mark members used from other modules as public and add @ApiStatus.Internal annotation to them instead (IJPL-149126)
...
This is needed to avoid 'IllegalAccessError' if different modules are loaded by different classloaders.
GitOrigin-RevId: 99113e2a8bee471332174bd2710eccf9b47ebb67
2024-05-02 08:45:51 +00:00
Nikolay Chashnikov
c39556d80e
[python] add special access method to PyPackageManager to avoid incorrect usage of protected methods (IJPL-149126)
...
'getSdk' and 'shouldSubscribeToLocalChanges' were called not from a subclass, so they were actually used via 'package private' visibility. And this will fail with IllegalAccessError if intellij.python.community and intellij.python.community.impl are loaded by different classloaders.
GitOrigin-RevId: 6e2f779063ae9fc188b60b3d52bb5cbe6fe496a9
2024-05-02 08:45:44 +00:00
Nikolay Chashnikov
e9671e99c7
cleanup: move TestEnv out from com.jetbrains package
...
It would be better not to place any classes in such a generic package. And it also causes red code due to IDEA-352819, so this needs to be fixed to allow enabling "Good code is red" inspection in "Zero Tolerance" checks.
GitOrigin-RevId: d0edae5ceda7e95fe3b2b9726e5c3996ded149ca
2024-05-02 08:45:06 +00:00
Nikolay Chashnikov
b4df0488a0
cleanup: don't use private class in signature of CustomFoldingSurroundDescriptor.getAllSurrounders
...
This is needed to work around for IDEA-352818 to allow enabling "Good code is red" inspection in "Zero Tolerance" checks.
GitOrigin-RevId: a058e15624e39c3faa649df20bd4f7c20be5faaf
2024-05-02 08:45:01 +00:00
Andrey Lisin
705043e00a
PY-72239 Reenable Python 3.11 and 3.12 for stepping tests where they were previously disabled
...
GitOrigin-RevId: 644639857cb6be26ddac76615f68c0718f05be58
2024-05-01 13:59:37 +00:00
Andrey Vokin
60aa7ae2d3
PY-71972 "Go to declaration or Usages" doesn't work for instance fields from the constructor.
...
TextOffset is used to retrieve target element here: TargetElementUtilBase#getNamedElement.
GitOrigin-RevId: 5c9d721e6870079e4bf86ab7e5c8efb0be5810b0
2024-04-30 16:17:53 +00:00
Egor.Eliseev
6c926e9a53
PY-35986 Allow a user to run doctests with pytest
...
Fix failed test
Fix doctest rerun test action
Small refactoring
Merge-request: IJ-MR-131720
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com >
GitOrigin-RevId: 355ea19b6f055ad501a34ce27b1f7f5438fa6dc1
2024-04-29 22:04:26 +00:00
Andrey Lisin
5537341b76
PY-72239 Fix Python 2.7 smart stepping for some cases
...
GitOrigin-RevId: c2baa98e4514fec5e3b9a034b61a5ca3e1d2eb5d
2024-04-29 20:00:32 +00:00
Vladimir Krivosheev
3efe3553ff
IJPL-148294 mark classes as internal, fix IntelliJProjectPackageNamesTest
...
GitOrigin-RevId: b8848d23cb161f066a3737e051087aa1272554e1
2024-04-29 15:46:03 +00:00