bump agent version to 1.0.763
(cherry picked from commit 8328b2accaa15ac853438dbcc39b28da94cfb429)
IJ-CR-147328
GitOrigin-RevId: 3dc2a7065ed4aaa369ce1edc63a25ee48b198f12
We exclude `isEmpty` until KT-72305 is fixed and
it is supposed to be the default behaviour
Hence, we should not ever store it to the settings or allow users to
modify or remove it, because it should be transparent
to the users
(cherry picked from commit fbe5dc2f3aa748d780e98bb038629fe5e20b7922)
IJ-CR-146866
GitOrigin-RevId: ae6f5f100f94782958c29a8d6c7ef495072fafd2
- Fix check for inheritance in case of Fleet or other coroutine framework.
- Make tests stricter.
- Mark new Application API as internal and experimental, as ot is needed only for this code and should not be used in other places.
(cherry picked from commit 63798b6160ca5963499ae066db149d3b2af6017d)
IJ-CR-147289
GitOrigin-RevId: 700746a8c9590945893ef389f2c86724eb8a83d5
- Put lock state into coroutine context in `runBlockingCancellable`.
- Use lock state from context if thread local is empty.
- Fix tests which become not valid in new mode.
- Add tests for new functionality.
- Add feature flag to enable this new mode by default.
Feature flag: `-Dide.store.lock.in.context={true|false}`. `true` (new mode) is a default.
Merge-request: IJ-MR-146415
Merged-by: Lev Serebryakov <Lev.Serebryakov@jetbrains.com>
(cherry picked from commit 49b4f448f652a2b074501f0cc6fca047cd4d5a8b)
IJ-CR-147289
GitOrigin-RevId: a13959a241fd939dbe71ba52135362c30ff81b59
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
The UI of the VCS popup that opens on a gutter click was changed in the scope of IJPL-161089.
(cherry picked from commit b5f7ed13c1730f3bf20394c32703bb150a3cbe87)
IJ-CR-147744
GitOrigin-RevId: 7265137bb6829960f1f96e80d71ee55d9124240d
The `toString` method result of the node was changed in the implementation.
(cherry picked from commit add04d32d06998a9a357e305340a7507c3d9dceb)
IJ-CR-147744
GitOrigin-RevId: 3e0804a8bda21ccea314d84a0d440f24ee555b64
Do not use `editor` property from the runtime context because it can throw an exception (and then warning in the Learn panel) if currently selected editor is null.
Because of the platform implementation, selected editor can be null at the moment between switching the editor tabs.
(cherry picked from commit dc3afe43eb8be4ff8e7993a0da35093577e2f118)
IJ-CR-147744
GitOrigin-RevId: 37571fa1905b762c6e3c8b2d6bad09ce9af6fdbb
It happened in the Java version of the lesson.
(cherry picked from commit e8eee237f0c5d18bc34e34311216402f3215920f)
IJ-CR-147744
GitOrigin-RevId: b82fcc70afad11096af998445f1c97d13c3e4a6c
Used only by Vim plugin in Rider where actions are performed asynchronously. The plan is to support `AnActionListener` contract properly in Rider.
(cherry picked from commit cfda3da27d37a92cf887e7865fcebb436161169f)
IJ-CR-147856
GitOrigin-RevId: 6c4ff5906d3afb9ccf1258903a5be12ddb50a150
* 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
We need to do it because in jupyter a lot of infor especially outputs are not in document but in metadata
(cherry picked from commit 0fe7ce59b7e9d64f5a03080c1f4ce9a0dc7c121f)
(cherry picked from commit 2007b95711b213a014d7be2b349989b04ca7ed24)
IJ-CR-147319
GitOrigin-RevId: 6945f3b7f07e6147281423c2e8bd1c3d0899526a
Also small refactor of HeadingInfo and a system of extensions in EditorCell.
(cherry picked from commit c7817c899947c94aa7d288d757cb6b642941414c)
(cherry picked from commit a2a93f22e6a6d264785a9ea236b1689bd69b88cf)
IJ-CR-147319
GitOrigin-RevId: e99bfb9ce00f69cf3679b0f3f12ca06e9d7d1a24
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
With two charToType it is more clear to understand the behaviour of the `completeBasicAllCarets`.
GitOrigin-RevId: a87af2ffdfea7b9d3c9332dacd9a36f1a1346fa7
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 are a few tests that provides `charToTypeAfterCompletion = "\t"` to complete the first variant.
It makes tests "ditry" - somewhere in tests you have to check that "\t" is present after completion,
somewhere "\t" is not present because it completed the first variant.
This argument allows to avoid adding unnecessary `charToTypeAfterCompletion`
when there is only one completion variant that is already completed.
GitOrigin-RevId: a11c407f6033a8181a9eb8cb37e00f0320d26005
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