summaryrefslogtreecommitdiff
path: root/tools/odinfmt/tests
Commit message (Collapse)AuthorAgeFilesLines
* Format matrix comp lits that use rangesBrad Lewis2025-10-152-0/+12
|
* Break with no newline for long partial switch statementBrad Lewis2025-09-142-0/+39
|
* Only inline single line switch if line is not too longBrad Lewis2025-09-063-0/+58
|
* Correctly format types with a long value declBrad Lewis2025-08-262-0/+12
|
* Merge pull request #883 from BradLewis/fix/strip-trailing-whitespaceDanielGavin2025-08-242-5/+5
|\ | | | | Remove trailing whitespace when using Allman style braces
| * Remove trailing whitespace when using Allman style bracesBrad Lewis2025-08-152-5/+5
| |
* | Fix issue with odinfmt stripping the semicolon after a switch init with no ↵Brad Lewis2025-08-182-0/+36
| | | | | | | | condition
* | Process the rest of the comment group when encountering an odinfmt enableBrad Lewis2025-08-172-0/+14
|/
* Fix issue formatting when statements with allman style bracesBrad Lewis2025-08-152-0/+18
|
* fix trailing whitespace in matrix formattingStian H. Johannesen2025-06-272-21/+21
|
* Fix Allman brace style test snapshothenbr2025-01-191-3/+6
|
* Fix extra new lines after switch with allman brace stylehenbr2025-01-193-0/+38
|
* Fix tests.DanielGavin2024-08-041-6/+2
|
* Fix issues with space in { on comp literals without types.DanielGavin2024-04-282-1/+17
|
* Fix issues with comments in case clauseDanielGavin2024-04-282-1/+19
|
* Fix issue with anon structs in arrays.DanielGavin2023-11-042-26/+26
|
* Fix issue with formatting where clause not breaking.DanielGavin2023-09-201-6/+6
|
* Fix testsDanielGavin2023-09-012-7/+7
|
* Undo the control of newlines in comp_lit - it broke too many things and ↵DanielGavin2023-08-064-129/+38
| | | | wasn't really compatible with the formatter design.
* Re-introduce forced linebreaks for comp lits that contain fieldsflga2023-07-292-8/+36
|
* Walk back proc argument and array like comp lit changesflga2023-07-066-153/+141
|
* Force composite literals with comments to be multi line againflga2023-07-044-71/+198
|
* Allow local control over line breaking in composite literals and call ↵flga2023-07-038-94/+239
| | | | expressions
* Fix issue with chainings `do` would increase indentation in a blockDanielGavin2023-06-252-0/+16
|
* Add attribute test for odinfmtDanielGavin2023-06-082-1/+15
|
* formatter: fix bug with odinfmt: disable and enableDanielGavin2023-03-142-1/+33
|
* Update snapshot for formatterDanielGavin2023-03-131-3/+1
|
* Fix disabled comment issuesDaniel Gavin2022-11-022-0/+32
|
* adding new tests for odinfmtDaniel Gavin2022-10-242-0/+44
|
* Fix signature print issue, and switch stmt in a switch type stmt.Daniel Gavin2022-10-021-1/+3
|
* fix for empty disabled_blocks and added testnico-bb2022-09-082-1/+13
|
* fix odinfmt bugsDaniel Gavin2022-08-212-1/+30
|
* Fix ternary expression not breaking correctly.Daniel Gavin2022-08-196-0/+51
|
* odinfmt: change return formatting and fix binary expression issues.Daniel Gavin2022-08-014-0/+55
|
* generate new snapshot for demo.odinnico-bb2022-07-311-35/+35
|
* cons refactor and another attempt at comment alignment with block stmtnico-bb2022-07-312-0/+14
|
* Fix long nested or_return call assignment formattingnico-bb2022-07-302-1/+57
|
* Added another test for ternary_when expressionnico-bb2022-07-292-0/+2
|
* Fix ternary when expression + added the test to snapshotnico-bb2022-07-292-0/+8
|
* Fix snapshot error in procedures.odinDaniel Gavin2022-07-271-1/+1
|
* odinfmt: comment fixes and testsDaniel Gavin2022-07-273-2/+60
|
* odinfmt: Improve breaking of proc types with single return resultDaniel Gavin2022-07-213-8/+17
|
* Add better handling of ternary expressionsDaniel Gavin2022-07-202-3/+3
|
* Added many new snapshot tests to odinfmt + fixed call_expression nestingDaniel Gavin2022-07-2010-1/+5195
| | | | in binary expression.
* Fix regression and added it to snapshot.Daniel Gavin2022-07-182-0/+13
|
* Added new suffix type to handle newline comments in odinfmt.Daniel Gavin2022-07-186-11/+29
|
* Fix regression and added to snapshotDaniel Gavin2022-07-172-0/+28
|
* odinfmt fixes + more testsDaniel Gavin2022-07-142-0/+11
|
* odinfmt: add more tests and fix comp_litDaniel Gavin2022-07-146-4/+41
|
* Add new snapshot system for odinfmt testing.Daniel Gavin2022-07-096-0/+1087