The Alibaba Cloud API Toolkit for VSCode makes it easier to access Alibaba Cloud services.
English | 简体中文
Features
Alicloud Product Subscription: You can search for Alicloud products and subscribe to its APIs you want to use.
API Searching: You can search the Open API of Alibaba Cloud products to which you are subscribed.
API Document View: Clicking on an API can navigate you to a new tab which displays the corresponding API document,
including descriptions, request parameters, response parameters and error codes.
Call the API: You can use the form to call the Alibaba Cloud API and see the response.
SDK Code Sample: You can get the SDK code samples and quickly open the corresponding SDK code in VS Code.
Code Snippets: You can use the code snippets to quickly generate the code.
More features are under development, please stay tuned.
Extension UI Guide
Product Searching ctrl+cmd+k
API Searching ctrl+cmd+l
Call the API
The feature requires you to configure your AK/SK information as follows:
- Install Aliyun CLI: Install guide.
- Install Alibaba Cloud CLI Tools extentions.
- You can run the
aliyun configure
command for quick configuration.
$ aliyun configure
Configuring profile 'default' ...
Aliyun Access Key ID [None]: <Your AccessKey ID>
Aliyun Access Key Secret [None]: <Your AccessKey Secret>
Default Region Id [None]: cn-hangzhou
Default output format [json]: json
Default Language [zh]: zh
- Click the Alibaba Cloud icon in VS Code status bar to manage your profiles.
More information please refer to the Alibaba Cloud CLI Documentation.
SDK Code Sample
You can generate the SDK Sample by using the debugger form and then open it in your editor.
Code Snippets
You can use the code snippets to quickly generate the code.
Type your subscribed API into the editor and select the API snippet you want to generate.
Or use the keyboard shortcuts ctrl+cmd+l
to search the API and select Insert snippets.
Document enhancement
When writing SDK code, you can get more code sample references by viewing the OpenAPI description information and additional related sample links through the code documentation.
Feedback
Requirements
- Need VS Code 1.75.0 or above.
License
See the Apache License 2.0.