spring-projects / sts4

The next generation of tooling for Spring Boot, including support for Cloud Foundry manifest files, Concourse CI pipeline definitions, BOSH deployment manifests, and more... - Available for Eclipse, Visual Studio Code, and Theia
https://spring.io/tools
Eclipse Public License 1.0
879 stars 206 forks source link

syntax highlighting for embedded languages (SpEL, JPQL, SQL, HQL, etc.) inside of Java editor (in Eclipse) #1235

Open martinlippert opened 6 months ago

martinlippert commented 6 months ago

Support for syntax highlighting for SpEL, JPQL, SQL, HQL, etc. in Eclipse when working in the standard Java editor. The current implementation uses the semantic token support of the LSP, which works in Eclipse only if used inside the Generic Editor (the standard LSP based editor in Eclipse).

This issue is to support this mechanism for the Java editor in Eclipse as well.

BoykoAlex commented 2 months ago

POC is working which is a great thing of course :-) but we are still miles away from the final solution:

Screenshot 2024-08-14 at 17 46 16

martinlippert commented 2 months ago

In order to implement this, we need a number of changes in JDT UI itself, therefore moving the target milestone to 4.27.0, which will be the release based on Eclipse 2024-12 - which is the earliest target for those changes in JDT UI.