mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
feature: external editor supports visual studio code insiders; add environment variable VSCODE_PATH
and FLEET_PATH
to help to find these editors. (#54) (#55)
This commit is contained in:
parent
eea3d2c6c0
commit
0252887442
5 changed files with 79 additions and 12 deletions
|
@ -229,10 +229,9 @@ namespace SourceGit.Views
|
|||
}
|
||||
|
||||
var tool = Models.ExternalMergeTools.Supported[type];
|
||||
var pattern = Path.GetFileName(tool.Exec);
|
||||
var options = new FilePickerOpenOptions()
|
||||
{
|
||||
FileTypeFilter = [new FilePickerFileType(tool.Name) { Patterns = [pattern] }],
|
||||
FileTypeFilter = [new FilePickerFileType(tool.Name) { Patterns = tool.GetPatterns() }],
|
||||
AllowMultiple = false,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue