简体   繁体   中英

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

similar to vscode settings reference在此处输入图片说明

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM