Detect file changes
I love LINQPad, but I really, really wish it noticed if the files changed on disk while they were being edited. Currently the application will overwrite a changed file on disk when it has been modified by another editor. There are two scenarios where this happens, one is when the file is under version control and I have reverted it to an older version or otherwise changed it using some version control function and the other is when I have used some other editor to edit the file (such as SlickEdit or Visual Studio, both of which detect if LINQPad has changed the file).
This is supported in the latest LINQPad 5 beta (as of June 2019) and in LINQPad 6.
Scott Gartner commented
This would be very nice. In relation to editing the file outside of LinqPad, the XML at the top occasionally confuses the parser in the external editor. To fix this I would suggest wrapping the XML in a valid comment (/* <xml/> */). This way you could parse out the comment and then parse the XML, and the external editor could be set to recognize .linq as a .cs (or whatever languages you support).
Joris Talma commented
(General user statement) As LINQPad already supports this in the static data context driver, implementing this in the user query domain shouldn't be to difficult? :)
Chapter "Overriding GetLastSchemaUpdate (dynamic drivers)" (page 15):
"With static drivers, no action is required: LINQPad installs a file watcher on the target assembly. When that assembly changes, it automatically refreshes the Schema Explorer."