Is there any way using which we can force Visual Studio Code Marketplace extension to use our own configuration file instead of their own default .config file upon installation? I really want to use my own configuration file for a particular something.
Asked
Active
Viewed 74 times
0

Aisha Nasir
- 13
- 5
-
which `.config` file – rioV8 Jun 02 '22 at 09:24
-
Every extension has their own .config file which contains all the configuration. I simply want the xtension to use my .config file intead of their own – Aisha Nasir Jun 02 '22 at 09:38
-
do you mean `package.json`, where is this `.config` file – rioV8 Jun 02 '22 at 13:21
-
.config file is completely seperate from the package.json file – Aisha Nasir Jun 02 '22 at 14:14
-
It is a configuration file for any extension – Aisha Nasir Jun 02 '22 at 14:15
-
If you install any extension in visual studio code, then you will see "repository" option to the right. Click on that and you will be redirected to all the files that the extension is composed of. Among those files there is one file called .config file which basically defines the default configurations for that particular extension – Aisha Nasir Jun 02 '22 at 14:16
-
the `Repository` link on the Marketplace page directs you to the (mostly) Github page of the extension, in none of the extensions I develop there is `.config` file, show a link of such a repo – rioV8 Jun 02 '22 at 14:49
-
https://github.com/xaverh/vscode-clang-format-provider In this repository, you can find .clang-format file which basically contains all the configurations – Aisha Nasir Jun 06 '22 at 11:16
-
maybe it is my eyes but `.clang-format` and `.config` look different in name, not all extensions have a `.clang-format` file. The readme of the extension tells you how to configure clang-format in possibly the first paragraph – rioV8 Jun 06 '22 at 12:12
-
a quick look at the source of the ext, the file `.clang-format` is not used anywhere – rioV8 Jun 06 '22 at 12:19
-
If you open .clang-format file, you can see some configurations that has been set already and are required to be used – Aisha Nasir Jun 06 '22 at 12:37
-
where in the extension is this file used, configuration is described on the clang-format website, maybe you can copy paste the `.clang-format` file to your workspace as a starter – rioV8 Jun 06 '22 at 13:03