tree-sitter-java icon indicating copy to clipboard operation
tree-sitter-java copied to clipboard

Java grammar for tree-sitter

Results 33 tree-sitter-java issues
Sort by recently updated
recently updated
newest added

### 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. ![image](https://user-images.githubusercontent.com/38614982/179397963-06098286-76ae-4024-8706-b10a1201e430.png) This applies even for void functions. ![image](https://user-images.githubusercontent.com/38614982/179397991-ced120ff-4e00-454e-80b3-1d661f42fe8a.png) 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...

Checklist: - [x] All tests pass in CI. - [ ] There are sufficient tests for the new fix/feature. - [ ] Grammar rules have not been renamed unless absolutely...