Skip to content

Commit 5f9b712

Browse files
authored
Clarify point 5 for #7511 (#7657)
1 parent b57201e commit 5f9b712

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

api/references/contribution-points.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ If two categories have the same `order` property value, or if two settings withi
304304
If you provide an array of items under the `enum` 7️⃣ property, the settings UI will render a dropdown menu of those items.
305305

306306
You can also provide an `enumDescriptions` property, an array of strings of the same length as the `enum` property. The `enumDescriptions` property provides a description in the settings UI at the bottom of the dropdown menu corresponding to each `enum` item. \
307-
You can also use `markdownEnumDescriptions` instead of `enumDescriptions`, and your descriptions will be parsed as Markdown. \
307+
You can also use `markdownEnumDescriptions` instead of `enumDescriptions`, and your descriptions will be parsed as Markdown. `markdownEnumDescriptions` takes precedence over `enumDescriptions`. \
308308
To customize the dropdown option names in the settings UI, you can use `enumItemLabels`.
309309

310310
Example:
@@ -314,7 +314,6 @@ Example:
314314
"settingsEditorTestExtension.enumSetting": {
315315
"type": "string",
316316
"enum": ["first", "second", "third"],
317-
"enumDescriptions": ["The first enum", "The second enum", "The third enum"],
318317
"markdownEnumDescriptions": ["The *first* enum", "The *second* enum", "The *third* enum"],
319318
"enumItemLabels": ["1st", "2nd", "3rd"],
320319
"default": "first",

0 commit comments

Comments
 (0)