Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose ContextAndRuleProviderState, IProjectState, and QueryProjectPropertiesContext to Support JSPS Launch Profiles UI #9621

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

emfisch
Copy link
Contributor

@emfisch emfisch commented Dec 12, 2024

The TS/JS team would like to add a version of the launch profiles UI for JSPS projects that reads/writes fromlaunch.jsonrather than launchsettings.json. By making ContextAndRuleProviderState, IProjectState, and QueryProjectPropertiesContext public, we can reuse several of the QueryDataProviders dotnet has already implemented to populate the launch profiles UI.

For example, the UIPropertyFromRuleDataProducer class is expecting context of the type ContextAndRuleProviderState, and I would like this class to populate UI properties for the JSPS scenario as well.

I have already confirmed that these changes will allow the launch.json UI to work properly:
Screenshot 2024-12-11 152811

Microsoft Reviewers: Open in CodeFlow

@emfisch emfisch requested a review from a team as a code owner December 12, 2024 21:49
@emfisch emfisch force-pushed the dev/emilyfischer/launchJsonUI branch from 800e1b0 to f22999a Compare December 12, 2024 21:57
@drewnoakes drewnoakes added the Feature-Debugging Launching an application via F5, setting debug properties and launch profiles. label Dec 13, 2024
@drewnoakes
Copy link
Member

LGTM. Have asked @tmeschter to take a look in case he has any concerns, as he wrote this originally.

@emfisch
Copy link
Contributor Author

emfisch commented Dec 13, 2024

@dotnet-policy-service agree company="Microsoft"

@drewnoakes drewnoakes merged commit 5f3636c into dotnet:main Dec 13, 2024
5 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 17.12 milestone Dec 13, 2024
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants