tareqimbasher / NetPad

A cross-platform C# editor and playground.
MIT License
1.12k stars 60 forks source link

Feature Request: Alternatives to the Util class provided by LINQPad #166

Open rkttu opened 5 months ago

rkttu commented 5 months ago

I came across this project while looking at RoslynPad, and I'm so excited to try it out. It's awesome. 👍

I know you're working hard on the basic features, so I don't know how they'll be prioritized, but as someone who uses LINQPad in depth, I'd like to suggest a feature I'd like to see included.

tareqimbasher commented 5 months ago

Great suggestions. While I like all of them, I might not get to some of them for a while.

It would be nice to have an API to look up the directory path (not based on NetPad binaries) of the query file currently running.

Will add it

I was wondering if you could add some, if not 100%, of what LINQPad's Util class provides.

I'll take a look and will see what can be added

It would be nice to have a CLI tool to run NetPad script files from the command line, like the LPRUN command.

The ability to export your script as an executable and run it like any other .NET app is coming soon actually. Its not exactly the same thing, and while that's useful in its own sense, I'll add a single entry point command like LPRUN to the roadmap. Definitely useful as well.

It would be nice to have the ability to import LINQPAD script files and export them for LINQPAD

This has been a fairly popular request recently, I might have to post a poll for users' priorities :smile:

Thank you for the kind words! Really excited to have you as a user 🤗