Keep #load statements when duplicate query by selection
When selected some code and duplicate query by selection (Ctrl+Shift+C), all #load-ed statements will loss.
In this duplicate query by selection scenario(which I used pretty often), I believe we should also duplicate all the #load-ed statements.
Example:
I selected the using var http = CreateAuthedRelativityHttpClient()
line, the CreateAuthedRelativityHttpClient()
method is loaded from _relativity-common.linq
, after I click Ctrl+Shift+C(duplicate query by selection), the environment is this:
And I want this:
Comments
Yes, and it should also pick up other directives such as #define, #undef and #LINQPad. I'll get this fixed.