With the package code
v1.86.2, there is an error in Jupyter notebooks when trying to select a kernel:
Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookVariableProvider.
Its package.json#enabledApiProposals-property declares: notebookDeprecated, notebookMessaging, notebookMime, notebookCellExecutionState, portsAttributes, quickPickSortByLabel, notebookKernelSource, interactiveWindow, notebookControllerAffinityHidden, contribNotebookStaticPreloads, quickPickItemTooltip, notebookExecution but NOT notebookVariableProvider.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
I fixed the issue locally by adding notebookVariableProvider
to the extensionEnabledApiProposals
for ms-toolsai.jupyter
in my product.json
file.
Could it make sense to update patch.json
from this package by also adding notebookVariableProvider
in the same place: https://aur.archlinux.org/cgit/aur.git/tree/patch.json?h=code-features#n489
Thanks!
Pinned Comments
sainnhe commented on 2024-05-17 03:39 (UTC) (edited on 2024-05-17 03:39 (UTC) by sainnhe)
About this package
This package installs a hook that will patch product.json every time the code package is updated. The patch basically does the following:
~/.vscode
and~/.Code
instead of~/.vscode-oss
and~/.Code OSS
.You might be confused why this package changes the data directory. There are two reasons:
If you don't like this behavior, simply create a symlink.
About the maintainance
I'm a vim user, and I rarely use vscode. I created this package simply for fun. And for some reasons, I'm not using Arch Linux as my daily driver anymore.
I'll continue to maintain this package for a while until my old Arch Linux machine retires. If you want to become a maintainer of this package, feel free to contact me (i@sainnhe.dev).
Updating the package is very simple, you just need to run
update.py
in the root of this repository. The script will automatically updatepatch.json
which contains the patch data.