The problem is new tool window not always used, so we need to support legacy UI somehow. It can't be run on top of new logic, hence we fall back to the old conda approach until we get rid of old UI.
GitOrigin-RevId: dcb892718b0daf0bfcdf58e8448d1894ab40e4f9
Control flow now abrupts on `exit()` and `pytest.fail()` calls
Control flow now abrupts only if class which contains `self.fail()` call contains case-insensitive "test" word in the name
Merge-request: IJ-MR-96165
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com>
GitOrigin-RevId: ea173fdb72a10a373cd95f266ea7589e36545f30
Since origin and backed notebooks have different representations,
a separate filesystem called backed.NotebookVirtualFileSystem is implemented to make backed notebooks indexable.
This filesystem mirrors local one providing only directories and ipynb files.
All file events are synced between these FS via NotebookAdditionalVfsEventsProvider.
New NotebookVirtualFileSystem is embedded into code insight via content roots
that duplicate original content roots.
NotebookDirectoryScopeEnlarger is introduced to have correct `Find in Files...` for directory.
Since backed.NotebookVirtualFileSystem does not inherit LocalFileSystem,
NotebookTodoExtraPlaces was introduced to enable Todo indexing for ipynb files.
GitOrigin-RevId: d0e13334f66929b3f16289997d25770b21cf0bbb
Fix pycodestyle-violating alignment in multiline binary statements in return and yield expressions
Fix pycodestyle-violating alignment in multiline tuple expressions in return, yield and assignment expressions
Tests for it
Merge-request: IJ-MR-35686
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com>
GitOrigin-RevId: 989b4f4aeb61b43d3215a0ad74f7a9d9685464b8
Each sdk has additional data with flavor and flavor-specific data. For target-based SDK there is also target information. ``PySdkExt`` has extension method that uses this data to execute code on some SDK. For Conda we store path to conda binary and env name.
GitOrigin-RevId: c63b57aac9b5a267b3a6710902670bfe7d10c722
PY-33341: Now we render the “Attributes” section in the class documentation, it also allows to describe inherited attributes. (Previously we didn’t render it at all)
PY-56416: In the attribute documentation popup we are able to render attribute description from class docstring. (Previously we took documentation only explicitly from attribute one-line docstring)
PY-33341: We render the “Parameters” section in the class documentation for init parameters, described in the class docstring. (Previously user couldn't use class docstring to describe init parameters)
PY-28900: For the init parameter documentation we take the description from the class docstring if init doesn't have its own docstring. (Previously we took parameter description only from init docstring)
GitOrigin-RevId: d67bf49c72cf7a3634805a6e310c943f1ea848d1
Now during resolve if there is no class/instance attribute with appropriate name explicitly in the class, we will try to find it in the parent classes and resolve there.
GitOrigin-RevId: 52ab5f0ad63cba187457ba3db6107997ede33dee
Now when parse docstring we take into account the block type. For OPTIONAL_TYPE sections such as Returns and Yields we don't require additional indent for lines following the summary.
GitOrigin-RevId: 5dd7adf5f9042204a29b731a3a7379cc3c743af9
``DjangoProjectCreatorAndConfigurator`` uses ``PythonTask`` which wasn't aware of targets and cast additional data to the legacy remote additional data -> CCE.
It now provides limited support for targets API, although we better get rid of it and migrate to the native targets api.
Merge-request: IJ-MR-94386
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com>
GitOrigin-RevId: 624fed3ff5e64133e6baa665a4a63bbbe1e0c825
DontSimplifyStatementsWithConstantInTheMiddleQuickFix was not preview friendly (also did not support undo)
Fixes EA-653089 - SEGSENAE: SideEffectGuard.checkSideEffectAllowed
GitOrigin-RevId: 0a6a3afdd6b96c707ee127b8429ef127afb01954
Precise types can be inferred only over AST if it's accessible.
I had to move PyStdlibTypeProvider higher in the provider's hierarchy
so that it could override types coming from Typeshed, otherwise we
infer enum.property type for the "value" attribute.
GitOrigin-RevId: 8727e080cfc06d0edda13eccfd601601dc661da9
DirectoryIndex is an internal API and isn't supposed to be used from plugins. Its API may change while we are working on updating the underlying structures incrementally (IDEA-276394).
GitOrigin-RevId: f87471f9a0352edea82b03d0ca5baad117094a75
Previously in docstrings we incorrectly recognized references in 'Attributes' section only as instance attribute references. It led to false positive 'Unresolved reference' on class attributes references in docstrings and wrong resolve when using class and instance attributes with the same names. Now we use ReferenceType.VARIABLE to identify both class and instance attribute references in 'Attributes' section and then resolve them with priority of instance attributes. Also fixed wrong resolve of attributes references to constructor parameters.
GitOrigin-RevId: ea10bfb092472c0ab14b77f06efd93093cfcd684