提交 b3c2ecd6 编写于 作者: M Matt Bierner

Improve viewType documentation

Fixes #99264
上级 4898412c
......@@ -45,7 +45,7 @@ const CustomEditorsContribution: IJSONSchema = {
properties: {
[Fields.viewType]: {
type: 'string',
description: nls.localize('contributes.viewType', 'Unique identifier of the custom editor.'),
markdownDescription: nls.localize('contributes.viewType', 'Identifier for the custom editor. This must be unique across all custom editors, so we recommend including your extension id as part of `viewType`. The `viewType` is used when registering custom editors with `vscode.registerCustomEditorProvider` and in the `onCustomEditor:${id}` [activation event](https://code.visualstudio.com/api/references/activation-events).'),
},
[Fields.displayName]: {
type: 'string',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册