Skip to content

Commit

Permalink
Allow opening Launch Profiles from the Debug page
Browse files Browse the repository at this point in the history
This new link action invokes the `OpenLaunchProfilesEditor` command in CPS which opens the launch profile editor window.
  • Loading branch information
drewnoakes committed Mar 15, 2021
1 parent 6639e40 commit fd27a14
Show file tree
Hide file tree
Showing 15 changed files with 91 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE.md file in the project root for more information.

namespace Microsoft.VisualStudio.ProjectSystem.Properties
{
[ExportInterceptingPropertyValueProvider("OpenLaunchProfilesEditor", ExportInterceptingPropertyValueProviderFile.ProjectFile)]
internal sealed class OpenLaunchProfilesEditorValueProvider : NoOpInterceptingPropertyValueProvider
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,23 @@
HasConfigurationCondition="False" />
</Rule.DataSource>

<StringProperty Name="OpenLaunchProfilesEditor"
DisplayName="Open debug launch profiles UI">
<StringProperty.DataSource>
<DataSource PersistedName="OpenLaunchProfilesEditor"
Persistence="ProjectFileWithInterception"
HasConfigurationCondition="False" />
</StringProperty.DataSource>
<StringProperty.ValueEditors>
<ValueEditor EditorType="LinkAction">
<ValueEditor.Metadata>
<NameValuePair Name="Action" Value="Command" />
<NameValuePair Name="Command" Value="OpenLaunchProfilesEditor" />
</ValueEditor.Metadata>
</ValueEditor>
</StringProperty.ValueEditors>
</StringProperty>

<DynamicEnumProperty Name="ActiveLaunchProfile"
DisplayName="Profile"
EnumProvider="DebugProfileProvider" />
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fd27a14

Please sign in to comment.