python f-string syntax not working correctly, highlights "f" as an error. STEPS TO REPRODUCE todo = "text" print(f"show {todo}") Operating System: Manjaro Linux KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Kernel Version: 5.13.19-2-MANJARO (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i3-7130U CPU @ 2.70GHz Memory: 11.6 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 620
Hello, thanks for the bug report! I can't reproduce with kate/syntax-highlighting built from git master. by "highlights "f" as an error", do you mean that it is colored red and has an underline (at least for the default breeze themes) just like the "incorrect" string in the screenshot below? If you can, please attach a screenshot of the highlighting in your system. Also do you use the Language Server Protocol (LSP) plugin? The error highlighting might be coming from there, not from kate
Created attachment 142121 [details] Kate showing proper f-string highlighting and example of error highlight
I'm from latest manjaro, and still get the same error. unfortunately I can't test the git version
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!