A comprehensive Redis client plugin for IntelliJ IDEA that allows you to connect to Redis servers, execute commands, browse data, and access full Redis command documentation directly from your IDE.
- Redis Connection Management: Create, edit, save and manage multiple Redis server connections
- Command Execution: Run Redis commands with syntax highlighting and command history
- Data Browser: View and edit Redis data with specialized formatters for different data types
- Command Catalog: Browse the complete Redis command set with documentation
- Detailed command syntax
- Parameter descriptions
- Return value documentation
- Time complexity information
- Version information
- Command examples
- Command Categories: Commands organized by data type (Strings, Lists, Hashes, Sets, Sorted Sets, etc.)
- Command Search: Quickly find commands by name or description
- Copy/Export: Copy results to clipboard or export to file
- IntelliJ IDEA 2023.1 or later (Community or Ultimate Edition)
- Java 17 or later
- Clone the repository:
git clone https://github.com/yourusername/redis-intellij-plugin.git
cd redis-intellij-plugin
- Build the plugin using Gradle:
./gradlew clean build
- The built plugin will be available at
build/distributions/redis-intellij-plugin-1.0.0.zip
- Download the plugin zip file from the releases page or use the file built from source
- Open IntelliJ IDEA
- Go to
Settings/Preferences
→Plugins
- Click the gear icon and select
Install Plugin from Disk...
- Navigate to the downloaded zip file and select it
- Restart IntelliJ IDEA when prompted
- Open IntelliJ IDEA
- Go to
Settings/Preferences
→Plugins
- Click
Marketplace
tab - Search for "Redis Client"
- Click
Install
on the Redis Client plugin - Restart IntelliJ IDEA when prompted
- Open the Redis Client tool window (
View
→Tool Windows
→Redis Client
) - In the Connections tab, click the
+
button to add a new connection - Enter your Redis server details:
- Name: A friendly name for your connection
- Host: The hostname or IP address
- Port: The port number (default is 6379)
- Password: Optional authentication password
- Database: Database number (default is 0)
- Click
Test Connection
to verify your settings - Click
OK
to save the connection
- In the Connections tab, select your connection
- Click the
Connect
button - The status indicator will turn green if the connection is successful
- After connecting to a Redis server, use the Command panel to enter Redis commands
- Type a command (e.g.,
SET mykey "Hello World"
) - Press
Ctrl+Enter
or click theExecute
button - View the results in the Results panel
- Open the Commands tab in the left panel
- Browse through command categories or use the search field to find specific commands
- Click on a command to view its documentation
- Double-click to insert the command syntax into the command editor
- In the Connections tab, expand your connection to view databases
- Select a database to see available keys
- Right-click on keys to perform operations like View, Edit, Delete, etc.
Access plugin settings at Settings/Preferences
→ Tools
→ Redis Connections
Options include:
- Default timeout settings
- Result view preferences
- Command history size
- Automatic reconnection options
Each connection can have its own settings:
- SSL/TLS configuration
- Connection timeout
- Authentication options
- Clone the repository
- Import the project into IntelliJ IDEA as a Gradle project
- Make sure you have the "Plugin DevKit" and "Gradle" plugins enabled in IntelliJ IDEA
src/main/java
: Java source filescom.redis.plugin.model
: Data modelscom.redis.plugin.service
: Service interfaces and implementationscom.redis.plugin.ui
: UI componentscom.redis.plugin.config
: Configuration classescom.redis.plugin.actions
: Action classes
src/main/resources
: Resource filesMETA-INF/plugin.xml
: Plugin configurationicons
: Icon resources
To run/debug the plugin in a development instance of IntelliJ IDEA:
./gradlew runIde
./gradlew buildPlugin
We welcome contributions to improve the Redis Client plugin!
- Use the GitHub issue tracker to report bugs
- Include detailed steps to reproduce the issue
- Specify your environment (IntelliJ version, OS, Java version)
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Follow Java coding conventions
- Include proper Javadoc comments
- Write unit tests for new features
- Ensure backward compatibility when possible
This project is licensed under the MIT License - see the LICENSE file for details.
- Jedis - The Redis Java client library used by this plugin
- Redis - The open source, in-memory data store
- IntelliJ Platform SDK - Documentation for IntelliJ plugin development