waf / CSharpRepl

A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
https://fuqua.io/CSharpRepl/
Mozilla Public License 2.0
2.93k stars 113 forks source link

Add output length limiting capability to new object formatting #230

Closed kindermannhubert closed 1 year ago

kindermannhubert commented 1 year ago

Feature Description

When #223 is done.

  1. CustomObjectFormatters need to handle length limiting on its own (currently it's a thing just for IEnumerableFormatter).
  2. PrettyPrinter.FormatObjectSafe<TResult> - there are created strings (by ToString) on multiple places, they should be also length limited.
  3. Limit the number of items in the resulting Tree (when #224 is done).