Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive syntax highlighting of strings containing format specifiers #223

Open
roboz0r opened this issue Nov 6, 2024 · 0 comments

Comments

@roboz0r
Copy link

roboz0r commented Nov 6, 2024

Describe the bug

The code highlights the %A even though it is definitely not a format string.

let notAFormatString: string = "not%AFormatString"

Expected behaviour

Only strings that are used as format string will highlight format specifiers

Screenshots

Image

Image

Image

Environment (please complete the following information):

  • OS: Windows 10
  • Ionide version: 7.21.2
  • VSCode version: 1.95.1
  • dotnet SDK version: 9.0.100-rc.2.24474.11

Additional context

A new user was confused by the coloration when they typed a URL that contained %20A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant