You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for testing warning message and setting for smart send!
Background Information
In some scenarios, users have deprecated Python code (such as Python 2) code or other language code (such as Rust) in their Python file. Python AST that is used for Smart Send logic (where we smartly figure out minimum executable code in a given Python file) fails to parse and compute the logic for deprecated and invalid Python code.
In that case, we would want to let user know that Python is unable to parse their currently opened Python file and hence unable to use smart send feature.
We also want to provide readily accessible button that user can press to simply disable the Smart Send feature, and provide option for them to change that in the extension user&workspace setting.
Setup:
Make sure to have latest version of Python extension installed.
Make sure you have Python in your computer
Steps
Open or create a Python file
Try writing some deprecated, invalid Python code or inserting some other language code in your Python file.
Shift+enter and see if you get the warning message and a button to disable Smart Send
Press on the button and shift+enter again to see if that disabled Smart Send
Description on what Smart Send does is provided here: #21778 and #21838
Thank you for testing!
The text was updated successfully, but these errors were encountered:
Refs: #22340
Complexity: 3
Create Issue
Thank you for testing warning message and setting for smart send!
Background Information
In some scenarios, users have deprecated Python code (such as Python 2) code or other language code (such as Rust) in their Python file. Python AST that is used for Smart Send logic (where we smartly figure out minimum executable code in a given Python file) fails to parse and compute the logic for deprecated and invalid Python code.
In that case, we would want to let user know that Python is unable to parse their currently opened Python file and hence unable to use smart send feature.
We also want to provide readily accessible button that user can press to simply disable the Smart Send feature, and provide option for them to change that in the extension user&workspace setting.
Setup:
Steps
Description on what Smart Send does is provided here: #21778 and #21838
Thank you for testing!
The text was updated successfully, but these errors were encountered: