Repository navigation
NetPad v0.4.1
If you like NetPad, please star the repo π!
Preview 4.1
This release adds a few new features and improvements, and fixes reported issues.
What New π
- New Icon Color Theme ποΈ: A new "Colorful" icon color theme was added. You can switch to it in
Settings > General. - Scroll on Output: Adds a new icon to the Output pane that when enabled will scroll output view as new output is rendered. This is useful when you want to follow the latest output without having to continuously scroll.
- Output Pane Shortcut: You can now use Ctrl + R to toggle open the Output pane. Window reload shortcut moved to Ctrl + Shift + R
- New Main Menu Items:
Edit > Settings: Opens the settings window (shortcut: F12).Edit > Transform to Upper/Lower Case: Transforms selected text to upper or lower case (shortcut: Ctrl + Shift + Y).View > Output: Toggles the Output pane (shortcut: Ctrl + R)View > Explorer: Toggles the Explorer pane (shortcut: Alt + E)View > Namespaces: Toggles the Namespaces pane (shortcut: Alt + N)
- Dump():
- Better support for dumping
FileInfoandDirectoryInfoobjects - Support dumping
Memory<T>andReadOnlyMemory<T>objects - Support dumping
Span<T>andReadOnlySpan<T>values. However this only works if directly dumping a Span. If Span is not the root object being dumped, only basic info about the Span is rendered. - Adds a
MaxDepthto serialization. Defaults to 64, has a min value of 1 and max value of 1000. A new user setting was added and can be configured inSettings > Results. - A new user setting was added to configure
MaxCollectionSerializeLengthwhich defines how many items of a collection should be serialized. This was previously hard-coded to 1000. Defaults to 1000, has a min value of 1 and max value of 10,000.- Warning: Increasing this setting too high might cause performance issues in rendering results.
- Better support for dumping
- Other changes:
- Reduced SPA bundle size by 33%.
- New Output pane icon!
- Removed the word "Output" from the Output pane header
- A more subtle border for Output navigation arrows.
- Add just a bit more height and padding to the Compact style.
Fixes π
- Check that the version of EF Tool is supported (v5 or higher) and not just that it is installed.
- Stops a running script if it is closed while it is still executing.
- Fix output of unhandled exceptions so that it is formatted correctly, shows new lines correctly, and renders Stack Trace lines in order.
- Fix bug that would occur occasionally complaining about a dictionary key already existing when generating script output.
- Fix cyclic reference detection in output for C#
records; was using default (value) comparison, now uses reference comparison. - Fix disabled textbox in
Settings > OmniSharp > Custom executable path. - Fix app crashing when large amounts of error output is generated very quickly (ex: stack overflow in a script).
Contributors β€οΈ
A LOUD shout out to my new contributors! Your support is so very greatly appreciated! Your contributions go directly to adding new features, enhancing existing ones and have a direct impact on advancing this project forward. You are superstars, thank you!
β Hamed Imbasher
β Francesco Bonizzi
If you're enjoying NetPad, please consider sponsoring it with a cup of coffee ($5) a month, every bit helps me maintain this project and deliver more features. Thank you π
Full Changelog: v0.4.0...v0.4.1