disroop / vs-code-conan

Conan integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=disroop.conan
MIT License
18 stars 10 forks source link

plugin not working with path of the conan-settings.json file outside of workspace #168

Open tanjahummel opened 2 years ago

tanjahummel commented 2 years ago

I want to configure a conan-settings.json file outside of my workspace folder, so that it can be used globally for all workspaces. The plugin does not start if it can not find a conan-settings.json file inside the workspace.

Is it possible to change this behavior?

mymichu commented 2 years ago

Hi @tanjahummel have you tried to set the conan-settings.json file in the settings.json file as explained here:

https://github.com/disroop/vs-code-conan/blob/master/docs/configure.adoc

tanjahummel commented 2 years ago

I found out, it works when setting the disroopConan.settingsFile in the Workspace Settings (settings.json file inside workspace), but it does not work when setting the disroopConan.settingsFile in the User Settings (global settings.json file)

image