Skip to content

Wrong token for class instance? #4266

Description

@piscopancer
Image

BUILDER is marked as type, which is why it is grayed out in me theme. Instead, it should have a token of a variable. This way I will have it in white, which makes sense to me - like here, the token variable.other.definition.java is right for BUILDER

Image

Activity

  1. fbricon commented on Nov 24, 2025

    @fbricon
    Collaborator

    Can you provide a self-contained project reproducing this issue?

  2. piscopancer commented on Nov 24, 2025

    @piscopancer
    Author

    @fbricon yeah I've just started with minecraft modding and here's the repo https://github.com/piscopancer/onigirings-1.21.1

  3. fbricon commented on Dec 12, 2025

    @fbricon
    Collaborator

    @piscopancer it looks right to me, using the latest vscode-java release.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions