Skip to content

Error logged for Java editor contributed semantic tokens #2412

@BoykoAlex

Description

@BoykoAlex

The error is logged if there is no highlighting found the semantic token type. This, unfortunately, logs an error for a highlighting that is disabled in the preferences which is wrong:

eclipse.buildId=4.36.0.202506052058
java.version=21.0.7
java.vendor=Eclipse Adoptium
BootLoader constants: OS=macosx, ARCH=aarch64, WS=cocoa, NL=de_DE
Framework arguments:  -product org.springframework.boot.ide.branding.sts4 -keyring /Users/martinlippert/.eclipse_keyring
Command-line arguments:  -os macosx -ws cocoa -arch aarch64 -product org.springframework.boot.ide.branding.sts4 -keyring /Users/martinlippert/.eclipse_keyring

org.eclipse.jdt.ui
Error
Fri Jun 06 09:25:54 CEST 2025
Cannot find semantic highlighting for SemanticToken[ofset=1294, length=7, tokenType=CLASS]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions