tree-sitter-java
tree-sitter-java copied to clipboard
Java grammar for tree-sitter
### Problem description `open` used in function declaration is parsed as keyword `open` (which is used in module declaration) An example program: ``` class A{ void open() { } }...
### Problem description I was wondering if the the latest version (0.20.0) could be published to crates.io.
### Problem description Java data type keywords are no longer highlighted correctly.  This applies even for void functions.  As this is the grammar seemingly used by Linguist, this...
### Problem description See https://github.com/returntocorp/semgrep/issues/5480 According to the spec: https://openjdk.java.net/jeps/359 record can be declared at the toplevel ### Expected parse tree output (optional) ### Actual parse tree output (optional)
Fixes #100 ---- Checklist: - [ ] All tests pass in CI. - [ ] There are sufficient tests for the new fix/feature. - [ ] Grammar rules have not...
Checklist: - [x] All tests pass in CI. - [ ] There are sufficient tests for the new fix/feature. - [ ] Grammar rules have not been renamed unless absolutely...
Can you please release a new version? The latest one (v0.19.1) doesn’t work with modern nvim-treesitter. I’m maintainer of the [tree-sitter-java](https://pkgs.alpinelinux.org/packages?name=tree-sitter-java) package in Alpine Linux and I had to update...
### Problem description Hi. I have noticed some inconsistencies between the java grammar in treemacs' port for emacs and nvim for example here are two screens of the same code...
Checklist: - [ ] All tests pass in CI. - [ ] There are sufficient tests for the new fix/feature. - [x] Grammar rules have not been renamed unless absolutely...
0.20
Checklist: - [x] All tests pass in CI. - [ ] There are sufficient tests for the new fix/feature. - [ ] Grammar rules have not been renamed unless absolutely...