Skip to content

Weird parameter hint issue with python f-string #638

@jerrykal

Description

@jerrykal

Environment data

VS Code version: 1.19.3
Python Extension version: 0.9.1
Python Version: 3.6.4
OS and version: macOS 10.13.3

Actual behavior

When I had the f-string like print(f"{}") typed in, the parameter hint keep shows up even when the cursor is outside of the function call.

screen shot 2018-01-26 at 6 34 45 pm

Expected behavior

The parameter hint should disappeared automatically when the cursor is moved outside the function call.

Steps to reproduce:

  • Turn on the parameter hint if you didn't
  • Type something like print(f"{}") and move the cursor outside of the ) and you will see what's happening

Metadata

Metadata

Labels

area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions