Skip to content

NetPad v0.4.0

Choose a tag to compare

@tareqimbasher tareqimbasher released this 13 Jul 01:20
· 776 commits to main since this release

If you like NetPad, please star the repo 🌟!

Preview 4

This release mainly focused on adding .NET 7 support and the ability to write SQL scripts!

What New πŸš€

  • .NET 7 support: You can now choose the .NET SDK your script will use between .NET 6 or .NET 7.
    • ℹ️ You need at least one of those 2 .NET SDK installed (You can only switch to a .NET SDK if you have it installed).
    • Removed the dependency on specifically having .NET 6 SDK installed. So you don't need the .NET 6 SDK installed anymore if you don't want to run your scripts using .NET 6.
    • Refactored this piece so that future .NET versions can be added much more quickly.
  • SQL Support: You can now switch your script to use SQL language instead of C# and query your database using SQL with multiple result set support!
  • Editor enhancements:
    • Bracket pair colorization.
    • CodeActions (the πŸ’‘) suggestions are now categorized and got some styling fixes.
    • New OmniSharp integration: Document Highlighting.
    • Double-clicking an inlay hint will insert the hint into the editor.
    • Inlay hints styling changes to make them more easy on the eyes.
    • Documentation popups are now syntax highlighted.
  • Snippet completion suggestions are now sorted higher than their keyword counterparts. For example, suggestions for the word for will prioritize the snippet for, effectively inserting a for loop, instead of the suggestion of the keyword for which just inserts the keyword itself.
  • Data Connection window had a small redesign and now shows the ConnectionString that will be used for the connection.
  • Spashscreen Logo is smaller. The older, larger one, was a bit too much πŸ˜„

Fixes πŸ›

  • Fixed an issue with Scripts sidebar not reflecting correct script file structure after moving scripts to sub-folder.
  • Fixed an issue where selecting certain snippets from completion suggestions would insert erroneous characters along with the snippet text. Example: override ToString().

Full Changelog: v0.3.1...v0.4.0