ctf0
ctf0

Reputation: 7579

how to make a reference for settings inside extension contributes/configuration in vscode

similar to vscode settings reference enter image description here

am trying to do the same using

"someExt.test": {
    "type": "string",
    "default": 'hello',
    "markdownDescription": "test [Emmet](command:workbench.action.openSettings?@ext:vscode.emmet)"
}

but it doesn't work & i cant find any documentation for it, so any help is appreciated

Upvotes: 0

Views: 156

Answers (1)

rioV8
rioV8

Reputation: 28663

This is the line in the file resources/app/out/nls.metadata.json for this option

"Controls the delay in ms after which a dirty file is saved automatically.
Only applies when `#files.autoSave#` is set to `{0}`."

I don't know if it is documented but

`#files.autoSave#`

looks like the syntax to get a reference to another setting.

Upvotes: 1

Related Questions