These lessons expect that `Current File` run configuration is available, but it is not enabled in Aqua.
(cherry picked from commit 0412925c501f3234444702c5f6657078e83d5f30)
IJ-CR-147744
GitOrigin-RevId: 67df76f1c9a5e71eaac90465944e7b894a47fd67
* In case of sorted table, we get a dict for numpy and numpy_based tables. After that, we should extract a specific type of table and define the right python_code_provider. For tf.EagerTensor and tf.ResourceVariable tables the wrong python_code_provider was selected
(cherry picked from commit 62596418a8ac942136379f814bfdac57b60b697a)
(cherry picked from commit 8c9d39f2e82a64d3794fd84d50c255f15becb8b9)
IJ-CR-147319
GitOrigin-RevId: 939dbaa2d97812cd8a040d0fc22fc33cbed800ad
* see the YT issue for more details
(cherry picked from commit 676a021e221c430c6fd3b600640d7aec1503239e)
(cherry picked from commit 5c8a478a2cc3edb148b684b48dfaf85f9d50627f)
IJ-CR-147319
GitOrigin-RevId: 3d5caa7d348861bc904335db3ff0b1edef2a17b1
The implementation is very similar to the PyTypeShed,
it should be merged into more general solution.
GitOrigin-RevId: 1449a774e93206349f17f264c27e2a7877d79b19
findPathStringInHelpers might return an empty string,
that will be equal to the home path,
that will lead to indexing of the home directory.
GitOrigin-RevId: e800896a4c0631844a7b7a3a79334c3853a30c32
Protected member should not be highlighted as a warning if it resolves to .pyi file.
We assume that everything in .pyi file is a public API.
GitOrigin-RevId: c8275f3e48e3cd69b1676de9b78606f28ea224c8
There were two underlying problems in Kotlin code:
```
run { DjangoFQNamesProvider.ACCEPTS_VIEW_NAME.isNameMatches(this) } != null
```
returned true regardless of the result of `isNameMatches(this)` call.
As a result, we used to suggest Django view names for *all* functions called
"reverse", "redirect" or "reverse_lazy".
Secondly, in FQNamesProviderExtKt.isNameMatches:
```
return getQualifiedNames().any {
return it.firstComponent == elementQualifiedName.firstComponent &&
it.lastComponent == elementQualifiedName.lastComponent
}
```
always returned the result of comparison with the first qualified name, ignoring the rest
due to non-local return from the inline `any`.
Finally, DjangoUrlViewProvider.isReverseFunction expected a PyFunctionType as the type
of reverse/redirect/reverse_lazy, but since these functions have overloads in .pyi
stubs we started to infer a union type of PyFunctionTypes for them, breaking the reference
provider. In general, it's better to perform a name resolution instead of type inference
to detect a fully qualified name for a reference.
GitOrigin-RevId: 69949b1b0e65f00557536cf16127279a83ea4f9d
Fix poetry executable detection for the "Add new local interpreter" panel.
There was a problem in `ModalityState`, which prevented updating `state.poetryExecutable` from EDT.
Merge-request: IJ-MR-147485
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>
(cherry picked from commit 43a807c20f8572bcf570121792269d6ee0c67acd)
IJ-MR-147485
GitOrigin-RevId: fab1de5a2a55e62ff66790defb033b7745259dc5
Artifacts of PyCharm Community published by JetBrains include additional proprietary plugins. It's better to use the same layout when running PyCharm Community from sources using 'dev build' to make dev build more similar to production (we do the same when running IDEA Community using dev build). This is also needed to allow testing these additional plugins in PyCharm Community (see RDCT-1407).
So code from 'PyCharmBuilder.createBuildContextForCommunityProduct' was extracted to a separate 'PyCharmCommunityWithProPluginsProperties', and this class is now used when running using 'dev build'. This also fixes PY-72924, because 'IdeBuilderKt.createProductProperties' passes the path to the ultimate project home to the constructor of ProductProperties class, so before 'PyCharmCommunityProperties' bundled incompatible plugins from plugin-list.txt from PyCharm Professional.
GitOrigin-RevId: f5c66ff7449d1dacdf6e8156d9f274d594e648df
Deprecated APIs which still have internal usage are marked as internal to ensure that new external usages won't appear.
GitOrigin-RevId: 09818b884851d7b768f8ee0f356f982e79b46ed9