Skip to content

NetPad v0.7.2

Compare
Choose a tag to compare
@tareqimbasher tareqimbasher released this 01 Jul 22:15
· 126 commits to main since this release

If you like NetPad, please star the repo 🌟!

What's New πŸš€

Syntax Tree Visualizer

A new "Code" pane was added with a Syntax Tree visualizer that updates in real-time as you type.

  • Hovering over a node in the syntax tree will highlight that text range in the editor.
  • Single-click a node to bring that code into view (if it isn't already).
  • Double-click a node to select that text range in the editor. Focus switches to the editor when you do this so you can start typing right away.
  • The right side shows the code each node in the tree represents, making it easier to quickly locate the code want you want to inspect.
  • You can show the line/char span numbers each node represents by clicking the corresponding button in the Code pane toolbar.

image

Others

  • Icon buttons styling improved and unified
  • You can hide any pane with Shift + ESC keybinding
  • Output pane
    • Empty collections are rendered a bit differently and other minor formatting changes to output
    • Moved next/previous output nav controls to the toolbar in Results
    • Added next/previous nav controls and clear button to the SQL toolbar
    • You can switch to the Results and SQL tabs by using ALT + 1 and ALT + 2 respectively

Maintenance

The majority of the effort spent since the last release has been on restructuring the solution, simplifying and making it easier to maintain, review and contribute to. Another round is coming up soon, mainly on the client side, but the majority of it is completed. If you're interested in more info see #211.

I plan to add documentation soon that explains the high level concepts and structure of the solution to help facilitate review and contribution.

If anyone has any thoughts or discussion points I'd love to hear them. Feel free to open a discussion/issue on the topic or hit me up on Discord.

Fixes πŸ›

  • Fixed a bug causing intellisense and other OmniSharp features to stop working if .NET 7 is not installed (#208, #214, #220)
  • Fixed incorrect max-length input validation when changing max collection length to serialize in settings (#209)
  • Fixed an error during HTML serialization (#217)
  • Fixed bugs in Console.ReadLine() functionality including #218
  • Fixed script not running when run path contains spaces (#221)

Support ❀️

If you're enjoying NetPad, please consider sponsoring it, it really helps! Also don't forget to start the repo if you haven't already, thank you!

A special thanks to my current sponsors. Your support is greatly appreciated and helps keep this project growing!

pelsedyrΒ Β smashedtoatomsΒ Β ChristopherHawsΒ Β jdonohooΒ Β lpreinerΒ Β mattjcowanΒ Β 

Full Changelog: v0.7.1...v0.7.2