Roo Code is an intelligent VS Code plugin that assists with project analysis, code generation, and refactoring—making the development process smoother and more efficient. Roo Code becomes even more powerful with the GLM Coding Plan — giving you greater efficiency and stability in project management and code optimization.

Step 1: Installing the Roo Code Plugin

1. Open the Extensions Marketplace

a. Launch VS Code b. Click the Extensions Marketplace icon on the left sidebar c. Enter Roo Code in the search bar d. Locate the Roo Code plugin Description

2. Install the Plugin

a. Click the Install button to begin installation b. After installation, select “Trust the Author”

Step 2: Configuring API Settings

Configuration Details

Fill in the following information as specified:
  • API Provider: Select OpenAI Compatible
  • OpenAI Base URL: Enter https://api.z.ai/api/coding/paas/v4
  • API Key: Input your Z.AI API Key
  • Model Name: Enter glm-4.5 and select Use Custom
Description

Step 3: Permission Setup and Usage

1. Configure Permissions

Select the permissions you wish to enable based on your needs:
  • File read/write operations
  • Auto-approve execution
  • Project access permissions
Description

2. Start Coding

Enter your requirements in the input box, and Roo Code will assist with:
  • Summarizing the current project structure
  • Analyzing key modules and functionalities
  • Code refactoring and optimization
  • Generating documentation and comments
  • Issue diagnosis and repair suggestions