Commit Graph

27 Commits

Author SHA1 Message Date
Daniel Gavin
f7b8b3a340 ensure that the comments gets pushed if it's in the beginning before package 2021-04-18 22:06:32 +02:00
Daniel Gavin
2cbb3443d3 ran odinfmt 2021-04-18 21:53:52 +02:00
Daniel Gavin
11bd518f36 fix bugs 2021-04-18 21:52:00 +02:00
Daniel Gavin
a721802337 fixing calls in calls 2021-04-18 21:07:58 +02:00
Daniel Gavin
5a8c7b4f90 support multiline for and if 2021-04-16 02:15:29 +02:00
Daniel Gavin
f17fc05ff2 format call and binary expression 2021-04-16 00:44:16 +02:00
Daniel Gavin
a12db382e0 damn, ran the odinfmt with spaces instead of tabs... 2021-04-15 00:24:00 +02:00
Daniel Gavin
22daa50374 ran the odinfmt - looks good, except for multi line binary operations 2021-04-15 00:19:13 +02:00
Daniel Gavin
a09300fb0e more fixes 2021-04-15 00:11:10 +02:00
Daniel Gavin
bab4e5531a remove print 2021-04-14 21:53:11 +02:00
Daniel Gavin
1de928df78 fixed bug in parser on when 2021-04-14 18:43:04 +02:00
Daniel Gavin
aded272b33 split stmts 2021-04-14 18:04:48 +02:00
Daniel Gavin
b0721f1e0c aligning structs now work 2021-04-14 16:31:31 +02:00
Daniel Gavin
7e90ece84a more switch alignment work 2021-04-14 16:03:36 +02:00
Daniel Gavin
1f563f2810 work on switch alignment 2021-04-14 15:34:50 +02:00
Daniel Gavin
c46317c00b fix os error 2021-04-14 02:20:05 +02:00
Daniel Gavin
cb4b7efd3e only align comments in same indentation blocks 2021-04-14 01:57:42 +02:00
Daniel Gavin
411beaa3bf work on comments 2021-04-14 01:15:46 +02:00
Daniel Gavin
1cb3a31f32 have to sort attributes because they are not ordered by position(maybe bug on parser) 2021-04-14 00:53:34 +02:00
Daniel Gavin
c99afd04ad work 2021-04-14 00:08:09 +02:00
Daniel Gavin
2001384ae6 make sure to print comments at the end of the file 2021-04-13 23:52:23 +02:00
Daniel Gavin
b09e53d7fe now aligning comments 2021-04-13 23:42:58 +02:00
Daniel Gavin
d046c9c072 at the same point as the previous formatter now 2021-04-13 20:18:50 +02:00
Daniel Gavin
2e8da35851 multiline comments work 2021-04-13 15:27:04 +02:00
Daniel Gavin
1d3458cadb single line comments work 2021-04-12 22:35:26 +02:00
Daniel Gavin
9139ca4673 more work on fmt 2021-04-12 17:01:43 +02:00
Daniel Gavin
e0e6bba865 start new prototype 2021-04-11 19:47:33 +02:00