vscode-docs icon indicating copy to clipboard operation
vscode-docs copied to clipboard

How to associate a configuration to a workspace

Open flg opened this issue 3 years ago • 2 comments

I created a C/C++ Intellisense configuration (include paths, compiler path, etc.) under a non-default name. But documentation does not explain how to use this configuration.

If I modify the default config ("Linux" in my case) with the same settings, configuration works fine (included files are parsed for example). But with the same settings in a custom configuration I can't get the included files to be found and parsed (for example). I must be missing something obvious but the documentation is not clear as to how to use (apply, associate with a workspace, whatever you want to call it) a custom configuration.

flg avatar Aug 26 '22 07:08 flg

I found a way to do it: in the status bar at the bottom the previous to last item is the C++ Intellisense configuration.

Unless I missed it the documentation does not explain it.

flg avatar Aug 26 '22 07:08 flg

What I wonder is why it is got to be so hideous to find and apply things. Im looking to apply certain clang format settings, there is a setting in the extension and you can right click it "copy setting as json" but why not simply "setup as json/edit as json" which creates a new file that is used by the extension.

apfelnymous avatar Aug 26 '22 13:08 apfelnymous