Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.8
-
None
Description
The semantic highlighting system for QML incorrectly distinguishes between qualified property lookups based on scope, when it should only be making these distinctions for unqualified lookups.
In property chains (e.g., foo.bar.baz), only the first part (foo) should receive special highlighting based on its source (ID, local variable, root object, context property), while all subsequent parts (bar, baz) should be highlighted uniformly as "Field" regardless of their source.
The fix should:
Apply special highlighting only to the first part of property chains based on scope analysis
Apply consistent "Field" highlighting to all qualified property accesses
Consider similar treatment for function calls in property chains (e.g., foo.bar().baz)