The Alibaba Cloud API Toolkit for VSCode makes it easier to access Alibaba Cloud services.
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
Call the API
The feature requires you to configure your AK/SK information as follows:
- Install Alibaba Cloud CLI Tools extentions.
- Install aliyun-cli.
- 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.
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.
Submit bug reports and feature requests on our Github repository
- Need VS Code 1.75.0 or above.
- Added aliyun-cli installation instructions.
- Support API calling.
- Support SDK code sample.
- Support product searching and subscription.
- Support API searching.
- Support API Document View.
See the Apache License 2.0.