-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Extension 'ms-python.python' CANNOT use API proposal: terminalDataWriteEvent. #24013
Comments
Hi @milad2golnia Thanks for filing the issue. |
Hi @anthonykim1 Thank you for your response.
Also I tried to start VS Code with
|
@milad2golnia I see, could you give this a try on the latest insider version of VS Code? I've looked through if we forgot to register this terminalDataWriteEvent in our side of things, and looked fine. |
@anthonykim1
So why I get that error in stable version of VSCode? Can you guide me how can I fix it? |
I tried to debug more.
According to error message, I looked at
Except
And here is
As you can see, the list of
@anthonykim1 Can I provide more information? |
OK, I finally resolved the problem. Here’s what I did:
I don't think this is the correct solution, and modifying the |
Ran into the same issue today. I had to fix it by manually adding "terminalShellIntegration" to the enabledApiProposals in the exntensions package.json. Downgrading to the previous version of the extension and there are the SAME issues |
Doing a comparison between the VS Code 1.92.0 and 1.93.0 under - "ms-python.python": ["contribEditorContentMenu", "quickPickSortByLabel", "portsAttributes", "testObserver", "quickPickItemTooltip", "terminalDataWriteEvent", "terminalExecuteCommandEvent", "contribIssueReporter", "terminalShellIntegration"],
+ "ms-python.python": ["contribEditorContentMenu", "quickPickSortByLabel", "portsAttributes", "testObserver", "quickPickItemTooltip", "terminalDataWriteEvent", "terminalExecuteCommandEvent", "contribIssueReporter", "notebookReplDocument"], Seems like this would have started happening after updating to 1.93.0. Based on https://code.visualstudio.com/api/advanced-topics/using-proposed-api , proposed API are not available outside of insiders release (declaring the feature in Update: Whoops, looks like |
Type: Bug
When starting vscode in a python project, the Python extension raises following error and stays in loading state. Previously it was working fine but today I just noticed this problem.
Extension version: 2024.12.3
VS Code version: Code - OSS 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-07T07:53:34.265Z)
OS version: Linux x64 6.1.94-1-MANJARO
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
The text was updated successfully, but these errors were encountered: