|
3 | 3 | [](https://marketplace.visualstudio.com/items?itemName=alibabacloud-openapi.vscode-alicloud-api)
|
4 | 4 | [](https://marketplace.visualstudio.com/items?itemName=alibabacloud-openapi.vscode-alicloud-api)
|
5 | 5 | [](https://marketplace.visualstudio.com/items?itemName=alibabacloud-openapi.vscode-alicloud-api)
|
6 |
| - |
7 | 6 |
|
8 |
| -Alibaba Cloud API Toolkit 是一个轻量化的阿里云 API 工具,支持在 VS Code 中快速查阅阿里云产品的 API. |
| 7 | +The Alibaba Cloud API Toolkit for VSCode makes it easier to access Alibaba Cloud services. |
9 | 8 |
|
10 |
| -简体中文 | [English](./README.en-US.md) |
| 9 | +## Features |
| 10 | +* **Alicloud Product Subscription:** You can search for Alicloud products and subscribe to its APIs you want to use. |
11 | 11 |
|
12 |
| -## 功能 |
| 12 | +* **API Searching:** You can search the Open API of Alibaba Cloud products to which you are subscribed. |
13 | 13 |
|
14 |
| -* **阿里云产品订阅:** 插件提供了一键订阅阿里云产品的功能,你可以通过 `ctrl+cmd+k` 搜索和订阅阿里云产品。 |
| 14 | +* **API Document View:** Clicking on an API can navigate you to a new tab which displays the corresponding API document, |
| 15 | +including descriptions, request parameters, response parameters and error codes. |
15 | 16 |
|
16 |
| -* **API 搜索:** 你可以通过 `ctrl+cmd+l` 搜索并查看已订阅的 API 文档。 |
17 |
| - |
18 |
| -* **API 文档预览:** 点击 API 可以打开一个新的标签页,并显示对应的 API 文档,包括描述、请求参数、响应参数和错误码。在文档中点击调试按钮,可以链接到阿里云 OpenAPI 门户进行在线 API 试用。 |
19 |
| - |
20 |
| -* **API 调试:** 你可以在插件中使用表单的方式调试阿里云 API,并查看结果。 |
| 17 | +* **Call the API:** You can use the form to call the Alibaba Cloud API and see the response. |
21 | 18 |
|
22 |
| -* **SDK 代码示例:** 你可以在插件中获得 SDK 代码示例,并在编辑器中快速打开对应的 SDK 代码。 |
| 19 | +* **SDK Code Sample:** You can get the SDK code samples and quickly open the corresponding SDK code in VS Code. |
23 | 20 |
|
24 |
| -* 更多功能正在开发中,敬请期待... |
| 21 | +* **Code Snippets:** You can use the code snippets to quickly generate the code. |
25 | 22 |
|
26 |
| -## 插件 UI 导览 |
| 23 | +* More features are under development, please stay tuned. |
27 | 24 |
|
28 |
| - |
| 25 | +## Extension UI Guide |
29 | 26 |
|
30 |
| - * 产品搜索 `ctrl+cmd+k` |
| 27 | + |
31 | 28 |
|
| 29 | +### Product Searching `ctrl+cmd+k` |
| 30 | + |
32 | 31 | 
|
33 |
| - |
34 |
| - * API 搜索 `ctrl+cmd+l` |
| 32 | + |
| 33 | +### API Searching `ctrl+cmd+l` |
35 | 34 |
|
36 | 35 | 
|
37 | 36 |
|
38 |
| -* API 调试 |
39 |
| - |
40 |
| -调试功能需要配置你的 AK/SK 信息,配置方法如下: |
41 |
| -1. 安装 [Alibaba Cloud CLI Tools](https://marketplace.visualstudio.com/items?itemName=alibabacloud-openapi.aliyuncli) 插件, |
42 |
| -2. 打开命令行安装 aliyun-cli `brew install aliyun-cli`, |
43 |
| -3. 输入 `aliyun configure` 命令,按照提示进行配置, |
44 |
| -4. 点击 VS Code 状态栏中的阿里云图标,管理你的 profiles, |
45 |
| -5. 更多信息请参考 [Alibaba Cloud CLI Documentation](https://github.com/aliyun/aliyun-cli?tab=readme-ov-file#configure)。 |
| 37 | +### Call the API |
| 38 | + |
| 39 | +The feature requires you to configure your AK/SK information as follows: |
| 40 | +1. Install [Alibaba Cloud CLI Tools](https://marketplace.visualstudio.com/items?itemName=alibabacloud-openapi.aliyuncli) extentions. |
| 41 | +2. Install [aliyun-cli](https://github.com/aliyun/aliyun-cli?tab=readme-ov-file#installation). |
| 42 | +3. You can run the `aliyun configure` command for quick configuration. |
| 43 | +``` |
| 44 | +$ aliyun configure |
| 45 | +Configuring profile 'default' ... |
| 46 | +Aliyun Access Key ID [None]: <Your AccessKey ID> |
| 47 | +Aliyun Access Key Secret [None]: <Your AccessKey Secret> |
| 48 | +Default Region Id [None]: cn-hangzhou |
| 49 | +Default output format [json]: json |
| 50 | +Default Language [zh]: zh |
| 51 | +``` |
| 52 | +4. Click the Alibaba Cloud icon in VS Code status bar to manage your profiles. |
| 53 | + |
| 54 | + |
| 55 | +5. More information please refer to the [Alibaba Cloud CLI Documentation](https://github.com/aliyun/aliyun-cli?tab=readme-ov-file#configure). |
46 | 56 |
|
47 | 57 | 
|
48 | 58 |
|
49 |
| -* SDK 示例 |
50 |
| - |
| 59 | +### SDK Code Sample |
| 60 | +You can generate the SDK Sample by using the debugger form and then open it in your editor. |
| 61 | + |
51 | 62 | 
|
52 | 63 |
|
| 64 | +### Code Snippets |
| 65 | +You can use the code snippets to quickly generate the code. |
| 66 | + |
| 67 | +Type your subscribed API into the editor and select the API snippet you want to generate. |
| 68 | + |
| 69 | + |
| 70 | +Or use the keyboard shortcuts `ctrl+cmd+l` to search the API and select Insert snippets. |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | +## Feedback |
| 75 | +Submit bug reports and feature requests on [our Github repository](https://github.com/aliyun/alibabacloud-api-vscode-toolkit/issues) |
| 76 | +. |
| 77 | + |
53 | 78 | ## Requirements
|
54 | 79 | - Need VS Code 1.75.0 or above.
|
55 | 80 |
|
56 | 81 | ## Release Notes
|
57 | 82 |
|
| 83 | +### 0.0.6 |
| 84 | +- Surpport code snippets. |
| 85 | + |
| 86 | +### 0.0.5 |
| 87 | +- Added aliyun-cli installation instructions. |
| 88 | + |
| 89 | +### 0.0.3 |
| 90 | +- Support API calling. |
| 91 | +- Support SDK code sample. |
| 92 | + |
58 | 93 | ### 0.0.1
|
59 | 94 | Initial release
|
60 | 95 | - Support product searching and subscription.
|
61 | 96 | - Support API searching.
|
62 | 97 | - Support API Document View.
|
63 | 98 |
|
64 |
| -### 0.0.3 |
65 |
| -- Support API calling. |
66 |
| -- Support SDK code sample. |
67 |
| - |
68 | 99 | ## License
|
69 | 100 |
|
70 | 101 | See the [Apache License 2.0](./LICENSE).
|
0 commit comments