Roo Code is an intelligent VS Code plugin that assists with project analysis, code generation, refactoring, and other tasks.

1. Installing the Roo Code Plugin

1. Open the Extensions Marketplace

  1. Launch VS Code
  2. Click the Extensions Marketplace icon on the left sidebar
  3. Enter Roo Code in the search bar
  4. Locate the Roo Code plugin
Description

2. Install the Plugin

  1. Click the Install button to begin installation
  2. After installation, select “Trust the Author”
Description

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/paas/v4
  • API Key: Input your Z.AI API Key
  • Model Name: Enter glm-4.5 and select Use Custom
Description

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 Using

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

Demo