- Fork the repository
- Create a feature branch
- Do the work
- Create a pull request
- Maintainers will review it
Encountered an issue? Help us improve Refact.ai by reporting bugs in issue section, make sure you label the issue with correct tag here!
- Clone the branch alpha of the repository
refact-chat-js. - Install dependencies and build the project:
npm install && npm run build - Clone the branch
devof the repositoryrefact-intellij. - Move the generated
distdirectory from therefact-chat-jsrepository to thesrc/main/resources/webviewdirectory of therefact-intellijrepository. - Wait for the files to be indexed.
- Open the IDE and navigate to the Gradle panel, then select Run Configurations with the suffix [runIde].
- In the Environment variables field, insert
REFACT_DEBUG=1. - Start the project by right-clicking on the command
refact-intellij [runIde]. - Inside the Refact.ai settings in the new IDE (PyCharm will open), select the field
Secret API Keyand press the key combinationCtrl + Alt + - (minus), if using MacOS:Command + Option + - (minus). - Scroll down and insert the port value for
xDebug LSP port, which is the port under which LSP is running locally. By default, LSP's port is8001. - After that, you can test the chat functionality with latest features.