Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect TextMate semantic meaning of tokens when using Lombok #3719

Open
Burtsev-Alexey opened this issue Jul 23, 2024 · 0 comments
Open

Comments

@Burtsev-Alexey
Copy link

When I add lombok @SneakyThrows method annotation, tokens color theme changes to incorrect one. This happens because TextMate rules stop working and semantic meaning of tokens recognises incorectly.

Environment
  • Operating System: Windows 11

  • JDK version: 21

  • Visual Studio Code version: 1.91.1

  • Java extension version: v1.32.0

Steps To Reproduce

image
Notice the differnce between the "classType" method parameter in top "generate" function and bottom one.

Current Result

Tokens color is incorrect

Expected Result

Tokens color is correct

Additional Informations

This is my TextMate color theme:

  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": "variable.parameter",
        "settings": {
          "foreground": "#deffcb"
        }
      }
    ]
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant