Automatically name scripts based on first line comment
Sometimes I'm working on 10-15 scripts at a time, using LINQPad as a true scratch pad for C#. I don't necessarily want to save the scripts, but having a visible name for them - instead of Query N - while they aren't the active tab would be extremely useful.
My idea is to use the first line of the script as this temporary name, as long as the first line is a comment. As an example, see how Sublime Text works.
4
votes
Dave Mulford
shared this idea