-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Show Dynamic Configuration Providers with No Context (file opened) #196768
Show Dynamic Configuration Providers with No Context (file opened) #196768
Conversation
This PR adds support to show dynamic configurations when a file is not selected. The changes introduces a new method to the Debugger class called hasDynamicConfigurationProviders. It utilizes the existing ConfigurationManager.hasDebugConfigurationProvider but passing Dynamic TiggerKind instead of Initial.
We could show all the dynamic configurations from |
Ok, this makes sense. I'll test it a little and merge it. I've just been confused because you said "show dynamic configuration providers" when this is showing "debuggers that have a dynamic configuration provider registered" but now I am on board. |
Ah, sorry about that confusion. I forgot that the name was the debugger and not the provider itself. |
…urationsNoContext Show Dynamic Configuration Providers with No Context (file opened)
…urationsNoContext Show Dynamic Configuration Providers with No Context (file opened)
This PR adds support to show dynamic configurations when a file is not selected.
The changes introduces a new method to the Debugger class called
hasDynamicConfigurationProviders
. It utilizes the existingConfigurationManager.hasDebugConfigurationProvider
but passingDynamic TiggerKind
instead of Initial.Fixes: #193828
Start Debugging before changes:
![image](https://private-user-images.githubusercontent.com/3953714/278491220-249bd231-4b6b-4192-a944-c49443aa7d63.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODEzNzQsIm5iZiI6MTczODk4MTA3NCwicGF0aCI6Ii8zOTUzNzE0LzI3ODQ5MTIyMC0yNDliZDIzMS00YjZiLTQxOTItYTk0NC1jNDk0NDNhYTdkNjMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMDIxNzU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODNkOTA5MGYwNGY4YmE1NWU0NGUwNjNhOTk3YWYyOGEzMGY2N2VkMzA1YjdjMDQxNmExZjc0MjQxMWU5MDE1YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.RJRvI0ipjiPONm_2M9nZlS63IBhYFt1E-WC3QsTZzKM)
Start Debugging after changes:
![image](https://private-user-images.githubusercontent.com/3953714/278490725-433ef8d3-5bce-46cc-878b-99ff6de2f70b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODEzNzQsIm5iZiI6MTczODk4MTA3NCwicGF0aCI6Ii8zOTUzNzE0LzI3ODQ5MDcyNS00MzNlZjhkMy01YmNlLTQ2Y2MtODc4Yi05OWZmNmRlMmY3MGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMDIxNzU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjMxMzViMWJmYjM3NTM2ZmJjYjUwMmFlZThjMTVhN2MxYWIwOTcwOTIzMWYzMWJkMTdjZDM2ZDJjMTBkNjdjZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.GADXP-OqwFfTDmDPOv8y41tPmg_JfnYc4P6Plshf77g)
Note: For the images above, only C# Extension and C# Dev Kit Extensions are installed.