Skip to content

Overloaded operator usage is not highlighted #60689

@EmrecanKaracayir

Description

@EmrecanKaracayir

Describe the bug
It is crucial to see when using operators like +, -, [] if they are overloaded, but in current implementation there is no visual feedback.

To Reproduce
Steps to reproduce the behavior:

  1. Overload an operator on a class,
  2. Use the overloaded operator in your code,
  3. Observe no visual feedback given

Expected behavior
Like in C++, overloaded operators should be highlighted accordingly.

Screenshots
Image

Please complete the following information:

  • Operating System and version: on macos / Version 15.4.1 (Build 24E263)
  • VS Code version: mac 1.99.3
  • Dart extension version: 3.110.0
  • Dart/Flutter SDK version: 3.7.2 (stable) (Tue Mar 11 04:27:50 2025 -0700) on "macos_arm64"
  • Target device (if the issue relates to Flutter debugging): X

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-serverIssues related to some aspect of the analysis servertype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions