Skip to content

VSCode Spring Boot extension causes semantic token loss upon loading #1260

Closed
@Skyxim

Description

@Skyxim

Describe the bug
When using the VSCode Spring Boot extension, the extension causes semantic tokens to be lost after loading, affecting code semantic highlighting and other related features. I tried using the preview version of the Spring Boot extension, which restored most tokens, but class tokens are still missing. Restarting the Java language server restores the tokens.

To Reproduce
1. Install VSCode.
2. Install the RedHat Java extension and ensure semantic tokens are enabled.
3. Install the Spring Boot extension.
4. Completely close VSCode.
5. Reopen VSCode and load a Spring Boot project.
6. Observe that semantic tokens load correctly at first.
7. After the Spring Boot extension loads, semantic tokens are lost.

Sample
Release:
image

image

Pre-Release:
image

Snipaste_2024-06-05_17-29-55
Snipaste_2024-06-05_17-29-50

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions