Skip to content

Adding AppliesTo attribute to query providers#9631

Merged
drewnoakes merged 1 commit intodotnet:mainfrom
harleend:dev/hadhaliw/QueryPoviderAppliesTo
Jan 16, 2025
Merged

Adding AppliesTo attribute to query providers#9631
drewnoakes merged 1 commit intodotnet:mainfrom
harleend:dev/hadhaliw/QueryPoviderAppliesTo

Conversation

@harleend
Copy link
Contributor

@harleend harleend commented Jan 16, 2025

The project team is working on supporting multiple query providers for different project systems. The JavaScript project team aims to add launch profiles action providers. Currently, the issue is that the .NET provider takes precedence, preventing their provider from being invoked. The AppliesTo attribute will be used to select the appropriate provider based on capability. At present, we are not reading this attribute on the query side, so it will not have any impact.

Microsoft Reviewers: Open in CodeFlow

@harleend harleend marked this pull request as ready for review January 16, 2025 18:50
@harleend harleend requested a review from a team as a code owner January 16, 2025 18:50
@drewnoakes drewnoakes merged commit 5ec0c0e into dotnet:main Jan 16, 2025
5 checks passed
@drewnoakes drewnoakes added Feature-Debugging Launching an application via F5, setting debug properties and launch profiles. Feature-Rules/Properties labels Jan 16, 2025
@dotnet-policy-service dotnet-policy-service bot added this to the 17.12 milestone Jan 16, 2025
drewnoakes pushed a commit that referenced this pull request Feb 3, 2025
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature-Debugging Launching an application via F5, setting debug properties and launch profiles. Feature-Rules/Properties

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments