Argument completion for literal values #1497
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Pylance doesn't suggest literal values when you input the opening parenthesis of a function call:
With TypeScript this is what it looks like:
If you start inserting double quotes Pylance doesn't suggest the remaining characters:
With TypeScript this works:
If you omit the quotes and start writing the content of the string Pylance doesn't show the suggestions first:
TypeScript handles this a bit better:
Also there's a problem with this use-case, when you select one of the suggested completions the string is inserted after the cursor instead of replacing the initial prompt:
With TypeScript the suggestion is inserted properly and replaces the initial prompt:
The text was updated successfully, but these errors were encountered: