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)
97
97
} ) ;
98
98
}
99
99
100
- private static readonly IBackend _backend ;
101
-
102
100
public static void OpenInFleet ( string repo )
103
101
{
104
102
if ( string . IsNullOrEmpty ( FleetExecutableFile ) )
@@ -115,5 +113,7 @@ public static void OpenInFleet(string repo)
115
113
UseShellExecute = false ,
116
114
} ) ;
117
115
}
116
+
117
+ private static readonly IBackend _backend ;
118
118
}
119
119
}
Original file line number Diff line number Diff line change @@ -189,7 +189,15 @@ public void OpenInFileManager(string path, bool select)
189
189
}
190
190
}
191
191
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 )
193
201
{
194
202
var pidl = ILCreateFromPathW ( folderPath ) ;
195
203
@@ -202,13 +210,5 @@ private static void OpenFolderAndSelectFile(string folderPath)
202
210
ILFree ( pidl ) ;
203
211
}
204
212
}
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
- }
213
213
}
214
214
}
You can’t perform that action at this time.
0 commit comments