File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,6 @@ public static void OpenInVSCode(string repo)
9797 } ) ;
9898 }
9999
100- private static readonly IBackend _backend ;
101-
102100 public static void OpenInFleet ( string repo )
103101 {
104102 if ( string . IsNullOrEmpty ( FleetExecutableFile ) )
@@ -115,5 +113,7 @@ public static void OpenInFleet(string repo)
115113 UseShellExecute = false ,
116114 } ) ;
117115 }
116+
117+ private static readonly IBackend _backend ;
118118 }
119119}
Original file line number Diff line number Diff line change @@ -189,7 +189,15 @@ public void OpenInFileManager(string path, bool select)
189189 }
190190 }
191191
192- private static void OpenFolderAndSelectFile ( string folderPath )
192+ public void OpenWithDefaultEditor ( string file )
193+ {
194+ var info = new FileInfo ( file ) ;
195+ var start = new ProcessStartInfo ( "cmd" , $ "/c start { info . FullName } ") ;
196+ start . CreateNoWindow = true ;
197+ Process . Start ( start ) ;
198+ }
199+
200+ private void OpenFolderAndSelectFile ( string folderPath )
193201 {
194202 var pidl = ILCreateFromPathW ( folderPath ) ;
195203
@@ -202,13 +210,5 @@ private static void OpenFolderAndSelectFile(string folderPath)
202210 ILFree ( pidl ) ;
203211 }
204212 }
205-
206- public void OpenWithDefaultEditor ( string file )
207- {
208- var info = new FileInfo ( file ) ;
209- var start = new ProcessStartInfo ( "cmd" , $ "/c start { info . FullName } ") ;
210- start . CreateNoWindow = true ;
211- Process . Start ( start ) ;
212- }
213213 }
214214}
You can’t perform that action at this time.
0 commit comments