CYDAS Copilot Chat is a Visual Studio Code extension that leverages the power of OpenAI to provide code explanation, review, and refactor directly within the code editor.
Features
Code Explanation: Highlight code and get detailed explanations to quickly understand its functionality and logic.
Code Review: Evaluate selected code segments to receive optimization suggestions and detect potential issues.
Code Refactoring: Automatically refactor code to improve quality and maintainability.
Installation
Open Visual Studio Code.
Click on the Extensions icon in the sidebar.
Search for CYDAS Copilot Chat and click Install.
Click CYDAS Copilot Chat icon on Activitity Bar.
Click the Authorize button on notification window.
Usage
Explain Code:
Select the code segment you want to explain.
Right-click and choose CYDAS Copilot: Explain this or short cut shift+ctl+8.
Review Code:
Select the code segment you want to review.
Right-click and choose CYDAS Copilot: Explain this or short cut shift+ctl+9.
Refactor Code:
Select the code you want to refactor.
Right-click and choose CYDAS Copilot: Refactor this or short cut shift+ctl+0.
Configuration
CYDAS Copilot Chat allows you to customize language settings to better fit your personal needs.
On your .vscode/setting.json, you can append the following key and value:
{
"cydas-copilot-chat.language": "English"
}
You can use English, Japanese, Vietnamese and Korean, default is Japanese.
This configuration just influences the code explanation, review, and refactor, not the general chat.