Skip to content

Commit

Permalink
Use AppliesTo Attribute Only for LaunchSettings-Specific Query Provid…
Browse files Browse the repository at this point in the history
…ers (#9641)

This is a follow up to these PRs: #9621, #9631

The TypeScript/JavaScript team is working on adding a version of the launch profiles UI that reads/writes from` launch.json `rather than` launchsettings.json`. We'd like reuse dotnet's existing functionality for this, with the exception of actions specific to modifying ` launchsettings.json`. With this PR, all actions specific to ` launchsettings.json` have been moved into a separate class (`LaunchProfileProjectActionProvider`) with relevant filtering `([AppliesTo(ProjectCapability.DotNet)])`. I have removed this filtering from the other action providers so they can be used for JSPS projects as well.
  • Loading branch information
emfisch authored Feb 3, 2025
1 parent 4210ce7 commit 65326e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Microsoft.VisualStudio.ProjectSystem.VS.Query;
[QueryActionProvider(ProjectModelActionNames.SetLaunchProfilePropertyValue, typeof(SetLaunchProfilePropertyValue))]
[QueryDataProviderZone(ProjectModelZones.Cps)]
[Export(typeof(IQueryActionProvider))]
[AppliesTo(ProjectCapability.DotNet)]
[AppliesTo(ProjectCapability.LaunchProfiles)]
internal sealed class LaunchProfileActionProvider : IQueryActionProvider
{
public IQueryActionExecutor CreateQueryActionDataTransformer(ExecutableStep executableStep)
Expand Down

0 comments on commit 65326e9

Please sign in to comment.