Remove "// You can define other methods.." from default template

Is there a way to get rid of this? I've come to hate this line so much. For me it's a nuisance which stands between opening LINQPad and writing code... it bothers me and I hate to have to delete it every single time.

I did a global search through the drive hoping to find some template file LINQPad uses for new scripts - no dice 😞

Comments

  • I think this is hard coded, or at least constructed, but I agree that it would be good to be able to remove the comment.

    It would be great to be able to create a new custom query based on a template (that could also be specified as a command arg).

    1. Open new tab
    2. delete line "// You can define other methods.."
    3. Press F4
    4. in the bottom left corner press "Set as default for new queries"

    P.S. this is how you can define your default template anyway you like

  • Hi, Thanks for the tip. Unfortunately this doesn't work for me. I had always assumed this just set the default references for the default query, but either way I still get the comment in new queries.

  • Yes, this comment kind-of annoys me too :) There will be a smart-tag to remove it permanently in the next build.