Thank you for your interest in contributing! This guide will walk you through the process of setting up the project locally so you can start contributing right away.
Before you begin, ensure you have the following installed:
Follow these steps to set up the project:
Start by cloning the alpha
branch of the refact-chat-js
repository:
git clone -b alpha https://github.com/your-username/refact-chat-js.git
cd refact-chat-js
Once inside the refact-chat-js
project folder, install the dependencies and build the project:
npm ci # Clean install of dependencies
npm run build # Build the project
npm link # Create a global symlink to the project
Next, in a new directory, clone the dev
branch of the refact-vscode
repository:
git clone -b dev https://github.com/your-username/refact-vscode.git
cd refact-vscode
Link the refact-chat-js
project to the refact-vscode
project by running:
npm link refact-chat-js
Now, compile the refact-vscode
project:
npm run compile
Open your IDE (e.g., Visual Studio Code) and load the refact-vscode
project. Rebuild the project to apply the changes.
To enable the latest chat features, go to your settings and change the following option:
- refactai.xDebug: Set the value from
null
to1
.
Once you've completed the setup, you can now test the chat functionality to ensure the latest features are working properly.