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
single_line_f_stringf'''nothing{'to see'}here'''multi_line_f_string=f"""firstlinelooksfine{'uh oh'}nowthehighlightingisbrokendownhere :("""
also="it's broken highlighting for everything after"four=2+2
Reproduction Steps
Configure an editor using the built-in python language
Enter a multi-line f-string which has an expression after the 1st line
Actual (Problematic) Behavior
The portion of the f-string after the expression is highlighted as python code instead of a string, and then the closing f-string delimiter causes code after that to be highlighted as if it were a string
Expected Behavior
Self evident
Additional Context
I believe this was added with #4401, which notably does not have multi-line f-strings in its test coverage.
The text was updated successfully, but these errors were encountered:
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
Link
Monaco Editor Playground Code
Reproduction Steps
Actual (Problematic) Behavior
The portion of the f-string after the expression is highlighted as python code instead of a string, and then the closing f-string delimiter causes code after that to be highlighted as if it were a string
Expected Behavior
Self evident
Additional Context
I believe this was added with #4401, which notably does not have multi-line f-strings in its test coverage.
The text was updated successfully, but these errors were encountered: