When using configurationProvider, what other configs are needed?
See original GitHub issueWhen setting CMake Tools to be configurationProvider
for the C++ extension, does it make all other properties in c_cpp_properties.json
redundant?
Or will c_cpp_properties.json
override the provider? Or the other way around?
Right now I have a c_cpp_properties.json
with configs for Win and Mac with quite a few properties. I’m wondering if I can trim down a bunch of these to make the JSON simpler and reduce risk of duplicate information getting out of date.
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Configuration providers - .NET - Microsoft Learn
Configures the JSON configuration provider to load the appsettings.json and appsettings. Environment .json files with the following options:.
Read more >ASP.NET Core Configuration - Configuration Providers
In this article, we're going to talk about different configuration providers in ASP.NET Core applications.
Read more >Creating a custom ConfigurationProvider in ASP.NET Core to ...
ASP.NET Core ships with a new configuration system. In this post I show how to create a custom configuration provider to load YAML...
Read more >Option patterns with custom configuration provider in .NET
AddJsonFile() method enables to get the configuration from a configuration file. I'll explain the other parameter later. You need to configure the KafkaOptions ......
Read more >Creating a custom ConfigurationProvider for a Entity ...
It lets you aggregate many configuration values from multiple different sources, and then access those in a strongly typed fashion using the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I need to open an issue against cpptools to delay showing that compileCommands prompt. CMake Tools won’t register as a config provider until you successfully configure the project. Sometimes this takes a while.
cpptools prefers the “configurationProvider” over any other setting. The remaining settings are only used if the configurationProvider is unable to give a configuration for the source file you’ve opened in the editor.
Short story: You should be able to remove the majority of the other properties in
c_cpp_properties.json
if you are using “configurationProvider”.