summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/java-ts-mode-resources
AgeCommit message (Collapse)Author
2025-03-19indent.erts (Code): Don't modify the global stateStefan Monnier
* test/lisp/progmodes/java-ts-mode-resources/indent.erts (Code): Use `setq-local` and correspondingly move the remaining assignment after activating the major mode.
2025-03-17; Fix 'java-ts-mode' tests (Bug#77070)john muhl
* test/lisp/progmodes/java-ts-mode-resources/indent.erts: Set 'indent-tabs-mode' later.
2025-03-16Use c-ts-common baseline rule in java-ts-mode (bug#75154)Yuan Fu
Use it for function parameters. * lisp/progmodes/java-ts-mode.el: (java-ts-mode--standalone-predicate): New function. (java-ts-mode--indent-rules): Comment out rules for function parameters and statements, and add c-ts-common-baseline-indent-rule as fallback. (java-ts-mode): Setup. (java-ts-mode--first-line-on-multi-line-string): Mark BOL as unused. * test/lisp/progmodes/java-ts-mode-resources/indent.erts: New test.
2024-02-17java-ts-mode: Indentation for opening brace on a separate lineDmitry Gutov
* lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules): Support putting the opening brace on a separate line (bug#67556). * test/lisp/progmodes/java-ts-mode-resources/indent.erts: Add a test.
2023-11-21Backport: Add more java indentation testsTheodor Thornhill
* test/lisp/progmodes/java-ts-mode-resources/indent.erts: Use default indent offset, and tweak the indentation examples. (cherry picked from commit dbe7803aa1e8249bd70f67f25f19aedabeb9cc22)
2023-11-21Backport: Add test for java indentation (bug#61115)Theodor Thornhill
* test/lisp/progmodes/java-ts-mode-resources/indent.erts: Add new test case. (cherry picked from commit 229d0772e235f51812ed8020a31f9a8de366c7ba)
2023-11-21Backport: Add some basic tests for java-ts-mode and typescript-ts-modeTheodor Thornhill
* test/lisp/progmodes/java-ts-mode-resources/indent.erts: New file with tests for indentation. * test/lisp/progmodes/java-ts-mode-resources/movement.erts: New file with tests for movement. * test/lisp/progmodes/java-ts-mode-tests.el: New tests. * test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: New file with tests for indentation. * test/lisp/progmodes/typescript-ts-mode-tests.el: New tests. (cherry picked from commit c8dd37b16c574beda900d4ee48ac7b4ab4a2ee56)