Python raw strings are not being colored properly
Describe the bug Python raw strings are not being colored properly.
To Reproduce Steps to reproduce the behavior:
- Create a Python raw string (for instance: r"C:\Example\string")
- Notice that the string is not properly colored
Expected behavior Raw strings should be colored just just Formatted string literals ('f-strings') are.
Screenshots & Example Code
Coloring on line 5 should be identical to coloring on line 6.
Desktop (please complete the following information):
- OS: Windows 11
- VSCODE Version: 1.96.3
- Theme version: 3.17.7
Additional context None.
I've just encountered the same problem. And I found that the problem only happened when use the 'r'.
that should be vscode's issue
Wait, isn't this exactly the kind of functionality that this plugin provides? Or are you saying everything is okay on OneDark Pro's end but there is something pertaining to VSCode itself that is not allowing the raw string to be properly colored? Or are you just saying that this issue needs to receive a different label here? If so, we need someone with writing privileges to do it...
Same here. It happens with different actions, like cutting lines, pasting? Just writting anythin, not just strings.