Copy src/ConfigurationManager.ts to your vsce project folder.
"contributes": {
"configuration": {
"title": "configuration",
"type": "object",
"properties": {
"config.name": {
"type": "boolean",
"default": false,
"description": "example"
}
}
}
},
Very simple.
let configValue = ConfigurationManager.getConfig<Boolean>(
"your section name",
"config.name",
false
);