b7fa32881d
Implement dropdown menu for choosing a default terminal application from inside the Windows Terminal Settings UI ## PR Checklist * [x] Closes #9463 * [x] I work here. * [x] Manual tests passed * [x] https://github.com/MicrosoftDocs/terminal/issues/314 (and cross reference #9462) ## Detailed Description of the Pull Request / Additional comments - Adds dropdown menu and a template card for displaying the available default applications (using the same lookup code as the console property sheet `console.dll`) - Adds model to TSM for adapting the data for display and binding on XAML - Lookup occurs on every page reload. Persistence only happens on Save Changes. - Manifest changed for Terminal to add capability to opt-out of registry redirection so we can edit this setting ## Validation Steps Performed - [x] Flipped the menu and pressed Save Changes and launched cmd from run box... it moved between the two. - [x] Flipped system theme from light to dark and ensured secondary color looked good - [x] Flipped the status with a different mechanism (conhost propsheet) and then reopened settings page and confirmed it loaded the updated status
98 lines
3.7 KiB
XML
98 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup>
|
|
<Natvis Include="$(SolutionDir)tools\ConsoleTypes.natvis" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PRIResource Include="Resources\en-US\Resources.resw" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="pch.cpp" />
|
|
<ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
|
|
<ClCompile Include="AzureCloudShellGenerator.cpp">
|
|
<Filter>profileGeneration</Filter>
|
|
</ClCompile>
|
|
<ClCompile Include="PowershellCoreProfileGenerator.cpp">
|
|
<Filter>profileGeneration</Filter>
|
|
</ClCompile>
|
|
<ClCompile Include="WslDistroGenerator.cpp">
|
|
<Filter>profileGeneration</Filter>
|
|
</ClCompile>
|
|
<ClCompile Include="KeyMappingSerialization.cpp" />
|
|
<ClCompile Include="CascadiaSettings.cpp" />
|
|
<ClCompile Include="CascadiaSettingsSerialization.cpp" />
|
|
<ClCompile Include="GlobalAppSettings.cpp" />
|
|
<ClCompile Include="KeyChordSerialization.cpp" />
|
|
<ClCompile Include="Profile.cpp" />
|
|
<ClCompile Include="ColorScheme.cpp" />
|
|
<ClCompile Include="DefaultProfileUtils.cpp">
|
|
<Filter>profileGeneration</Filter>
|
|
</ClCompile>
|
|
<ClCompile Include="$(OpenConsoleDir)\dep\jsoncpp\jsoncpp.cpp">
|
|
<Filter>json</Filter>
|
|
</ClCompile>
|
|
<ClCompile Include="init.cpp" />
|
|
<ClCompile Include="IconPathConverter.cpp" />
|
|
<ClCompile Include="DefaultTerminal.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="pch.h" />
|
|
<ClInclude Include="AzureCloudShellGenerator.h">
|
|
<Filter>profileGeneration</Filter>
|
|
</ClInclude>
|
|
<ClInclude Include="IDynamicProfileGenerator.h">
|
|
<Filter>profileGeneration</Filter>
|
|
</ClInclude>
|
|
<ClInclude Include="PowershellCoreProfileGenerator.h">
|
|
<Filter>profileGeneration</Filter>
|
|
</ClInclude>
|
|
<ClInclude Include="WslDistroGenerator.h">
|
|
<Filter>profileGeneration</Filter>
|
|
</ClInclude>
|
|
<ClInclude Include="CascadiaSettings.h" />
|
|
<ClInclude Include="GlobalAppSettings.h" />
|
|
<ClInclude Include="TerminalSettingsSerializationHelpers.h" />
|
|
<ClInclude Include="KeyChordSerialization.h" />
|
|
<ClInclude Include="Profile.h" />
|
|
<ClInclude Include="SettingsTypes.h" />
|
|
<ClInclude Include="TerminalWarnings.h" />
|
|
<ClInclude Include="ColorScheme.h" />
|
|
<ClInclude Include="DefaultProfileUtils.h">
|
|
<Filter>profileGeneration</Filter>
|
|
</ClInclude>
|
|
<ClInclude Include="JsonUtils.h">
|
|
<Filter>json</Filter>
|
|
</ClInclude>
|
|
<ClInclude Include="IInheritable.h" />
|
|
<ClInclude Include="IconPathConverter.h" />
|
|
<ClInclude Include="DefaultTerminal.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Midl Include="ActionArgs.idl" />
|
|
<Midl Include="ColorScheme.idl" />
|
|
<Midl Include="Command.idl" />
|
|
<Midl Include="GlobalAppSettings.idl" />
|
|
<Midl Include="KeyMapping.idl" />
|
|
<Midl Include="Profile.idl" />
|
|
<Midl Include="TerminalWarnings.idl" />
|
|
<Midl Include="CascadiaSettings.idl" />
|
|
<Midl Include="KeyChordSerialization.idl" />
|
|
<Midl Include="EnumMappings.idl" />
|
|
<Midl Include="IconPathConverter.idl" />
|
|
<Midl Include="TerminalSettings.idl" />
|
|
<Midl Include="AppearanceConfig.idl" />
|
|
<Midl Include="IAppearanceConfig.idl" />
|
|
<Midl Include="DefaultTerminal.idl" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Filter Include="profileGeneration">
|
|
<UniqueIdentifier>{c81be61b-0d58-4277-8fd1-fcc888c3da9c}</UniqueIdentifier>
|
|
</Filter>
|
|
<Filter Include="json">
|
|
<UniqueIdentifier>{81a6314f-aa5b-4533-a499-13bc3a5c4af0}</UniqueIdentifier>
|
|
</Filter>
|
|
</ItemGroup>
|
|
</Project> |