aboutsummaryrefslogtreecommitdiffstats
path: root/queries/java/indents.scm
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-40/+0
|
* chore: query formattingPham Huy Hoang2024-01-191-3/+5
|
* refactor: manual pre-cleanupPham Huy Hoang2024-01-191-0/+1
| | | | | Moving comments, adding `format-ignore` to lines that will be better with it
* feat: add indents for annotation defs (#4828)Pham Huy Hoang2023-06-041-9/+14
| | | | - Add indent for `@interface` and `@Annotation(...)` - Add notes for indent queries
* use indent.X syntax for captures and properties of set directivesGeorge Harker2023-03-241-6/+7
| | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment
* fix: Java indent for multiple line arguments (#4449)Daniel Woznicki2023-03-061-1/+0
| | | | | | | | | * fix Java indent for multiple line arguments, fixes #4448, add an additional test for methods with arguments on multiple lines * Satisfy StyLua check --------- Co-authored-by: Daniel Woznicki <danwoz@nettoolkit.com>
* feat(java): distinguish escape sequences, move certain keywords to more ↵Amaan Qureshi2023-02-231-3/+1
| | | | appropriate places
* Fixed incorrect Java indentation for method chainingDaniel Woznicki2022-04-041-1/+2
|
* Made block comment indent @auto so that new lines line up nicely with ↵Daniel Woznicki2022-03-011-1/+4
| | | | | | | | | | | | | | existing comment block Previous indentation: /** * */ New indentation: /** * */
* Added catchall (ERROR) @auto rule for Java to at least attempt something ↵Daniel Woznicki2022-03-011-0/+2
| | | | reasonable when the tree is in a broken state
* Modified Java indent rules to stop ignoring block comments because javadoc ↵Daniel Woznicki2022-03-011-1/+1
| | | | blocks were defaulting to indent 0
* Added fix for Java interfaces not being indented properlyDaniel Woznicki2022-03-011-0/+1
|
* Fixed a bug where indentation was not correct for class/enum bodies that had ↵Daniel Woznicki2022-02-251-2/+0
| | | | an annotation
* Fixed a bug where Java enum body indentation was not correctDaniel Woznicki2022-02-251-0/+2
| | | | Added test for Java enum indentation
* Added fix for incorrect Java indentation after a closing "}" in a method ↵Daniel Woznicki2022-02-251-0/+5
| | | | | | declaration Added tests for Java indentation, including one for issue 2571
* highlights/injections/indents(java): comment -> line_comment,block_commentStephan Seitz2022-01-161-1/+1
| | | | Ref https://github.com/tree-sitter/tree-sitter-java/pull/93
* feat: use @ignore for comments and multiline stringselianiva2021-03-011-0/+2
|
* add formal_parameters elianiva2021-02-211-0/+1
| | | | | as suggested by p00f Co-authored-by: Chinmay Dalal <chinmay.dalal.22012001@gmail.com>
* feat: add java indentelianiva2021-02-211-0/+19