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
configure Pylance extension in settings.json with "python.analysis.inlayHints.functionReturnTypes": true,
open a new file
paste the code
double click the inlay type hint
Expected behavior
The type hint should import Callable and fill in the type hint
Actual behavior
As you can see, double clicking to insert the type hint adds it as a comment. Repeatedly double-clicking keeps appending a new comment onto the end of the line.
Environment data
Code Snippet
Repro Steps
settings.json
with"python.analysis.inlayHints.functionReturnTypes": true,
Expected behavior
The type hint should import
Callable
and fill in the type hintActual behavior
As you can see, double clicking to insert the type hint adds it as a comment. Repeatedly double-clicking keeps appending a new comment onto the end of the line.
default.C__Users_8J3434897_Desktop_test.py.2025-01-02.11-58-41.mp4
Logs
No logs to show.
The text was updated successfully, but these errors were encountered: