What is Cloudbase Toolkit

Tencent CloudBase Toolkit is a Visual Studio Code (VS Code) plug-in for cloud development. The plug-in allows you to better develop your cloud development projects and debug your code locally and easily deploy your projects to the cloud.

Cloudbase Toolkit integrates project creation, function upload, function update, and function local debugging into VSCode’s local debugging environment. Developers can update, upload, and synchronize cloud functions with a simple click.

Compared with the Cloudbase Cli, the Cloudbase Toolkit can perform various functions in VSCode to complete project development and help developers complete their work tasks without affecting the development process or interrupting the development rhythm.

What is cloud development

Cloud Development (TCB) is a cloud native integrated development environment and tool platform provided by Tencent Cloud. It provides developers with highly available, automatic and flexible expansion of back-end cloud services, including computing, storage, hosting and other serverless capabilities, which can be used for cloud integrated development of various end applications (small programs, Public account, Web application, Flutter client, etc.) to help developers build and manage back-end services and cloud resources in a unified manner, avoiding tedious server construction, operation and maintenance during application development. Developers can focus on the implementation of business logic, with lower development threshold and higher efficiency. The product documentation: cloud.tencent.com/product/tcb

Application scenarios

Cloudbase Toolkit can create cloud development projects and deploy cloud functions and static managed files in VSCode, facilitating developers to quickly complete project development and improve work efficiency.

Using the Tencent CloudBase Toolkit plug-in, you can:

  • Quickly create cloud development projects locally
  • Quickly create cloud functions from multiple templates
  • Synchronize the list of cloud functions in the cloud and download the function code locally
  • Deploy cloud functions to the cloud and install cloud dependencies
  • Manage cloud functions, such as deleting cloud functions and viewing details about cloud functions
  • Incrementally update the cloud function file
  • Delete the cloud function file
  • Deploy statically managed files to the cloud

About application plug-in cloud function debug debugging docs.cloudbase.net/vscode/debu can view the document…

How do I use the Cloudbase Toolkit

Cloudbase Toolkit has been released to VSCode’s official plug-in market. You can directly search Tencent Cloudbase Toolkit in VSCode to install it, or visit VSCode’s official market page to install and use it.

Quick start

Step1 installation

  • Run the VS Code IDE and open the plug-in marketplace
  • In the search box, enter: Click the Tencent CloudBase Toolkit plug-in in the list at the bottom of the search box to view details and select install.

Step2 create an environment

If you have already enabled the cloud development service and created the environment, skip this step.

  • Log in to Tencent Cloud official account

Open Tencent cloud official website, register Tencent cloud account, and then log in to the account. If you have an account, you can directly log in to the creation environment.

  • Cloud development

Enter the cloud development home page and grant relevant permissions to open and use it.

  • Create an environment

Click Create environment, enter the environment name, select billing by volume mode, click Open now, and continue to perform the following operations after the service is opened.

Step3 configuration

Click the icon in the left navigation bar to open the installed Tencent CloudBase Toolkit plug-in:

Click login:

The CloudBase Toolkit provides two login methods. You can use the Tencent Cloud-Cloud Development Console or the Tencent Cloud access key to log in.

After a successful login, a “successful login” message will appear in the lower right corner of the VS Code window. At the same time, if the CloudBase ERc configuration file is not detected under the current project, the CloudBase Toolkit prompts you to create a cloud development project or create a configuration file.

Creating a cloud development project pulls the cloud module to create a new project, while creating a configuration file only generates a CloudBaserc configuration file in the current directory.

You can then use the CloudBase Toolkit to create projects:

More documentation

Cloudbase Toolkit official document links: docs.cloudbase.net/vscode/intr…

Cloudbase Toolkit document: local debugging function docs.cloudbase.net/vscode/debu…

VSCode official market link: marketplace.visualstudio.com/items?itemN…

Cloud Development (TCB) is a cloud native integrated development environment and tool platform provided by Tencent Cloud. It provides developers with highly available, automatic and flexible expansion of back-end cloud services, including computing, storage, hosting and other serverless capabilities, which can be used for cloud integrated development of various end applications (small programs, Public account, Web application, Flutter client, etc.) to help developers build and manage back-end services and cloud resources in a unified manner, avoiding tedious server construction, operation and maintenance during application development. Developers can focus on the implementation of business logic, with lower development threshold and higher efficiency.

The product documentation: cloud.tencent.com/product/tcb

Technical documentation: Cloudbase.net

Technical exchange plus Q group: 601134960

Latest news follow wechat official account [Tencent Yunyun Development]

Win more wonderful scan QR code to learn more