Summary: | [python3] Keywords-only enforcement using `*,` partly breaks syntax highlighting | ||
---|---|---|---|
Product: | [Developer tools] kdev-python | Reporter: | geisserml <geisserml> |
Component: | Language support | Assignee: | Sven Brauch <mail> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | geisserml, jpmbatrina01, walter.von.entferndt |
Priority: | NOR | ||
Version: | 5.6.2 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
With *, syntax
Without `*,` syntax |
Description
geisserml
2021-09-04 19:56:06 UTC
Created attachment 141295 [details]
Without `*,` syntax
At first I was a bit puzzled by this issue because stopping syntax highlighting first gave me the impression that there was a fault in my code. Can confirm with KDevelop built from master and kdevelop-python 5.62 from the KDE Neon repos. The highlighting of arguments, class, etc. are provided by kdevelop's python support plugin and the syntax-highlighting framework only provides basic syntax highlighting in this case (e.g. in Kate, only 1, `cache`, and True will be highlighted differently in the parameter list). Moved to kdev-python Yes, this is a kdevelop-python bug, I can also reproduce it. |