Skip to content

Commit 8d4ec36

Browse files
committed
JSON doc needs to escape icon reference Fixes microsoft#101512
1 parent b086502 commit 8d4ec36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/api/common/menusExtensionPoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ namespace schema {
338338
type: 'string'
339339
},
340340
icon: {
341-
description: localize('vscode.extension.contributes.commandType.icon', '(Optional) Icon which is used to represent the command in the UI. Either a file path, an object with file paths for dark and light themes, or a theme icon references, like `$(zap)`'),
341+
description: localize('vscode.extension.contributes.commandType.icon', '(Optional) Icon which is used to represent the command in the UI. Either a file path, an object with file paths for dark and light themes, or a theme icon references, like `\\$(zap)`'),
342342
anyOf: [{
343343
type: 'string'
344344
},

0 commit comments

Comments
 (0)