Nikita Pavlenko
ab63e63ae6
PY-74366 Jupyter/RemoteDev (feat): In Remote Dev in notebooks, tables will be displayed in as html-table. Cells execution state will be synchronized.
...
(cherry picked from commit 853b332b230ffdaf6da890f105811171fd84a4ca)
(cherry picked from commit 059b813db573293afa210cd39dcc76c7d081a4b7)
IJ-CR-147319
GitOrigin-RevId: 177d11260385a3b1dc514c39a52701f585507647
2024-10-28 15:15:12 +00:00
Natalia.Murycheva
f9d6899d51
[PyCharm Tables] PY-76729 tf.EagerTensor and tf.ResourceVariable cannot be sorted in Data View #PY-76729 Fixed
...
* 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
2024-10-28 15:15:12 +00:00
Natalia.Murycheva
c347819edc
[PyCharm Tables] PY-76723 Fixed Multiple problems in CSV serialization #PY-76723 Fixed
...
* see the YT issue for more details
(cherry picked from commit 676a021e221c430c6fd3b600640d7aec1503239e)
(cherry picked from commit 5c8a478a2cc3edb148b684b48dfaf85f9d50627f)
IJ-CR-147319
GitOrigin-RevId: 3d5caa7d348861bc904335db3ff0b1edef2a17b1
2024-10-28 15:15:12 +00:00
Natalia.Murycheva
d3c97e24b0
[PyCharm Tables] PY-72208 fixed table info extracting when pandas is not installed for torch, tensorflow
...
(cherry picked from commit 80074e8429a4c881d79f5679962f4711db8561c1)
(cherry picked from commit 2829893866821fbbb2c0229abce67caa3a5e6993)
IJ-CR-147319
GitOrigin-RevId: 905af935c1d4c0dedc32a744040f4de97cc870dc
2024-10-28 15:15:12 +00:00
Natalia.Murycheva
48cd6487ae
[PyCharm Tables] PY-76675 Fixed rendering Python None values in the csv case for pandas, polars frameworks
...
(cherry picked from commit f823121ce4adc23d6e9b8e03b87b8b19a789a46b)
(cherry picked from commit 93d7530c7ce0ba60fee5d1d0e909a39ce3b9dc65)
IJ-CR-147319
GitOrigin-RevId: d6dd4a5f63f172685df3e1a1c0d3d6cbcb063071
2024-10-28 15:15:11 +00:00
Nikita.Ashihmin
7d89c85eba
[PyCharm] PY-74366 Jupyter/RemoteDev (fix): Keep command mode action handler only on frontend
...
(cherry picked from commit 5ada255740be515ddeb7237b86680630669682e6)
(cherry picked from commit faa788f65a73279c6c62539e5c468f7d984215e1)
IJ-CR-147319
GitOrigin-RevId: 2820d6df53ba458f2df2bfa2f381c3587a6b2bcc
2024-10-28 15:15:11 +00:00
Bogdan Kirilenko
a5608efc3a
[PyCharm] PY-76699 python.huggingFace module uses PythonPackageManagementListener instead of BulkFileListener to check whether any relevant HF library is installed
...
(cherry picked from commit 3d91d2d1444dd8d682d866fd79a24a6851c6214b)
(cherry picked from commit 3343a64ec240926532e793e16ace55be6bfe4010)
IJ-CR-147319
GitOrigin-RevId: 304e4d25c5a2ee57333c4dccf641126ab55a0554
2024-10-28 15:15:11 +00:00
Nikita.Ashihmin
4c88de60ff
PY-76662 Jupyter(fix): Add ability to force save document changes even if document is not changed
...
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
2024-10-28 15:15:11 +00:00
Nikita.Ashihmin
8beae300b4
[PyCharm] PY-74366 Jupyter (refactor): Refactor JupyterCommandModeActions, remove use delegate actions
...
(cherry picked from commit f8f52837594539b04b6a8c2f0d9c011cac1d3a52)
(cherry picked from commit 51621231af852333aad204797ca8b5801a2b254d)
IJ-CR-147319
GitOrigin-RevId: 7a56e7d579258afc964be00c0f468f9f087a7c3e
2024-10-28 15:15:11 +00:00
Natalia.Murycheva
df0ad5da47
[PyCharm Tables] PY-72208 fixed the missed parameter during refactoring
...
(cherry picked from commit 67f798c44f0ce5cc3effdc452750ffee9d18bc5f)
(cherry picked from commit 6cb9a806ad46f4e855c9fa3caa14ec1eee9f91a8)
IJ-CR-147319
GitOrigin-RevId: 507e62dcf37fa46e5dfb2cb4f0249cec0a2cb054
2024-10-28 15:15:11 +00:00
Natalia.Murycheva
d61525e4a1
[PyCharm Tables] PY-75937 reduce the amount of extracted data that is not used in parsing
...
(cherry picked from commit 4ffc7411ebfab7d7544a616d04ad44025a5d7d02)
(cherry picked from commit 0960a4c22129641fb5ba2195b05c6a2e5c45926a)
IJ-CR-147319
GitOrigin-RevId: 37c0d6641191b48230ad03d000e2ee55e76c8443
2024-10-28 15:15:11 +00:00
Nikita Pavlenko
b97b90e46d
[PyCharm] PY-76277 Jupyter (fix): Restored muted test in JupyterMoveCaretsHorizontallyInEditModeTest.
...
(cherry picked from commit 4a0ba695d979df8a04fba5d5c9a55750bef9ddfe)
(cherry picked from commit 765a8f6b4ebd73af408644397add1c198657ca05)
IJ-CR-147319
GitOrigin-RevId: d88b2e930b567e3b70a9550fac4cde7bc6828d7a
2024-10-28 15:15:10 +00:00
Nikita Pavlenko
8514cdbb1a
[PyCharm] Jupyter (refactor): From EditorCell removed 'mode' and NotebookCellInlayManager lost subscription to NOTEBOOK_EDITOR_MODE. #PY-76627 Fixed
...
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
2024-10-28 15:15:10 +00:00
Anton Efimchuk
5bf8a16266
PY-75948 [Jypyter] Restore destroyed inlays after edit
...
(cherry picked from commit 948f8885dd3ec8958ab495fb2e6506e5899759a4)
(cherry picked from commit f7d2159f71bdb66460abc639b4a8f73093b1cde5)
IJ-CR-147319
GitOrigin-RevId: 855755003147e51d3a4db4e42de2c6b8286ac9af
2024-10-28 15:15:10 +00:00
Bogdan Kirilenko
d8f4c3b0ef
[PyCharm] PY-75896 Improved appearance of jupyter diff - showing cell markers and separators
...
(cherry picked from commit 63fe10754c073b9b3ab74df5b619165af4ba8bca)
(cherry picked from commit 4c7c25a45e2fa789ef5bc13ec0ab16aba3373fb7)
IJ-CR-147319
GitOrigin-RevId: 6ed8e098b92c3a724c7d5b62e287d661bb082847
2024-10-28 15:15:10 +00:00
Ilia Zakoulov
a7b3aaec00
PY-76629: Do not resolve bundled stubs when the package is not installed
...
The implementation is very similar to the PyTypeShed,
it should be merged into more general solution.
GitOrigin-RevId: 1449a774e93206349f17f264c27e2a7877d79b19
2024-10-28 14:57:57 +00:00
Ilia Zakoulov
948779f507
PY-76629: PY-76714: Handle empty string of bundled stubs path
...
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
2024-10-28 14:57:57 +00:00
Ilia Zakoulov
ab53444089
PY-76629: Get rid of Django skeleton tests
...
GitOrigin-RevId: e96b82a3bcba484a5321c54cd15ff755dd7e276d
2024-10-28 14:57:57 +00:00
Ilia Zakoulov
6439b63a2d
PY-76629: Get rid of django skeletons
...
GitOrigin-RevId: 3554062045a5226a95720ae3577af2313a8ce5ff
2024-10-28 14:57:57 +00:00
Ilia Zakoulov
4e6eefa61e
PY-76629: Refactor completeBasicAllCarets to make it more understandable.
...
With two charToType it is more clear to understand the behaviour of the `completeBasicAllCarets`.
GitOrigin-RevId: a87af2ffdfea7b9d3c9332dacd9a36f1a1346fa7
2024-10-28 14:57:57 +00:00
Ilia Zakoulov
91f27d8587
PY-76629: Suppress PyProtectedMemberInspection if a member is defined in .pyi
...
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
2024-10-28 14:57:57 +00:00
Ilia Zakoulov
214f894da3
PY-76629: Introduce new argument typeCharIfOnlyOneCompletion for completeBasicAllCarets.
...
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
2024-10-28 14:57:56 +00:00
Mikhail Golubev
d69f93c593
PY-76629: Fix DjangoViewNameCompletionTest.testViewNameCompletionInMethods
...
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
2024-10-28 14:57:56 +00:00
Mikhail Golubev
20b2e20d26
PY-76629 PY-39761 Don't type check __class_getitem__ arguments inside type hints
...
GitOrigin-RevId: 060a2952d49777bff9853a2d5bc4d257271e559e
2024-10-28 14:57:56 +00:00
Aleksei Kniazev
732cd5275a
PY-76629: [python] moved bundled django-stubs to helpers-pro package
...
GitOrigin-RevId: 24543c7c6249bd7ae8eac0cb6140754b5126858c
2024-10-28 14:57:56 +00:00
Aleksei Kniazev
f985a175df
PY-76629: [python] bundle django-stubs, add them to the interpreter path and turn off stub suppressor
...
GitOrigin-RevId: 044f50f973193d54ea361d3c9b2d64ee3b83974a
2024-10-28 14:57:56 +00:00
Gregory.Shrago
d0d015c29c
IJPL-162835 "Open project windows" popup keeps focus
...
(cherry picked from commit 92c95c7713cf5e5d5fac8065b474db72ef2559f7)
IJ-CR-147855
GitOrigin-RevId: d16f68881627168fbe81c1d8ad938ae7f8205af2
2024-10-28 14:41:15 +00:00
Vera Petrenkova
e14b11fb91
IJPL-165056 Improve enum naming in FUS for Windows Defender
...
(cherry picked from commit 95150c6a6990db75b4a52d3ff08575f3af93866c)
GitOrigin-RevId: 793db9b98ca3bb4f7afaa22f3d1ae5fc9a91b79c
2024-10-28 14:41:07 +00:00
Vera Petrenkova
f718f8b45b
IJPL-165056 improve FUS collection for Windows Defender exclusions in Trusted locations
...
(cherry picked from commit 20f3f841b57be063d5d36299239ecf21f966674a)
GitOrigin-RevId: 0c9add594af8b57d3aa55521f7b03d4fba6e3e62
2024-10-28 14:41:07 +00:00
Vera Petrenkova
f45c3df3a8
IJPL-165056 Add FUS for Windows Defender exclusions in Trusted locations
...
(cherry picked from commit 1434325b8096893fe668f0e01e2360cef4d8c551)
GitOrigin-RevId: 86b86d595cedc45c2289b5378e3b6d322ba19e1e
2024-10-28 14:41:07 +00:00
Kirill.Karnaukhov
05210b8dee
[inline-completion] IJPL-161906: propagate intellij.platform.inline.completion to the platform main
...
(cherry picked from commit 44f9a3649df3cd074fbf8d43a1145ca7f0a95e2f)
IJ-MR-147762
GitOrigin-RevId: cea1b5a9a3d512a9ad65d6e4ca4324d053b18d7a
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
c6fb9a7efe
[inline-completion] IJPL-161906: add docs for InlineCompletionFilteringEventListener
...
(cherry picked from commit 0f2733053df1523237ddb17a979f806379bc5973)
IJ-MR-147762
GitOrigin-RevId: 11c5a03fafe229b07fd1efa42e04d0536dc18206
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
d4c591aed8
[inline-completion] IJPL-161906: use FinishType and EffectType in RPC calls directly
...
(cherry picked from commit 0b78a6551922465f9f41f63d2cbdab1bee94a77c)
IJ-MR-147762
GitOrigin-RevId: 6142cdef5cff7590d525997b5fedd34072b691a7
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
9076a2e253
[inline-completion] IJPL-161906: make FrontendInlineCompletionHandler shared
...
(cherry picked from commit a14fc54fac3b56d7370fe64ea9f63a12c38f081b)
IJ-MR-147762
GitOrigin-RevId: e0140ab89f1fd9d5f75938572f53c57999a9c505
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
af3d6f0506
[inline-completion] IJPL-161906: document BackendInlineCompletionHandler
...
(cherry picked from commit 2fcd5ab743686e31141b99f10c42c141e4c7b8fb)
IJ-MR-147762
GitOrigin-RevId: 869bea5cd7d5b8f793c58e746281d12138777ca0
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
c6b33c9ec5
[inline-completion] IJPL-161906: do not register all the inline completion listeners on backend
...
(cherry picked from commit 7f45dc74717ce54565a3eb79a07a5a622af17075)
IJ-MR-147762
GitOrigin-RevId: b4e71aa97550cc47b8155c8466f09ea654e81673
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
ffaf9c1a5c
[inline-completion] IJPL-161906: end session when all elements are empty
...
(cherry picked from commit 22a3fdeb36919f63710e26adafc1dd84d4242614)
IJ-MR-147762
GitOrigin-RevId: ff9c8ad42a0bb782bfc2fe2cd3c64cfd9e21ebfc
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
4c2d3a99d2
[inline-completion] IJPL-161906: do not log FrontendInlineCompletionProvider
...
(cherry picked from commit 92cc8fc52b44836b09e235120fbe0574451db87f)
IJ-MR-147762
GitOrigin-RevId: 47e7ab9154d773bbc83d72b809fe7aa1dd4a4680
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
d1c6f91174
[inline-completion] IJPL-161906: make feature flag require restart
...
(cherry picked from commit fe8fb087d0f42adb9e1235c11107d97b2afc67b9)
IJ-MR-147762
GitOrigin-RevId: 76163d3d93514e8e9b6f5fca8996e3493c3792d6
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
22fba279bf
[inline-completion] IJPL-161906: support 'switch variants' actions
...
(cherry picked from commit 43efaf041fcdd4d8da240d99ee594d82d6dff97f)
IJ-MR-147762
GitOrigin-RevId: edc3416f027db3781929ea3df7035832654a09dc
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
b6da335113
[inline-completion] IJPL-161906: support 'virtual line ending' element
...
(cherry picked from commit 14b2ae43fd0b0b5b3d76a3bfa58db9ee5ca974b0)
IJ-MR-147762
GitOrigin-RevId: 8b5451c3bdefe986cbbef152be3ccc9147bcb2a2
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
2ae85bffdc
[inline-completion] IJPL-161906: support 'inline shortcut hint' element
...
(cherry picked from commit 75e23acede488ac6cc44680699a30c04745da326)
IJ-MR-147762
GitOrigin-RevId: d2214712c2fbe180498c4bba13d175dab1dd371d
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
3dd22640ca
[inline-completion] IJPL-161906: properly render backend provider name and show tooltip actions from backend
...
(cherry picked from commit ad475acfd3114acff288f33afcdf2f3ce005e984)
IJ-MR-147762
GitOrigin-RevId: 4659e28e7ec8fe694581cc119ffa14a1db99feb3
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
0d0a9876ee
[inline-completion] IJPL-161906: refactor InlineCompletionSessionId and do some TODOs
...
(cherry picked from commit 3f1f068c5101b6e07c92e7e66138e362161f378c)
IJ-MR-147762
GitOrigin-RevId: 631e5434ecb8baa7a507d577df25c4dbabad9bb1
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
9f96a9d81a
[inline-completion] IJPL-161906: forbid too broad customization of suggestion updaters in RemDev
...
(cherry picked from commit 036b9d981d5f7e98cb100e67f38e7121b9fde2b8)
IJ-MR-147762
GitOrigin-RevId: 12d736b99f083b0240373d7a45d9220a578cdc86
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
e6b322b087
[inline-completion] IJPL-161906: check locality of a client instead of AppMode
...
(cherry picked from commit 8b096daa1788cdacb3fef2986e0c6f39abcb56e8)
IJ-MR-147762
GitOrigin-RevId: 395af99862f4b3e659d6e2ec2143ed44eaed4eae
2024-10-28 14:25:23 +00:00
Kirill.Karnaukhov
b752386d9c
[inline-completion] IJPL-161906: test event listeners
...
(cherry picked from commit e8448da9d7d51da97c550860da24640914b33dfa)
IJ-MR-147762
GitOrigin-RevId: d82442976e2a06242488e22710d81e180ae7206f
2024-10-28 14:25:22 +00:00
Kirill.Karnaukhov
77430c0e6c
[inline-completion] IJPL-161906: initialize the right number of variants when using backend provider
...
(cherry picked from commit 2f8f2f86262ebdf2069adc2073706aad9a68a919)
IJ-MR-147762
GitOrigin-RevId: 08a988217f12fd68f3ec71d1e4ed3a2b5a1cf977
2024-10-28 14:25:22 +00:00
Kirill.Karnaukhov
a7772128b7
[inline-completion] IJPL-161906: fix ApiCheckTest
...
(cherry picked from commit a4315003b7e57e9d52320190ddfabe2025541ca0)
IJ-MR-147762
GitOrigin-RevId: 083f8bfb58380aa196ab7d6462f6131a3d94aebb
2024-10-28 14:25:22 +00:00
Kirill.Karnaukhov
e914cabe71
[inline-completion] IJPL-161906: properly register EP for InlineCompletionHandlerInitializer
...
(cherry picked from commit 9a52632fe8b2088a8c79deb575ea70050278c82d)
IJ-MR-147762
GitOrigin-RevId: 67c8eead5020325c007192c21d8c2d341f4cd78f
2024-10-28 14:25:22 +00:00