未验证 提交 b6ac3f59 编写于 作者: J Johannes Rieken 提交者: GitHub

Merge pull request #61651 from mjclemente/patch-1

Fix broken links in vscode namespace API
......@@ -1473,7 +1473,7 @@ declare module 'vscode' {
event: Event<T>;
/**
* Notify all subscribers of the [event](EventEmitter#event). Failure
* Notify all subscribers of the [event](#EventEmitter.event). Failure
* of one or more listener will not fail this function call.
*
* @param data The event object.
......@@ -2055,7 +2055,7 @@ declare module 'vscode' {
* A code action represents a change that can be performed in code, e.g. to fix a problem or
* to refactor code.
*
* A CodeAction must set either [`edit`](CodeAction#edit) and/or a [`command`](CodeAction#command). If both are supplied, the `edit` is applied first, then the command is executed.
* A CodeAction must set either [`edit`](#CodeAction.edit) and/or a [`command`](#CodeAction.command). If both are supplied, the `edit` is applied first, then the command is executed.
*/
export class CodeAction {
......@@ -3174,7 +3174,7 @@ declare module 'vscode' {
* given [edit](#CompletionItem.textEdit) is used.
*
* When selecting a completion item in the editor its defined or synthesized text edit will be applied
* to *all* cursors/selections whereas [additionalTextEdits](CompletionItem.additionalTextEdits) will be
* to *all* cursors/selections whereas [additionalTextEdits](#CompletionItem.additionalTextEdits) will be
* applied as provided.
*
* @see [CompletionItemProvider.provideCompletionItems](#CompletionItemProvider.provideCompletionItems)
......@@ -6488,7 +6488,7 @@ declare module 'vscode' {
readonly visible: boolean;
/**
* Event that is fired when [visibility](TreeView.visible) has changed
* Event that is fired when [visibility](#TreeView.visible) has changed
*/
readonly onDidChangeVisibility: Event<TreeViewVisibilityChangeEvent>;
......@@ -7762,7 +7762,7 @@ declare module 'vscode' {
* Register a formatting provider for a document range.
*
* *Note:* A document range provider is also a [document formatter](#DocumentFormattingEditProvider)
* which means there is no need to [register](registerDocumentFormattingEditProvider) a document
* which means there is no need to [register](#languages.registerDocumentFormattingEditProvider) a document
* formatter when also registering a range provider.
*
* Multiple providers can be registered for a language. In that case providers are sorted
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册