file watcher on open .linq files - catches renames but not edits?
Options
Not sure if this is a bug or intentional, but I've noticed that filesystem renames of a .linq file that's open in LINQPad seem to get caught fine (LINQPad notices the change and updates the 'my queries' tree and the name of the query window tab), but external edits seem to be ignored?
If it's something that can be addressed in the v5.x code, it'd be nice to have something akin to the VS experience of 'reload / ignore'. A few times a week I end up either merging in changes to a script (from a git pull / merge / rebase / whatever) or making changes to a script in an external editor (usually Notepad++ since there are some things I can do in it that I can't do in the LINQPad/ActiPro editor AFAICT.
Thanks!
If it's something that can be addressed in the v5.x code, it'd be nice to have something akin to the VS experience of 'reload / ignore'. A few times a week I end up either merging in changes to a script (from a git pull / merge / rebase / whatever) or making changes to a script in an external editor (usually Notepad++ since there are some things I can do in it that I can't do in the LINQPad/ActiPro editor AFAICT.
Thanks!
Comments
-
Thanks, @nescafe !
Since that's over 2 years old with not many votes, I guess it's not going to happen.
-
I think it's an essential feature, however since it got so few votes I think it's better Joe focuses on more popular subjects.
-
This is a good suggestion, right now I'm focusing on getting the V5 release out.
-
@JoeAlbahari even though it's admittedly PEBCAK, I keep hitting scenarios where I inadvertently lose changes because I pull changes with git into a file that linqpad has open and nothing reloads or warns me of the changes (like VS, VS Code, Notepad++, etc all seem to do). Since it's been a few years, any chance this could be done, please?
-
It's in LINQPad 6. I'll see whether it's easy to backport.
-
@JoeAlbahari that would be wonderful! If there's not a backport possible, is there any chance linqpad 6 is far enough along that you'd like a beta tester to help?
-
It's getting close