georgewfraser / java-language-server

Java language server using the Java compiler API
MIT License
642 stars 126 forks source link

Use latest textmate grammar from redhat-developer/vscode-java #289

Open Silic0nS0ldier opened 3 months ago

Silic0nS0ldier commented 3 months ago

Copied from https://github.com/redhat-developer/vscode-java/blob/70ebc3eec19f0e827734b9a20f016e92433c834d/language-support/java/java.tmLanguage.json, which is what the VSCode integrated Java textmate grammar uses.

This grammar covers many more language features (e.g. multi-line text blocks).

Differences I can see (not all shown in the screenshots) are;

There are likely plenty more differences. If a more exhaustive comparison is desired let me know and I'll get the current and proposed extensions running side-by-side (its a bit of work right now as 2 fully functional environments are required, doable but tedious).

Current

image

VSCode Builtin (Red Hat)

image

PR

image