⚠️ This project is currently under active development (Work In Progress). Features may be incomplete, unstable, or subject to change. Use at your own risk and feel free to contribute!
An IntelliJ IDEA plugin that integrates Perplexity AI directly into your IDE, providing intelligent code assistance and chat functionality.
- AI Chat Panel: Interactive chat interface within the IDE
- Code Context Awareness: Send selected code to Perplexity for analysis
- Insert/Replace Code: Apply AI suggestions directly to your editor
- Persistent API Key: Save your Perplexity API key securely in settings
- Conversation History: Maintain chat context across sessions
- Download the latest release from Releases
- Go to
Settings/Preferences>Plugins>⚙️>Install Plugin from Disk... - Select the downloaded
.zipfile
- Go to
Settings/Preferences>Tools>Perplexity Assistant - Enter your Perplexity API key
- Click
Apply
You can get your API key from Perplexity API Settings.
- Click on the Perplexity tool window on the right side of your IDE
- Or use
View>Tool Windows>Perplexity Assistant
- Select code in your editor
- Right-click and select
Send to Perplexity - Or use the keyboard shortcut (configurable in settings)
- Insert: Adds AI-generated code at cursor position
- Replace: Replaces selected code with AI suggestion
- IntelliJ IDEA 2023.1+ (or compatible JetBrains IDE)
- Java 17+
- Perplexity API key
# Clone the repository
git clone https://github.com/Phosky71/Perplexity-Assistant.git
cd Perplexity-Assistant
# Build the plugin
./gradlew buildPlugin
# The plugin zip will be in build/distributions/Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b main) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin main) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Perplexity AI for their powerful API
- JetBrains for the IntelliJ Platform SDK
If you encounter any issues or have suggestions, please open an issue.
⚠️ Important Notice: This plugin is considered complete for personal use. It is unlikely that I will continue working on this plugin, and therefore it will not be published to the JetBrains Plugin Marketplace. Users can download and install it manually from the Releases section.
The plugin is functional and has been tested to work correctly. All critical bugs have been fixed. However, future development and new features are not planned at this time.
While active development is not planned, the following features could be implemented in the future if the project is resumed:
- Insert in Editor: Ability to insert AI-generated code suggestions directly into the editor at cursor position
- UI/Interface Improvements: Enhanced user interface design and better structure for improved usability
- Customizable Display Options: More settings to allow users to choose what to display in prompts:
- Toggle visibility of sources/references
- Show/hide token count
- Display cost estimation
- Customize response formatting
Contributions from the community are welcome if anyone wants to implement these features or fix issues.