CodeFormatter Release Notes
September 30, 2020
Initial public release
Added CodeFormat function
Added Code Formatting palette
Added “Format Cell” button to Package Editor toolbar
December 8, 2020
The formatter side of what needs to be fixed for 398836: Code Formatting palette turns a b into ab
Remove excess implicit Times tokens where needed.
Also make sure to do sanity checking on formatting cells. This will prevent any bugs in the formatter from propagating errors into user source code.
- Increased the width of the Indentation Menu to fit the Spanish resource `"TabMenuItem" -> "Tabulaciones"` in CodeFormatter.tr
- Fixed a missalignment of the Indentation Menu in the formatter toolbar.
- Reduced the margin at the top of the formatter palette (looks a bit neater now).
Fix the conflation of level == 0 with being top-level
I was testing level == 0 when formatting CompoundExpressions as a way to prevent newlines from being inserted (CompoundExpressions on a single line at top-level need to stay on a single line)
Introduce a new symbol $Toplevel and control that appropriately
Massive refactoring effort for 12.3
Refactor different "passes" into their own files
Canonicalize what the formatter outputs as not caring about newlines and whitespace that it is given (except in some cases with comments where we care)