Repository navigation
Create Java grammar and add textblock highlight support - #3200
Conversation
|
CC'ing @fbricon @testforstephen for awareness. As per microsoft/vscode#187725 (comment) , this seems to be the way forward for now. |
81e858b to
a697ed3
Compare
There was a problem hiding this comment.
The change looks ready to merge. Thanks for splitting this up for easy tracking of the changes made since the initial copy from the vscode repo.
The grammar is MIT licensed, so there should be no problems. As a note, we also package https://github.com/redhat-developer/vscode-java/blob/master/language-support/properties/JavaProperties.tmLanguage.json , which comes from https://github.com/textmate/java.tmbundle/tree/master#license , which is also MIT licensed.
Based on the comments in the vscode platform PR/issue, there is a chance they may create a separate repo for this grammar. We should monitor for if/when that happens so we can make future changes directly there and avoid duplication. This would also ensure that whether you have vscode-java, or not, you get proper syntax support for Java files. Alternatively, if VSCode is open to pulling the grammar from our repo, that could also work.
As a result of the original Java grammar resource for VSCode being made read-only as of December 2022, we have agreed to own the grammar in vscode-java (see microsoft/vscode#187725).
This is copied from https://github.com/microsoft/vscode/blob/main/extensions/java/syntaxes/java.tmLanguage.json and also includes a change that fixes #2896.