From 8f5ebc69e09f031efc78ec78be07591af8ca4071 Mon Sep 17 00:00:00 2001 From: yangyang825 <84166052+yangyang825@users.noreply.github.com> Date: Fri, 8 Apr 2022 10:42:58 +0800 Subject: [PATCH] feat: an instance of COMMENT CONTROLLER (#35) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * translate: window.onDidChangeActiveTextEditor * feat: an instance of COMMENT CONTROLLER * feat: 得=>的 * chore: review it Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: 洛竹 --- .all-contributorsrc | 3 +++ README.md | 13 +++++++++++++ vscode.d.ts | 21 ++++++++++++--------- 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 9909005e..d2441314 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -77,6 +77,7 @@ "contributions": [ "translation" ] +<<<<<<< HEAD }, { "login": "sherry-zxy", @@ -116,6 +117,8 @@ "contributions": [ "translation" ] +======= +>>>>>>> 81b4e085 (docs: add Tecvan-fe as a contributor for translation (#15)) } ], "contributorsPerLine": 6, diff --git a/README.md b/README.md index 9ec50169..fd053f90 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ +<<<<<<< HEAD [![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg?style=flat-square)](#contributors-) +======= +[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-) +>>>>>>> 81b4e085 (docs: add Tecvan-fe as a contributor for translation (#15)) VS Code API 是一系列你可以在 Visual Studio Code 扩展中调用的 JavaScript API。这个站点列出了扩展开发者可以使用的所有 VS Code API。原网站没有中文翻译且不方便阅读,所以有了该网站。 @@ -31,6 +35,7 @@ API 列表使用 Typedoc 从 [vscode.d.ts](https://github.com/youngjuning/vscode +<<<<<<< HEAD @@ -43,6 +48,14 @@ API 列表使用 Typedoc 从 [vscode.d.ts](https://github.com/youngjuning/vscode +======= + + + + + + +>>>>>>> 81b4e085 (docs: add Tecvan-fe as a contributor for translation (#15))

youngjuning

💻 🚧 🌍 📖 🤔

gepingli

🌍 🤔 💻

Konpaku Youmu

🌍 🤔 🚧 💻

Liuqh233

🌍 💻

竹雨

🌍 💻

yangyang825

🌍

youngjuning

💻 🚧 🌍 📖 🤔

gepingli

🌍 🤔

Konpaku Youmu

🌍 🤔

Lance Chen

🌍 🚧 💻

潘小安

🌍 🚧 🤔 💻

tecvan

🌍
diff --git a/vscode.d.ts b/vscode.d.ts index 9e997771..7e9a6395 100644 --- a/vscode.d.ts +++ b/vscode.d.ts @@ -13594,15 +13594,18 @@ declare module vscode { * @maintainer {@link https://github.com/yangyang825 @yangyang825} */ namespace comments { - /** - * Creates a new {@link CommentController comment controller} instance. - * - * @param id An `id` for the comment controller. - * @param label A human-readable string for the comment controller. - * @return An instance of {@link CommentController comment controller}. - */ - export function createCommentController(id: string, label: string): CommentController; - } + /** + * 创建一个新的注释控制器 {@link CommentController comment controller}。 + * + * @param id 注释控制器的 id。 + * @param label 注释控制器的可读性标签。 + * @return 注释控制器 {@link CommentController comment controller} 的实例。 + */ + export function createCommentController( + id: string, + label: string + ): CommentController; + } //#endregion