Reactor 11 ⇄Terminal ⛶
Pick a file in Files to edit it here.
Terminal
      208 +    {                                                                                                                              
      209 +        if (e.DataView.Contains(StandardDataFormats.StorageItems))                                                                 
      210 +        {                                                                                                                          
      211 +            e.AcceptedOperation = DataPackageOperation.Copy;                                                                       
      212 +            try { e.DragUIOverride.Caption = "Copy here + sync"; e.DragUIOverride.IsCaptionVisible = true; } catch { }             
      213 +        }                                                                                                                          
      214 +    }                                                                                                                              
      215 +                                                                                                                                   
      216 +    private async void Explorer_Drop(object sender, DragEventArgs e)                                                               
      217 +    {                                                                                                                              
      218 +        if (!e.DataView.Contains(StandardDataFormats.StorageItems)) return;                                                        
      219 +        var def = e.GetDeferral();                                                                                                 
      220 +        try                                                                                                                        
      221 +        {                                                                                                                          
      222 +            var items = await e.DataView.GetStorageItemsAsync();                                                                   
      223 +            var paths = items.Select(i => i.Path).Where(p => !string.IsNullOrEmpty(p)).ToList();                                   
      224 +            await ViewModel.DropFilesAsync(paths);                                                                                 
      225 +        }                                                                                                                          
      226 +        catch { }                                                                                                                  
      227 +        finally { def.Complete(); }                                                                                                
      228 +    }                                                                                                                              
      229 +                                                                                                                                   
      230      private async void Item_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
      231      {
      232          if ((e.OriginalSource as FrameworkElement)?.DataContext is not ExplorerItem it) return;

 All v2.6.0 changes in. Commit, push, build:


❯ 
⏵⏵ bypass permissions on (shift+tab to cycle) · ← for agents
FilesEditorTerminal